Re: Bug in 'more' command
On Mon 14 Oct 2024 at 14:38:36 (-0400), Jim Anderson wrote:
>
> I'm not sure why the Debian developers chose to change the behavior of
> the 'more' command, but the Debian release 12 has the annoying habit,
> upon reaching end of the file, of displaying extra empty lines to fill
> a terminal window, then inserting the text:
>
> (END)
>
> at the end of file. This requires entering an unnecessary and annoying
> carriage return to restore the window to the terminal screen prompt.
>
> One time usage is not bad, but if you use 'more' often, as I do, this
> behavior is a repeating waste of time. I hope the developers will
> revert to the traditional behavior.
I think you now need -e in a terminal:
-e, --exit-on-eof
Exit on End-Of-File, enabled by default if not executed on terminal.
Perhaps alias it?
Cheers,
David.
Reply to: