On Mon, May 12, 2014 at 11:33:32AM +0200, Ingo Schwarze wrote: > Hi Ted, > > Ted Unangst wrote on Sun, May 11, 2014 at 02:51:10PM -0400: > > > since the less update, man doesn't behave the same. > > Not since the less update, but since > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/less/main.c#rev1.14 > > > When I read a short man page, like vether, on a tall terminal, it used > > to just print the man page and return me to the shell. Now it hangs > > around in less making me press space to exit. > > You are not talking about less(1), but about more(1); less(1) would > require pressing 'q' to exit. > > The change in behaviour is not a regression, but required by POSIX. > > You can get back the POSIX-violating behaviour you seem to prefer by > setting: export PAGER='more -F'. > > Yours, > Ingo >
or we could consider using "/usr/bin/more -es" (instead of just -s) as the default pager for man pages. that would not violate posix and would restore original behaviour. jmc