|
|
1.1 root 1: /*
2: * Define global variables
3: *
4: * @(#)curses.c 1.2 (Berkeley) 5/9/83
5: */
6: # include "curses.h"
7:
8: bool _echoit = TRUE, /* set if stty indicates ECHO */
9: _rawmode = FALSE,/* set if stty indicates RAW mode */
10: My_term = FALSE,/* set if user specifies terminal type */
11: _endwin = FALSE;/* set if endwin has been called */
12:
13: char ttytype[10], /* long name of tty */
14: *Def_term = "unknown"; /* default terminal type */
15:
16: int _tty_ch = 1, /* file channel which is a tty */
17: LINES, /* number of lines allowed on screen */
18: COLS, /* number of columns allowed on screen */
19: _res_flg; /* sgtty flags for reseting later */
20:
21: WINDOW *stdscr = NULL,
22: *curscr = NULL;
23:
24: # ifdef DEBUG
25: FILE *outf; /* debug output file */
26: # endif
27:
28: SGTTY _tty; /* tty modes */
29:
30: bool AM, BS, CA, DA, DB, EO, GT, HZ, IN, MI, MS, NC, OS, UL, XN,
31: NONL, UPPERCASE, normtty, _pfast;
32:
33: char *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *DC, *DL, *DM, *DO,
34: *ED, *EI, *HO, *IC, *IM, *IP, *LL, *MA, *ND, *NL, *SE, *SF,
35: *SO, *SR, *TA, *TE, *TI, *UC, *UE, *UP, *US, *VB, *VE, *VS, PC;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.