> On 29. May 2021, at 23:08, Leon Fischer <lfischer@airmail.cc> wrote:
>
>> From: Heinrich Rebehn <Heinrich.Rebehn@rebehn.net>
>> Date: Sat, 29 May 2021 21:37:40 +0200
>>
>> 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
>>
>
> Use the -X option. Add `export MANPAGER="less -X"` to ~/.profile to
> enable it for man(1), or `export LESS="-X"` to enable it for everything.
Thanks to all who replied!
I did see LESS_IS_MORE, but there were probably good reasons for the OpenBSD devs to switch to less(1).
'MANPAGER="less -X"` does the trick, I was not aware that "termcap initialization and deinitialization" is responsible for clrscreen. I hope that disabling it completely will not have any adverse side affects.
-Heinrich
No comments:
Post a Comment