summaryrefslogtreecommitdiffstats
path: root/usr.bin/man/man.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2011-06-03 05:16:33 +0000
committerru <ru@FreeBSD.org>2011-06-03 05:16:33 +0000
commitfb0246d603cb7d3a1c508125d386c36546e1dae1 (patch)
treecc27532f4ee40ff43900fbb2841d57efe3e51649 /usr.bin/man/man.1
parent9e7829f5b0959ac481e7f884997ef86152ad161f (diff)
downloadFreeBSD-src-fb0246d603cb7d3a1c508125d386c36546e1dae1.zip
FreeBSD-src-fb0246d603cb7d3a1c508125d386c36546e1dae1.tar.gz
Added support for the MANWIDTH environment variable:
If set to a numeric value, used as the width manpages should be displayed. Otherwise, if set to a special value ``tty'', and output is to a terminal, the pages may be displayed over the whole width of the screen.
Diffstat (limited to 'usr.bin/man/man.1')
-rw-r--r--usr.bin/man/man.18
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/man/man.1 b/usr.bin/man/man.1
index 58f43e5..133d536 100644
--- a/usr.bin/man/man.1
+++ b/usr.bin/man/man.1
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 1, 2010
+.Dd June 2, 2011
.Dt MAN 1
.Os
.Sh NAME
@@ -283,6 +283,12 @@ Restricts manual sections searched to the specified colon delimited list.
Corresponds to the
.Fl S
option.
+.It Ev MANWIDTH
+If set to a numeric value, used as the width manpages should be displayed.
+Otherwise, if set to a special value
+.Dq Li tty ,
+and output is to a terminal,
+the pages may be displayed over the whole width of the screen.
.It Ev PAGER
Program used to display files.
If unset,
OpenPOWER on IntegriCloud