Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Use Ev for environment variables.



details:   https://anonhg.NetBSD.org/src/rev/c29700477ae3
branches:  trunk
changeset: 820266:c29700477ae3
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Jan 05 09:46:08 2017 +0000

description:
Use Ev for environment variables.

diffstat:

 lib/libcurses/curses_screen.3 |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r 349c06238dbc -r c29700477ae3 lib/libcurses/curses_screen.3
--- a/lib/libcurses/curses_screen.3     Thu Jan 05 09:08:44 2017 +0000
+++ b/lib/libcurses/curses_screen.3     Thu Jan 05 09:46:08 2017 +0000
@@ -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 (blymn%NetBSD.org@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -129,9 +129,9 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index