# include "curses.h" bool _echoit = TRUE, /* set if stty indicates ECHO */ _rawmode = FALSE,/* set if stty indicates RAW mode */ My_term = FALSE;/* set if user specifies terminal type */ char ttytype[10], /* long name of tty */ *Def_term = "un"; /* default terminal type */ int _tty_ch = 1, /* file channel which is a tty */ LINES, /* number of lines allowed on screen */ COLS, /* number of columns allowed on screen */ _res_flg; /* sgtty flags for reseting later */ # ifdef DEBUG FILE *outf; /* debug output file */ # endif SGTTY _tty; /* tty modes */