Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 00:10:02 -0800 (PST)
From:      Roman Shterenzon <roman@xpert.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s"
Message-ID:  <200101230810.f0N8A2e86775@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/24530; it has been noted by GNATS.

From: Roman Shterenzon <roman@xpert.com>
To: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
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 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101230810.f0N8A2e86775>