To reproduce, run `./more -c README`. Type <enter> a few times, and see that for each <enter> the screen scrolls one line to show another line of the README. (Except when there is a blank line: then it scrolls two lines and shows two blank lines -- that is probably a separate bug.) Now type . instead, which should repeat the last command, in this case <enter>. See how the screen is cleared and just one line of the README is shown. Keep typing . and see that each time just one line is displayed. Typing . here behaves as if the user had typed 1 <enter>, not just <enter>. Bug was found while using `./page README` after `ln -s more page`. But `./page` does not do the doubling of blank lines. Versions: 2.37.2 and 2.41-rc2. Benno
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature