aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit743625d0a2ab57f1df38ea2dd5d5822e3ab95d38 (patch)
tree8f82ce76a750f91e39b1f4b6f71961d26503299d /apropos.1
parentd9b8d132cdb084ba9070449dea785f3aab99c335 (diff)
downloadmandoc-743625d0a2ab57f1df38ea2dd5d5822e3ab95d38.tar.gz
mandoc-743625d0a2ab57f1df38ea2dd5d5822e3ab95d38.tar.zst
mandoc-743625d0a2ab57f1df38ea2dd5d5822e3ab95d38.zip
implement MANPAGER and PAGER
Diffstat (limited to 'apropos.1')
-rw-r--r--apropos.116
1 files changed, 14 insertions, 2 deletions
diff --git a/apropos.1 b/apropos.1
index e1756039..b08afa38 100644
--- a/apropos.1
+++ b/apropos.1
@@ -1,4 +1,4 @@
-.\" $Id: apropos.1,v 1.32 2014/08/22 03:42:18 schwarze Exp $
+.\" $Id: apropos.1,v 1.33 2014/08/22 04:52:55 schwarze Exp $
.\"
.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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