Closed stacyharper closed 2 years ago
Okay looks like you were relying on lesskey which is now deprecated cause less can read lesskey file directly. Maybe you could adapt this (and also add some documentation somewhere ?)
Well we can't go all-in on LESSKEYIN because it's only in the latest less releases... but I wonder why just setting LESSKEY doesn't work anymore? The manpage suggests so.
I dont know much. I just discovered setting up LESSKEY is not enough in my context o_O
Just to verify, do you have a ~/.lesskey
file?
Just to verify, do you have a
~/.lesskey
file?
No I dont
I think this should fix it. Move the file to .mlesskey if your less is new enough.
Yes that will works. Thanks again for those fast fixes !
Btw, I added personal exit code handling with dedicated less quit commands. I think we could find a way to give the hand to the user. Without requiring to fork all the script.
Hello there,
gnu less seems to be using LESSKEYIN and not LESSKEY. I'm just discovering this aspect of less so I might be wrong. Or maybe this behavior changed over time ? If I'm right, we have to export LESSKEYIN instead in
mless
.Thanks a lot !