summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-04-09 05:58:00 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-04-09 05:58:00 +0000
commit74e10f5b74351fae58a6923bcf0b0a357abc5fc9 (patch)
treebe211eda6de25cab5975a18dcf91ea89521e0e08 /usr.bin
parent5ac5bed3e7c7f040c4f871817be231197af20914 (diff)
update ENVIRONMENT; ok millert
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/less/more.132
1 files changed, 21 insertions, 11 deletions
diff --git a/usr.bin/less/more.1 b/usr.bin/less/more.1
index 8a9e31a637b..b4d51cd1bdb 100644
--- a/usr.bin/less/more.1
+++ b/usr.bin/less/more.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: more.1,v 1.3 2014/04/08 22:39:02 jmc Exp $
+.\" $OpenBSD: more.1,v 1.4 2014/04/09 05:57:59 jmc Exp $
.\"
.\" Copyright (c) 1988, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)more.1 8.2 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: April 8 2014 $
+.Dd $Mdocdate: April 9 2014 $
.Dt MORE 1
.Os
.Sh NAME
@@ -239,11 +239,16 @@ Exits
.Nm .
.El
.Sh ENVIRONMENT
-.Nm
-utilizes the following environment variables, if they exist:
-.Bl -tag -width Fl
+.Bl -tag -width "COLUMNSXXX"
+.It Ev COLUMNS
+Sets the number of columns on the screen.
+Takes precedence over the number of columns specified by the
+.Ev TERM
+variable,
+but may be overridden by window systems which support
+.Dv TIOCGWINSZ .
.It Ev EDITOR
-The default editor if
+Specifies the default editor if
.Ev VISUAL
is not set.
If neither
@@ -253,18 +258,23 @@ nor
are set,
.Xr vi 1
is used.
+.It Ev LINES
+Sets the number of lines on the screen.
+Takes precedence over the number of lines specified by the TERM variable,
+but may be overridden by window systems which support
+.Dv TIOCGWINSZ .
.It Ev MORE
Default command line options to use with
.Nm .
The options should be space-separated and must be prefixed with a dash
.Pq Ql - .
-.It Ev SHELL
-Current shell in use (normally set by the shell at login time).
.It Ev TERM
-Specifies terminal type, used by more to get the terminal
-characteristics necessary to manipulate the screen.
+Specifies the terminal type.
+Used by
+.Nm
+to get the terminal characteristics necessary to manipulate the screen.
.It Ev VISUAL
-Specify default editor.
+Specifies the default editor.
.El
.Sh SEE ALSO
.Xr ctags 1 ,