1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #if !defined(lint) && !defined(NOSCCS)
   8: static char sccsid[] = "@(#)curses.c	5.2.1 (2.11BSD GTE) 12/9/94";
   9: #endif
  10: 
  11: /*
  12:  * Define global variables
  13:  *
  14:  */
  15: # include   "curses.h"
  16: 
  17: bool    _echoit     = TRUE, /* set if stty indicates ECHO		*/
  18:     _rawmode    = FALSE,/* set if stty indicates RAW mode	*/
  19:     My_term     = FALSE,/* set if user specifies terminal type	*/
  20:     _endwin     = FALSE;/* set if endwin has been called	*/
  21: 
  22: char    ttytype[50],        /* long name of tty			*/
  23:     *Def_term   = "unknown";    /* default terminal type	*/
  24: 
  25: int _tty_ch     = 1,    /* file channel which is a tty		*/
  26:     LINES,          /* number of lines allowed on screen	*/
  27:     COLS,           /* number of columns allowed on screen	*/
  28:     _res_flg;       /* sgtty flags for reseting later	*/
  29: 
  30: WINDOW  *stdscr     = NULL,
  31:     *curscr     = NULL;
  32: 
  33: # ifdef DEBUG
  34: FILE    *outf;          /* debug output file			*/
  35: # endif
  36: 
  37: SGTTY   _tty;           /* tty modes				*/
  38: 
  39: bool    AM, BS, CA, DA, DB, EO, HC, HZ, IN, MI, MS, NC, NS, OS, UL, XB, XN,
  40:     XT, XS, XX;
  41: char    *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *CS, *DC, *DL, *DM,
  42:     *DO, *ED, *EI, *K0, *K1, *K2, *K3, *K4, *K5, *K6, *K7, *K8,
  43:     *K9, *HO, *IC, *IM, *IP, *KD, *KE, *KH, *KL, *KR, *KS, *KU,
  44:     *LL, *MA, *ND, *NL, *RC, *SC, *SE, *SF, *SO, *SR, *TA, *TE,
  45:     *TI, *UC, *UE, *UP, *US, *VB, *VS, *VE, *AL_PARM, *DL_PARM,
  46:     *UP_PARM, *DOWN_PARM, *LEFT_PARM, *RIGHT_PARM;
  47: char    PC;
  48: 
  49: /*
  50:  * From the tty modes...
  51:  */
  52: 
  53: bool    GT, NONL, normtty, _pfast;

Defined variables

AL defined in line 41; never used
AL_PARM defined in line 45; never used
BC defined in line 41; used 2 times
BT defined in line 41; never used
CD defined in line 41; never used
CE defined in line 41; used 4 times
CM defined in line 41; used 15 times
CR defined in line 41; never used
CS defined in line 41; never used
DC defined in line 41; never used
DL defined in line 41; never used
DL_PARM defined in line 45; never used
DM defined in line 41; never used
DO defined in line 42; used 3 times
DOWN_PARM defined in line 46; never used
Def_term defined in line 23; never used
ED defined in line 42; never used
EI defined in line 42; never used
HO defined in line 43; never used
IC defined in line 43; never used
IM defined in line 43; never used
IP defined in line 43; never used
K0 defined in line 42; never used
K1 defined in line 42; never used
K2 defined in line 42; never used
K3 defined in line 42; never used
K4 defined in line 42; never used
K5 defined in line 42; never used
K6 defined in line 42; never used
K7 defined in line 42; never used
K8 defined in line 42; never used
K9 defined in line 43; never used
KD defined in line 43; never used
KE defined in line 43; never used
KH defined in line 43; never used
KL defined in line 43; never used
KR defined in line 43; never used
KS defined in line 43; never used
KU defined in line 43; never used
LEFT_PARM defined in line 46; never used
LL defined in line 44; never used
MA defined in line 44; never used
ND defined in line 44; never used
NL defined in line 44; never used
PC defined in line 47; used 1 times
RC defined in line 44; never used
RIGHT_PARM defined in line 46; never used
SC defined in line 44; never used
SE defined in line 44; used 2 times
SF defined in line 44; never used
SO defined in line 44; used 2 times
SR defined in line 44; never used
TA defined in line 44; never used
TE defined in line 44; used 4 times
UC defined in line 45; used 3 times
UE defined in line 45; never used
UP defined in line 45; used 4 times
UP_PARM defined in line 46; never used
US defined in line 45; never used
VB defined in line 45; used 3 times
VE defined in line 45; used 5 times
_tty defined in line 37; never used
sccsid defined in line 8; never used
ttytype defined in line 22; never used
Last modified: 1994-12-16
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 4275
Valid CSS Valid XHTML 1.0 Strict