man quits back to the prompt after CTRL-G
rwmaillists at googlemail.com
Wed Oct 14 14:43:44 UTC 2009
On Tue, 13 Oct 2009 23:10:02 -0700
Chris Stankevitz <cstankevitz at toyon.com> wrote:
> Bill Campbell wrote:
> > The -e and -E options to less control this. You want neither of
> > these specified if you don't want to have less automatically exit
> > at end-of-file. The ``-e'' option causes it to exit the second
> > time it hits eof while ``-E'' exits the first time.
> Thank you for your explanation. I hope to find that my PAGER
> environment variable is "less -E". If so, I will drop the -E.
I think it's sufficient simply to change your pager to "less". IIRC it
defaults to "more".
"more" and "less" are the same binary in FreeBSD, but they work
slightly differently according to how they are invoked.
More information about the freebsd-questions