Revision 9084,
991 bytes
checked in by ghudson, 28 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r9083,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /* |
---|
2 | * top - a top users display for Unix 4.2 |
---|
3 | * |
---|
4 | * This file contains all the definitions necessary to use the hand-written |
---|
5 | * screen package in "screen.c" |
---|
6 | */ |
---|
7 | |
---|
8 | #define TCputs(str) tputs(str, 1, putstdout) |
---|
9 | #define putcap(str) (void)((str) != NULL ? TCputs(str) : 0) |
---|
10 | #define Move_to(x, y) TCputs(tgoto(cursor_motion, x, y)) |
---|
11 | |
---|
12 | /* declare return values for termcap functions */ |
---|
13 | char *tgetstr(); |
---|
14 | char *tgoto(); |
---|
15 | |
---|
16 | extern char ch_erase; /* set to the user's erase character */ |
---|
17 | extern char ch_kill; /* set to the user's kill character */ |
---|
18 | extern char smart_terminal; /* set if the terminal has sufficient termcap |
---|
19 | capabilities for normal operation */ |
---|
20 | |
---|
21 | /* These are some termcap strings for use outside of "screen.c" */ |
---|
22 | extern char *cursor_motion; |
---|
23 | extern char *clear_line; |
---|
24 | extern char *clear_to_end; |
---|
25 | |
---|
26 | /* rows and columns on the screen according to termcap */ |
---|
27 | extern int screen_length; |
---|
28 | extern int screen_width; |
---|
29 | |
---|
30 | /* a function that puts a single character on stdout */ |
---|
31 | int putstdout(); |
---|
Note: See
TracBrowser
for help on using the repository browser.