man quits back to the prompt after CTRL-G

Chris Stankevitz cstankevitz at
Wed Oct 14 06:10:07 UTC 2009

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.


More information about the freebsd-questions mailing list