From: Lennart Poettering Date: Thu, 7 Mar 2013 20:42:25 +0000 (+0100) Subject: pager: add -M to $LESS to make the bottom line nicer X-Git-Tag: v198~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b47ef6a085bf06a12116422bb023f48a9eaf3379 pager: add -M to $LESS to make the bottom line nicer --- diff --git a/src/shared/pager.c b/src/shared/pager.c index e9aa022a7..8dddf24f4 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)