summaryrefslogtreecommitdiffstats
path: root/apropos.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-22 04:52:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-22 04:52:55 +0000
commit5aa048ebe37935a5d5f1b75804c0adfcde21a146 (patch)
treec66a9273d444c083b1ec659b1cf9c60b6cf0c42b /apropos.1
parentc3e7065441bd0ab25518a236f7d95b8bd84d2694 (diff)
downloadmandoc-5aa048ebe37935a5d5f1b75804c0adfcde21a146.tar.gz
implement MANPAGER and PAGER
Diffstat (limited to 'apropos.1')
-rw-r--r--apropos.114
1 files changed, 13 insertions, 1 deletions
diff --git a/apropos.1 b/apropos.1
index 91bed314..52489096 100644
--- a/apropos.1
+++ b/apropos.1
@@ -318,7 +318,12 @@ Text production:
.It Li \&Dx Ta Dx No version reference
.El
.Sh ENVIRONMENT
-.Bl -tag -width MANPATH
+.Bl -tag -width MANPAGER
+.It Ev MANPAGER
+Any non-empty value of the environment variable
+.Ev MANPAGER
+will be used instead of the standard pagination program,
+.Xr more 1 .
.It Ev MANPATH
The standard search path used by
.Xr man 1
@@ -336,6 +341,13 @@ or if it contains two adjacent colons,
the standard search path is inserted between the colons.
If none of these conditions are met, it overrides the
standard search path.
+.It Ev PAGER
+Specifies the pagination program to use when
+.Ev MANPAGER
+is not defined.
+If neither PAGER nor MANPAGER is defined,
+.Pa /usr/bin/more Fl s
+will be used.
.El
.Sh FILES
.Bl -tag -width "/etc/man.conf" -compact