Document LINES and COLS environment variables.
This commit is contained in:
parent
7a37df1b93
commit
a1a7bef1e4
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: curses_screen.3,v 1.5 2003/02/14 16:29:12 grant Exp $
|
||||
.\" $NetBSD: curses_screen.3,v 1.6 2003/04/08 18:57:09 jdc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2002
|
||||
.\" Brett Lymn (blymn@NetBSD.org, brett_lymn@yahoo.com.au)
|
||||
|
@ -30,7 +30,7 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\"
|
||||
.Dd August 12, 2002
|
||||
.Dd April 8, 2003
|
||||
.Dt CURSES_SCREEN 3
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -64,6 +64,10 @@
|
|||
.Fn resizeterm "int lines" "int cols"
|
||||
.Ft int
|
||||
.Fn setterm "char *name"
|
||||
.Ft extern int
|
||||
.Dv LINES
|
||||
.Ft extern int
|
||||
.Dv COLS
|
||||
.Sh DESCRIPTION
|
||||
These functions initialize terminals and screens.
|
||||
.Pp
|
||||
|
@ -113,6 +117,16 @@ The exception to this rule is the
|
|||
.Fn newterm
|
||||
call which may be called prior to
|
||||
.Fn initscr .
|
||||
The size of the curses screen is determined by checking the
|
||||
.Xr tty 4
|
||||
size and then the
|
||||
.Xr termcap 5
|
||||
entries for the terminal type.
|
||||
If the environment variables
|
||||
.Dv LINES
|
||||
or
|
||||
.Dv COLS
|
||||
are set, then these will be used instead.
|
||||
.Pp
|
||||
The
|
||||
.Fn isendwin
|
||||
|
@ -153,13 +167,13 @@ An error occurred in the function.
|
|||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr curses_window 3 ,
|
||||
.Xr tty 4
|
||||
.Xr termcap 5
|
||||
.Sh STANDARDS
|
||||
The
|
||||
.Lb libcurses
|
||||
library complies with the X/Open Curses specification, part of the
|
||||
Single Unix Specification.
|
||||
.Nx
|
||||
Curses library complies with the X/Open Curses specification, part of the
|
||||
Single Unix Specification.
|
||||
.Sh HISTORY
|
||||
The Curses package appeared in
|
||||
.Bx 4.0 .
|
||||
|
|
Loading…
Reference in New Issue