Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
Many  variables	 which are used	to describe the	terminal environ-
ment are available to the programmer. They are:
type	name	description
-------------------------------------------------------------------
WINDOW *curscr	current	version	of the screen (terminal	screen).
WINDOW *stdscr	standard screen.  Most updates	are  usually  done
		here.
char *	Defterm	default	terminal type if type cannot be	determined
bool	Myterm	use the	terminal specification in Defterm as  ter-
		minal, 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	error  flag  returned  by  routines when things	go
		right.
There are also several constants and types which are  of  general
usefulness:

reg	   storage class ``register'' (e.g., reg int i;)
bool	   boolean type, actually a ``char'' (e.g., bool doneit;)
TRUE	   boolean ``true'' flag (1).
FALSE	   boolean ``false'' flag (0).


Want to link to this manual page? Use this URL:
<
http://www.freebsd.org/cgi/man.cgi?query=intro&sektion=2&manpath=4.3BSD+Reno>

home | help