chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strv: fix STRV_FOREACH_PAIR macro definition
[elogind.git]
/
src
/
shared
/
pager.c
diff --git
a/src/shared/pager.c
b/src/shared/pager.c
index e9aa022a73fe3718f5ebf53935a5a80bf1d88a42..8dddf24f4c7816ba7e739016563f4c92b282cca2 100644
(file)
--- a/
src/shared/pager.c
+++ b/
src/shared/pager.c
@@
-86,9
+86,9
@@
int pager_open(bool jump_to_end) {
close_pipe(fd);
if (jump_to_end)
close_pipe(fd);
if (jump_to_end)
- setenv("LESS", "FRSXK+G", 1);
+ setenv("LESS", "FRSX
M
K+G", 1);
else
else
- setenv("LESS", "FRSXK", 1);
+ setenv("LESS", "FRSX
M
K", 1);
/* Make sure the pager goes away when the parent dies */
if (prctl(PR_SET_PDEATHSIG, SIGTERM) < 0)
/* Make sure the pager goes away when the parent dies */
if (prctl(PR_SET_PDEATHSIG, SIGTERM) < 0)