From owner-freebsd-questions@FreeBSD.ORG Thu Mar 23 02:44:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 128C816A41F for ; Thu, 23 Mar 2006 02:44:43 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF2343D92 for ; Thu, 23 Mar 2006 02:44:35 +0000 (GMT) (envelope-from chris@monochrome.org) Received: from tripel (tripel [192.168.1.11]) by mail.monochrome.org (8.9.3/8.9.3) with ESMTP id VAA40939; Wed, 22 Mar 2006 21:44:33 -0500 (EST) (envelope-from chris@monochrome.org) Date: Wed, 22 Mar 2006 21:46:29 -0500 (EST) From: Chris Hill To: Kenyon Ralph In-Reply-To: <13d4d6bb0603220348m4aee6c81t4f136076eaea2d10@mail.gmail.com> Message-ID: <20060322214328.B54627@tripel.monochrome.org> References: <13d4d6bb0603220348m4aee6c81t4f136076eaea2d10@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Where is $PAGER defined? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 02:44:43 -0000 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 <|> ]