From owner-freebsd-bugs Mon Jan 22 23:51:13 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 3A67237B402 for ; Mon, 22 Jan 2001 23:50:53 -0800 (PST) Received: (qmail 577 invoked by uid 1000); 23 Jan 2001 07:49:26 -0000 Date: Tue, 23 Jan 2001 09:49:26 +0200 From: Peter Pentchev To: Alex Kapranoff 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> Mail-Followup-To: Alex Kapranoff , freebsd-bugs@FreeBSD.org References: <200101230640.f0N6e2h70964@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200101230640.f0N6e2h70964@freefall.freebsd.org>; from alex@kapran.bitmcnit.bryansk.su on Mon, Jan 22, 2001 at 10:40:02PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 > 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