Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 21:46:29 -0500 (EST)
From:      Chris Hill <chris@monochrome.org>
To:        Kenyon Ralph <kralph@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Where is $PAGER defined?
Message-ID:  <20060322214328.B54627@tripel.monochrome.org>
In-Reply-To: <13d4d6bb0603220348m4aee6c81t4f136076eaea2d10@mail.gmail.com>
References:  <13d4d6bb0603220348m4aee6c81t4f136076eaea2d10@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Mar 2006, Kenyon Ralph wrote:

> The subject says it all - Where is the environment variable $PAGER 
> defined?
>
> If I define PAGER myself in /etc/profile, it is still set to "more" 
> upon login.  I've done grep -R PAGER /etc and got nothing (except 
> /etc/profile of course, which apparently is being overridden).
[...]
> export PAGER="/usr/bin/less -MiR"

Don't forget that "less is more". They're hardlinked:
$ ls -i `which more`
9821489 /usr/bin/more
$ ls -i `which less`
9821489 /usr/bin/less

--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]



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