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