summaryrefslogtreecommitdiff
path: root/usr.bin/man
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-08-08 19:24:20 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-08-08 19:24:20 +0000
commit47cc9ee1b1d48870786a926ed9592cecdf9b1896 (patch)
tree27aef37cefcfaeb89b1771d1be17888e89b0b15e /usr.bin/man
parent6a318e696e241e5dae67d8abc3dca39bc53bb784 (diff)
downloadsrc-test-47cc9ee1b1d48870786a926ed9592cecdf9b1896.tar.gz
src-test-47cc9ee1b1d48870786a926ed9592cecdf9b1896.zip
Switch the default pager for most commands to less
Finally, a pager for the nineties. MFC after: Never Relnotes: Yes Differential Revision: https://reviews.freebsd.org/D13465 Poll: https://reviews.freebsd.org/V7
Notes
Notes: svn path=/head/; revision=337497
Diffstat (limited to 'usr.bin/man')
-rw-r--r--usr.bin/man/man.16
-rwxr-xr-xusr.bin/man/man.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/man/man.1 b/usr.bin/man/man.1
index ff7c3afc68aca..2e3629864cfc4 100644
--- a/usr.bin/man/man.1
+++ b/usr.bin/man/man.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 25, 2018
+.Dd August 8, 2018
.Dt MAN 1
.Os
.Sh NAME
@@ -106,7 +106,7 @@ Use specified pager.
Defaults to
.Dq Li "less -sR"
if color support is enabled, or
-.Dq Li "more -s" .
+.Dq Li "less -s" .
Overrides the
.Ev MANPAGER
environment variable, which in turn overrides the
@@ -345,7 +345,7 @@ If unset, and color support is disabled, then
.Ev PAGER
is used.
If that has no value either,
-.Dq Li "more -s"
+.Dq Li "less -s"
is used.
.El
.Sh FILES
diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index 5bb6d7a342fa9..a71ac3578d30f 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -901,7 +901,7 @@ setup_pager() {
if [ -n "$PAGER" ]; then
MANPAGER="$PAGER"
else
- MANPAGER="more -s"
+ MANPAGER="less -s"
fi
fi
fi