=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/more.1,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/less/more.1 2014/04/08 22:39:02 1.3 +++ src/usr.bin/less/more.1 2014/04/09 05:57:59 1.4 @@ -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 @@ .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 @@ 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 ,