Sunday, May 30, 2021

Re: MANPAGER

On 5/29/21 11:18 PM, Allan Streib wrote:
> 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.
>

Yeah. PAGER="less -X" is what I am using...

regards,
chris

No comments:

Post a Comment