man quits back to the prompt after CTRL-G

Chris Stankevitz cstankevitz at toyon.com
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.

Bill,

Thank you for your explanation.  I hope to find that my PAGER 
environment variable is "less -E".  If so, I will drop the -E.

Chris



More information about the freebsd-questions mailing list