Date: Wed, 15 Nov 2006 17:29:11 +1100 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Jeremy Chadwick <koitsu@freebsd.org> Cc: pj@smo.de, freebsd-stable@freebsd.org Subject: Re: Problems with man and less/more Message-ID: <Pine.BSF.3.96.1061115171927.18047B-100000@gaia.nimnet.asn.au> In-Reply-To: <20061114185152.GA43923@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1061115171927.18047B-100000>