Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 15:43:38 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: man quits back to the prompt after CTRL-G
Message-ID:  <20091014154338.7e48aa87@gumby.homeunix.com>
In-Reply-To: <4AD56B3A.4070905@toyon.com>
References:  <521176.60565.qm@web52902.mail.re2.yahoo.com> <19157.11479.415746.171606@jerusalem.litteratus.org> <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Oct 2009 23:10:02 -0700
Chris Stankevitz <cstankevitz@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.
> 
> 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.

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091014154338.7e48aa87>