]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: fix ARROW_DOWN and PAGE_DOWN behaviour to not skip lines
authorHannes Müller <>
Wed, 17 Mar 2021 19:42:11 +0000 (20:42 +0100)
committerHannes Müller <>
Wed, 17 Mar 2021 19:42:11 +0000 (20:42 +0100)
commite899168a1d5c552008ad2df4cc4d18caf95e57b5
tree2f960d8a4e8d05a0fcd044261b26187fccdc1af0
parent9f303a2bf425bfca4af46474947b06ae05832455
more: fix ARROW_DOWN and PAGE_DOWN behaviour to not skip lines

Currently ARROW_DOWN and PAGE_DOWN is bound to command 's' (skip lines).
But this behaviour is not what the user expects, since at least one line
is always missing! Furthermore at the end of the file there is typically
this skipping lines message, if the remainder does not fit in a
complete screen. This conflicts also with e.g. less and man PAGE_DOWN
behaviour. The 'natural' behaviour is binding to
more_kc_jump_lines_per_screen.
If more is extended to also jump only a specific number of lines forward,
this would be even a better binding for ARROW_DOWN.
text-utils/more.c