Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 17:48:49 +0200 (IST)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/24530: [PATCH] use "less -is" for man(1) instead of "more -s"
Message-ID:  <200101221548.f0MFmne08820@trinity.harmonic.co.il>

next in thread | raw e-mail | index | archive | help

>Number:         24530
>Category:       gnu
>Synopsis:       [PATCH] use "less -is" for man(1) instead of "more -s"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 22 07:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:


>Description:

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.
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 ..

>How-To-Repeat:


>Fix:
--- /usr/src/gnu/usr.bin/man/Makefile.inc	Mon Dec 18 10:12:14 2000
+++ Makefile.inc	Mon Jan 22 17:44:38 2001
@@ -5,7 +5,7 @@
 #
 libdir=			/etc
 bindir=			${BINDIR}
-pager=			more -s
+pager=			less -is
 manpath_config_file=	/etc/manpath.config
 troff=			/usr/bin/groff -S -mandoc
 # -Tascii or localized encoding added automatically

>Release-Note:
>Audit-Trail:
>Unformatted:


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?200101221548.f0MFmne08820>