Module Name: src
Committed By: wiz
Date: Thu Jan 5 09:46:09 UTC 2017
Modified Files:
src/lib/libcurses: curses_screen.3
Log Message:
Use Ev for environment variables.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libcurses/curses_screen.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libcurses/curses_screen.3
diff -u src/lib/libcurses/curses_screen.3:1.17 src/lib/libcurses/curses_screen.3:1.18
--- src/lib/libcurses/curses_screen.3:1.17 Sat Dec 31 17:46:35 2016
+++ src/lib/libcurses/curses_screen.3 Thu Jan 5 09:46:08 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: curses_screen.3,v 1.17 2016/12/31 17:46:35 roy Exp $
+.\" $NetBSD: curses_screen.3,v 1.18 2017/01/05 09:46:08 wiz Exp $
.\"
.\" Copyright (c) 2002
.\" Brett Lymn ([email protected], [email protected])
@@ -129,9 +129,9 @@ size and then the
.Xr terminfo 5
entries for the terminal type.
If the environment variables
-.Va LINES
+.Ev LINES
or
-.Va COLS
+.Ev COLS
are set, then these will be used instead.
.Pp
When either
@@ -196,14 +196,17 @@ Set lines equal to 1.
.Pp
The
.Fn use_env
-function determines whether the environment variables LINES and COLUMNS
+function determines whether the environment variables
+.Ev LINES
+and
+.Ev COLUMNS
override the normal values.
The default is true.
Any call to
.Fn use_env
must precede calls to
.Fn initscr ,
-.Fn newterm
+.Fn newterm ,
or
.Fn setupterm .
.Sh RETURN VALUES