diff options
Diffstat (limited to 'usr.bin/less/more.1')
-rw-r--r-- | usr.bin/less/more.1 | 32 |
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 , |