Revision f88db8a3b74851d311b59bde8278553ff1558174 authored by Brian F. Feldman on 20 September 2000, 23:59:22 UTC, committed by Brian F. Feldman on 20 September 2000, 23:59:22 UTC
PR:		21203
Submitted by:	Peter Pentchev <roam@orbitel.bg>
1 parent 2d6598d
Raw File
screen.h
/*
 *  top - a top users display for Unix 4.2
 *
 *  This file contains all the definitions necessary to use the hand-written
 *  screen package in "screen.c"
 */

#define TCputs(str)	tputs(str, 1, putstdout)
#define putcap(str)	(void)((str) != NULL ? TCputs(str) : 0)
#define Move_to(x, y)	TCputs(tgoto(cursor_motion, x, y))

/* declare return values for termcap functions */
char *tgetstr();
char *tgoto();

extern char ch_erase;		/* set to the user's erase character */
extern char ch_kill;		/* set to the user's kill  character */
extern char smart_terminal;     /* set if the terminal has sufficient termcap
				   capabilities for normal operation */

/* These are some termcap strings for use outside of "screen.c" */
extern char *cursor_motion;
extern char *clear_line;
extern char *clear_to_end;

/* rows and columns on the screen according to termcap */
extern int  screen_length;
extern int  screen_width;

/* a function that puts a single character on stdout */
int putstdout();
back to top