From owner-freebsd-bugs Tue Jan 23 0:10:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 25F0437B400 for ; Tue, 23 Jan 2001 00:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0N8A2e86775; Tue, 23 Jan 2001 00:10:02 -0800 (PST) (envelope-from gnats) Date: Tue, 23 Jan 2001 00:10:02 -0800 (PST) Message-Id: <200101230810.f0N8A2e86775@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Roman Shterenzon Subject: Re: gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s" Reply-To: Roman Shterenzon Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR gnu/24530; it has been noted by GNATS. From: Roman Shterenzon To: Alex Kapranoff Cc: Subject: Re: gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s" Date: Tue, 23 Jan 2001 10:09:12 +0200 (IST) On Tue, 23 Jan 2001, Alex Kapranoff wrote: > 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 possi= ble > > 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 =D1=CE=D7 13:25 /usr/bin/less > -r-xr-xr-x 2 root wheel 87180 21 =D1=CE=D7 13:25 /usr/bin/more Check line 105 at main.c of less: if (strcmp(__progname, "more") =3D=3D 0) more_mode =3D 1; > > > 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 .. > > -- > Alex Kapranoff, Voice: +7(0832)791845 > We've lived 3 weeks in the brand new millenium... > --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message