Annotation of 43BSD/usr.lib/libcurses/curses.c, revision 1.1.1.1

1.1       root        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: #ifndef lint
                      8: static char sccsid[] = "@(#)curses.c   5.2 (Berkeley) 11/8/85";
                      9: #endif not lint
                     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, UPPERCASE, normtty, _pfast;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.