Where is $PAGER defined?

Chris Hill chris at monochrome.org
Thu Mar 23 02:44:43 UTC 2006


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 at monochrome.org
**                     [ Busy Expunging <|> ]


More information about the freebsd-questions mailing list