1: #include "hd.h"
2: char *BC, *UP, *CM, *CL; short ospeed;
3: short PC;
4: char tspace [512], *atspace;
5: char *tgetstr ();
6:
7: curs_init () {
8:
9: char bp [1024];
10: char * tgoto ();
11: char * getenv ();
12: int putch ();
13:
14: tgetent (bp, envterm);
15: atspace = tspace;
16: PC = tgetflag ("pc", &atspace);
17: CM=tgetstr ("cm", &atspace); CL=tgetstr ("cl", &atspace);
18: UP = tgetstr ("up", &atspace); BC = tgetstr ("bc", &atspace);
19: if (CM == CNULL) {
20: printf ("Must have a cursor addressable terminal\n");
21: leave ();
22: }
23: }
Defined functions
Defined variables
BC
defined in line
2; used 1 times
CL
defined in line
2; used 2 times
CM
defined in line
2; used 3 times
PC
defined in line
3; used 1 times
UP
defined in line
2; used 2 times
ospeed
defined in line
2; used 1 times
tspace
defined in line
4; used 1 times