Saturday, May 29, 2021

Re: MANPAGER

Heinrich Rebehn <Heinrich.Rebehn@rebehn.net> writes:

> Hi all,
>
> I noticed that OpenBSD 6.8 switched to using less(1) for the manager. While this seems to offer many new useful options, I really dislike the clrscreen upon exit.
> I browsed through the less(1) manage to find an option to disable this behavior, but to no avail.
> Can anyone tell me how to restore the old behavior without reverting to using more(1)?
> I am really used to still seeing the output of the man command when issuing the command that i consulted man for.
>
> Many thanks in advance,
>
> Heinrich

never used more, but the manpage of less mentions a LESS_IS_MORE env
variable to make less a bit more like, hum, more.

LESS_IS_MORE=1 less ...

doesn't clrscreen at exit.

HTH

No comments:

Post a Comment