Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 17:47:34 +0000 (GMT)
From:      doug <doug@fledge.watson.org>
To:        Charles Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: questions regarding $PAGER
Message-ID:  <Pine.BSF.3.96.1050315174419.68228C-100000@fledge.watson.org>
In-Reply-To: <9a59e9089e0ba18e22d7a0f4ffde466a@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, your excellent answer prompted me to actually read the less man page :)
Lots of usful stuff. One question. On 4.11, at least no meaning is suggested for
MM (rather than M). Is this a typo or an undocumented feature?

On Tue, 15 Mar 2005, Charles Swiger wrote:

> On Mar 15, 2005, at 1:46 AM, Adam Michalak wrote:
> > I have a few questions regarding the pagers more and less.
> > If I type "man more" at the prompt i get the man page for less
> > are more and less now considered interchangeable?
> 
> FreeBSD might actually ship with less configured to replace more.
> 
> > When I do view a file with more my percentage of the file
> > viewed is displayed in the bottom right hand screen.
> >
> > However when I view a manpage the number of bytes viewed
> > as opposed to percentage is displayed at the bottom right
> > hand of the screen.  How can i set this so that percentage is
> > displayed by default?
> 
> Consider adding something like this to your shell startup:
> 
> LESS='-cdegiMMs -h20 -j4'
> export LESS
> 
> [ If you use tcsh, use setenv instead. ]
> 
> -- 
> -Chuck
> 
> _______________________________________________
> 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?Pine.BSF.3.96.1050315174419.68228C-100000>