Re: bug in `more -c` when using . to repeat <enter>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 16, 2025 at 04:45:42PM GMT, Benno Schulenberg wrote:
> 
> 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.

 Fixed, thanks for your report!

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux