xref: /original-bsd/lib/libcurses/PSD.doc/intro.2 (revision c3e32dec)
Copyright (c) 1980, 1993
The Regents of the University of California. All rights reserved.

%sccs.include.redist.roff%

@(#)intro.2 8.1 (Berkeley) 06/04/93

.sh 1 Variables .pp Many variables which are used to describe the terminal environment are available to the programmer. They are: .(b
type name description
WINDOW * curscr
current version of the screen (terminal screen).
WINDOW * stdscr
standard screen. Most updates are usually done here.
char * Def\*_term
default terminal type if type cannot be determined
bool My\*_term
use the terminal specification in Def\*_term as terminal,
irrelevant of real terminal type
char * ttytype
full name of the current terminal.
int LINES
number of lines on the terminal
int COLS
number of columns on the terminal
int ERR
error flag returned by routines on a fail.
int OK
flag returned by routines upon success.
.ev .)b .lp