* Andreas Schmidt <p...@arcor.de> [220414 14:57]: > since updating util-linux from 2.37.3-1+b1 to 2.38-2, I've found that > /bin/more > doesn't work as it used to anymore. > > Previously, when using /bin/mode on a long file, it would display one page at > a > time. Hitting the <SPACE> key would show the next page. When the last page was > displayed, the program would automatically finish, so directly after the last > line of output, there would be the prompt waiting for the next command.
The change in behaviour is, I think, caused by https://github.com/util-linux/util-linux/commit/df6b29d3b I could not find the original upstream discussion about this change. Maybe it has some more info on why this was changed; the commit only says "POSIX compliance". From a quick look at the current spec, I think this is correct. > Would it be possible to get back the original behaviour of /bin/more, please? I have no intention of deviating from upstream. Maybe you can talk to upstream directly. Karel is usually quite approachable, especially if you have code. See https://github.com/util-linux/util-linux/blob/master/README for contact info. Chris