Hi Leah,
At 2024-10-07T16:50:48+0200, Leah Neukirchen wrote:
"G. Branden Robinson"
<g.branden.robinson(a)gmail.com> writes:
Anton Shepelev wrote a summary I find admirably
concise and blunt:
"`grotty' is not an appendix to a pager, but a program for printing
direct to the terminal. Most terminals support those basic ANSI
control sequences, and many console programs freely use them. If a
pager cannot transparently forward them to the terminal, it is a
problem of the pager, not of `grotty', and having a broken -man
configuration by default to just to appease `less' is stupid."
I don't see the problem, less supports -R for the last 25 years...
Yeah. People's ire seems to rise from the fact that grotty's default is
to assume SGR support and less's default is to not interpret SGR.
I would prefer that `-R` were less's default; that would better serve
the larger proportion of ECMA-48 video terminals using the pager versus
those using it with (an emulator of) hardcopy terminals.
Whatever transition process needs to commence for that to happen, I
think it should.
But in the meantime it's no great effort for me (nor for most people) to
alias 'less' to 'less -R', write a shell function to do similarly, or
just type three more characters.
(For those requiring accessibility assistance, shell aliases and
functions, programmable key bindings, and similar should serve as they
do the merely impatient.)
Regards,
Branden