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

curs_init defined in line 7; used 1 times

Defined variables

BC defined in line 2; used 1 times
  • in line 18
CL defined in line 2; used 2 times
CM defined in line 2; used 3 times
PC defined in line 3; used 1 times
  • in line 16
UP defined in line 2; used 2 times
atspace defined in line 4; used 6 times
ospeed defined in line 2; used 1 times
tspace defined in line 4; used 1 times
  • in line 15
Last modified: 1980-08-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 702
Valid CSS Valid XHTML 1.0 Strict