summaryrefslogtreecommitdiffstats
path: root/mandoc.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 /mandoc.1
parentc3e7065441bd0ab25518a236f7d95b8bd84d2694 (diff)
downloadmandoc-5aa048ebe37935a5d5f1b75804c0adfcde21a146.tar.gz
implement MANPAGER and PAGER
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.115
1 files changed, 15 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 2ed605ca..157e4bea 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -440,6 +440,21 @@ See
.Sx HTML Output
for details; beyond generating XHTML tags instead of HTML tags, these
output modes are identical.
+.Sh ENVIRONMENT
+.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 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 EXIT STATUS
The
.Nm