Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 07:12:59 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: man quits back to the prompt after CTRL-G
Message-ID:  <20091014141259.GA14005@ayn.mi.celestial.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, Oct 13, 2009, Chris Stankevitz 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.

You probably also want the ``-r'' option which I think gets less
to properly highlight the nroff things like bold.

Bill
-- 
INTERNET:   bill@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

It is no crime to be ignorant of economics, which is, after all, a
specialized discipline and one that most people consider to be a 'dismal
science.' But it is totally irresponsible to have a loud and vociferous
opinion on economic subjects while remaining in this state of ignorance.
    -- Murray N. Rothbard



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