Saturday, May 29, 2021

Re: MANPAGER

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

> 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.

Have a look at -X argument to less(1):

-X | --no-init
Disables sending the termcap initialization and
deinitialization strings to the terminal. This is
sometimes desirable if the deinitialization string
does something unnecessary, like clearing the
screen.

Allan

No comments:

Post a Comment