xref: /csrg-svn/lib/libcurses/PSD.doc/intro.2 (revision 57369)
Copyright (c) 1980 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.roff%

@(#)intro.2 6.4 (Berkeley) 12/30/92

.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 CURSES_ERR
error flag returned by routines on a fail.
int CURSES_OK
flag returned by routines upon success.
.ev .)b .lp