Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 08:00:27 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        Adam Michalak <ablake@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: questions regarding $PAGER
Message-ID:  <9a59e9089e0ba18e22d7a0f4ffde466a@mac.com>
In-Reply-To: <cc304ea099328845446a31b043e7786b@mac.com>
References:  <cc304ea099328845446a31b043e7786b@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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