On 15/10/2024 11:06, Todd Zullinger wrote:
For additional (and _possibly_ interesting) context, this
isn't a Debian-specific change. It's part of the upstream
util-linux-2.38 release¹. It was submitted to the
util-linux mailing list in 2021² and referenced the POSIX
specification as the rationale³.
And default behavior restored in a later release
<https://lore.kernel.org/util-linux/20230517112242.3rubpxvxhzsc4...@ws.net.home/>
Karel Zak <k...@redhat.com> to <mailto:util-li...@vger.kernel.org>…
[ANNOUNCE] util-linux v2.39. Wed, 17 May 2023 13:22:42 +0200
more:
- restore exit-on-eof if POSIXLY_CORRECT is not set [Karel Zak]
<https://github.com/util-linux/util-linux/commit/28b391ce7e>
In version 2.38, exit-on-eof has been disabled by default. This change
is annoying for users and forces many users to use 'alias more="more
-e"'. It seems better to force POSIX lovers to use POSIXLY_CORRECT
env. variable and stay backwardly compatible by default.
<https://bugzilla.redhat.com/show_bug.cgi?id=2088493>
"more command prints blanks after end of file"
<https://unix.stackexchange.com/questions/730237/new-more-command-form-feeds-before-every-file-how-to-suppress>
'New "more" command form feeds before every file: how to suppress? -
Unix & Linux Stack Exchange'
I noticed the issue in LXC containers were less is not installed by
default. It is annoying when a few lines from systemctl or a similar
command appears at the top of the terminal window with a lot of space
below. I believed, it is a new systemd "feature".