81
14
How to force the less
program to not clear the screen upon exit?
I'd like it to behave like git log
command:
- it leaves the recently seen page on screen upon exiting
- it does not exit the
less
even if the content fits on one screen (trygit log -1
)
Any ideas? I haven't found any suitable less
options nor env variables in a manual, I suspect it's set via some env variable though.
Presumably you need the scrolling aspect of less, so
more
would not be suitable? – Svend – 2010-02-09T11:48:34.657