version 1.13, 2003/06/16 17:24:44 |
version 1.14, 2004/05/09 22:14:15 |
|
|
|
|
/* |
/* |
* This file contains the routines that interface to termcap and stty/gtty. |
* This file contains the routines that interface to termcap and stty/gtty. |
* |
* |
* Paul Vixie, February 1987: converted to use ioctl() instead of stty/gtty. |
* Paul Vixie, February 1987: converted to use ioctl() instead of stty/gtty. |
* |
* |
* I put in code to turn on the TOSTOP bit while top was running, but I didn't |
* I put in code to turn on the TOSTOP bit while top was running, but I didn't |
* really like the results. If you desire it, turn on the preprocessor |
* really like the results. If you desire it, turn on the preprocessor |
* variable "TOStop". --wnl |
* variable "TOStop". --wnl |
|
|
} |
} |
} |
} |
|
|
void |
void |
clear() |
clear(void) |
{ |
{ |
if (smart_terminal) |
if (smart_terminal) |
putcap(clear_scr); |
putcap(clear_scr); |