From owner-freebsd-stable@FreeBSD.ORG Wed Nov 15 06:29:56 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C40CB16A47B; Wed, 15 Nov 2006 06:29:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id F038343D49; Wed, 15 Nov 2006 06:29:38 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id RAA20325; Wed, 15 Nov 2006 17:29:12 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 15 Nov 2006 17:29:11 +1100 (EST) From: Ian Smith To: Jeremy Chadwick In-Reply-To: <20061114185152.GA43923@icarus.home.lan> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: pj@smo.de, freebsd-stable@freebsd.org Subject: Re: Problems with man and less/more X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 06:29:56 -0000 On Tue, 14 Nov 2006, Jeremy Chadwick wrote: > On Tue, Nov 14, 2006 at 07:03:24PM +0100, Oliver Fromme wrote: > > Just set $PAGER appropriately. By the way, the default > > (if not set) is "more -s", which is the same as "less -s". > > Therefore, piping output from man(1) through less(1) > > doesn't really make sense. > > Maybe this should be done by the default in /etc/profile and > /etc/csh.cshrc for people who don't override it? more and less don't behave quite the same though; I always set $PAGER to less explicitly in ~/.cshrc (albeit with some extra options) because as more, getting to the bottom of a file quits, where less requires 'q' to exit - handy if, say, running '!man something' from inside less .. Cheers, Ian