Date: Tue, 23 Jan 2001 09:49:26 +0200 From: Peter Pentchev <roam@orbitel.bg> To: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Cc: freebsd-bugs@FreeBSD.org Subject: Re: gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s" Message-ID: <20010123094925.B351@ringworld.oblivion.bg> In-Reply-To: <200101230640.f0N6e2h70964@freefall.freebsd.org>; from alex@kapran.bitmcnit.bryansk.su on Mon, Jan 22, 2001 at 10:40:02PM -0800 References: <200101230640.f0N6e2h70964@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 22, 2001 at 10:40:02PM -0800, Alex Kapranoff wrote: > The following reply was made to PR gnu/24530; it has been noted by GNATS. > > From: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> > To: roman@xpert.com > Cc: FreeBSD-gnats-submit@FreeBSD.ORG > Subject: Re: gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s" > Date: Tue, 23 Jan 2001 09:15:39 +0300 > > On Mon, Jan 22, 2001 at 05:48:49PM +0200, roman@xpert.com wrote: > > > > The recent FreeBSD releases have less(1) in the base system, it's possible > > to use it as a pager for man(1) since it has some benefits. > > But our more(1) is actually a less(1): > > -r-xr-xr-x 2 root wheel 87180 21 ÑÎ× 13:25 /usr/bin/less > -r-xr-xr-x 2 root wheel 87180 21 ÑÎ× 13:25 /usr/bin/more .. but less(1) behaves as more(1) when invoked as 'more'. Which is exactly the reason I've always put PAGER=less and LESS=-M in my .profiles, for (almost) the functionality that Roman desires. > > For example - pressing "G" won't exit the pager at the text end. > > "less -is" is used on most Linux distros as a man pager. > > > > However, something has to be done with /usr/share/skel/* files as well, since > > they define PAGER .. G'luck, Peter -- If you think this sentence is confusing, then change one pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010123094925.B351>
