Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 16:35:13 +0530
From:      Ashok TM <atmblr@gmail.com>
To:        Frank Shute <frank@shute.org.uk>, Chris Stankevitz <cstankevitz@toyon.com>, freebsd-questions@freebsd.org
Subject:   Re: man quits back to the prompt after CTRL-G
Message-ID:  <ef4898ff0910140405p54d55512tbbe3f1ddf16415d5@mail.gmail.com>
In-Reply-To: <20091014081030.GA50437@orange.esperance-linux.co.uk>
References:  <20091014014947.GA13021@ayn.mi.celestial.com> <4AD56B3A.4070905@toyon.com> <20091014081030.GA50437@orange.esperance-linux.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
send me ur citiback card no

On Wed, Oct 14, 2009 at 1:40 PM, Frank Shute <frank@shute.org.uk> wrote:

> On Tue, Oct 13, 2009 at 11:10:02PM -0700, 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.
> >
> > Chris
> >
>
> Chris,
>
> Set $PAGER to "less" and then set $LESS to something reasonable in
> your shells rc/profile.
>
> E.g On my machine:
>
> LESS="-Xrmj3z-3 -Pm?f%f\:\ .?pb%pb\%\ :?lt%lt. .?e(END)"
>
> All explained in less(1)
>
> Regards,
>
> --
>
>  Frank
>
>  Contact info: http://www.shute.org.uk/misc/contact.html
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



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