summaryrefslogtreecommitdiff
path: root/src/shared/pager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-07 21:42:25 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-07 21:43:28 +0100
commitb47ef6a085bf06a12116422bb023f48a9eaf3379 (patch)
tree8b79820b314bfbf2cc9ae0e994abc38781eefb92 /src/shared/pager.c
parent1f3523baf7418adf3b2738b3917ef956a8414ab7 (diff)
pager: add -M to $LESS to make the bottom line nicer
Diffstat (limited to 'src/shared/pager.c')
-rw-r--r--src/shared/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c
index e9aa022a73..8dddf24f4c 100644
--- 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)
- setenv("LESS", "FRSXK+G", 1);
+ setenv("LESS", "FRSXMK+G", 1);
else
- setenv("LESS", "FRSXK", 1);
+ setenv("LESS", "FRSXMK", 1);
/* Make sure the pager goes away when the parent dies */
if (prctl(PR_SET_PDEATHSIG, SIGTERM) < 0)