From 743625d0a2ab57f1df38ea2dd5d5822e3ab95d38 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 22 Aug 2014 04:52:55 +0000 Subject: implement MANPAGER and PAGER --- mandoc.1 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'mandoc.1') 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 .\" Copyright (c) 2012, 2014 Ingo Schwarze @@ -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 -- cgit v1.2.3