# 2.11BSD#431 - /usr/src/ucb/ex/ex_tty.h

##### Variables

    AL                X
    AL_PARM           X
    BT                X
    CD                X
    CE                X
    CL                X
    CM                X
    CS                X
    DC                X
    DL                X
    DL_PARM           X
    DM                X
    DO                X
    DOWN_PARM         X
    ED                X
    EI                X
    F0                X
    F1                X
    F2                X
    F3                X
    F4                X
    F5                X
    F6                X
    F7                X
    F8                X
    F9                X
    HO                X
    IC                X
    IM                X
    IP                X
    KD                X
    KE                X
    KH                X
    KL                X
    KR                X
    KS                X
    KU                X
    LEFT_PARM         X
    LL                X
    ND                X
    OCOLUMNS          X
    RC                X
    RIGHT_PARM        X
    SC                X
    SE                X
    SF                X
    SO                X
    SR                X
    TA                X
    TE                X
    TI                X
    UP_PARM           X
    VB                X
    VE                X
    VS                X
    abbrevs           X
    aoftspace         X
    arrows            X
    costAL            X
    costCM            X
    costDP            X
    costLP            X
    costRP            X
    costSR            X
    destcol           X
    destline          X
    immacs            X
    ldisc             X
    maphopcnt         X
    mapspace          X
    msnext            X
    nlttyc            X
    normf             X
    nttyc             X
    olttyc            X
    ottyc             X
    outcol            X
    outline           X
    tspace            X
    tty               X
    ttymesg           X
    ttynbuf           X
    winsz             X
    xCR               X
    xNL               X

##### Macros

    MAXCHARMACS       X
    MAXNOMACS         X

##### struct's

    maps              X

##### typedef's

    ttymode           X

       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:  *	@(#)ex_tty.h	7.5.1 (2.11BSD GTE) 12/9/94
       7:  */
       8:
       9: /*
      10:  * Capabilities from termcap
      11:  *
      12:  * The description of terminals is a difficult business, and we only
      13:  * attempt to summarize the capabilities here;  for a full description
      14:  * see the paper describing termcap.
      15:  *
      16:  * Capabilities from termcap are of three kinds - string valued options,
      17:  * numeric valued options, and boolean options.  The string valued options
      18:  * are the most complicated, since they may include padding information,
      19:  * which we describe now.
      20:  *
      21:  * Intelligent terminals often require padding on intelligent operations
      22:  * at high (and sometimes even low) speed.  This is specified by
      23:  * a number before the string in the capability, and has meaning for the
      24:  * capabilities which have a P at the front of their comment.
      25:  * This normally is a number of milliseconds to pad the operation.
      26:  * In the current system which has no true programmible delays, we
      27:  * do this by sending a sequence of pad characters (normally nulls, but
      28:  * specifiable as "pc").  In some cases, the pad is better computed
      29:  * as some number of milliseconds times the number of affected lines
      30:  * (to bottom of screen usually, except when terminals have insert modes
      31:  * which will shift several lines.)  This is specified as '12*' e.g.
      32:  * before the capability to say 12 milliseconds per affected whatever
      33:  * (currently always line).  Capabilities where this makes sense say P*.
      34:  */
      35: var char    tspace[256];    /* Space for capability strings */
      36: var char    *aoftspace; /* Address of tspace for relocation */
      37:
      38: var char    *AL;        /* P* Add new blank line */
      39: var char    *AL_PARM;   /* P* Add n new blank lines */
      40: extern  char    *BC;        /*    Back cursor */
      41: var char    *BT;        /* P  Back tab */
      42: var char    *CD;        /* P* Clear to end of display */
      43: var char    *CE;        /* P  Clear to end of line */
      44: var char    *CL;        /* P* Clear screen */
      45: var char    *CM;        /* PG Cursor motion */
      46: var char    *CS;        /* PG Change scrolling region (vt100) */
      47: var char    *xCR;       /* P  Carriage return */
      48: var char    *DC;        /* P* Delete character */
      49: var char    *DL;        /* P* Delete line sequence */
      50: var char    *DL_PARM;   /* P* Delete n lines */
      51: var char    *DM;        /*    Delete mode (enter)  */
      52: var char    *DO;        /*    Down line sequence */
      53: var char    *DOWN_PARM; /*    Down n lines */
      54: var char    *ED;        /*    End delete mode */
      55: var char    *EI;        /*    End insert mode */
      56: var char    *F0,*F1,*F2,*F3,*F4,*F5,*F6,*F7,*F8,*F9;
      57:                 /*    Strings sent by various function keys */
      58: var char    *HO;        /*    Home cursor */
      59: var char    *IC;        /* P  Insert character */
      60: var char    *IM;        /*    Insert mode (give as ':im=:' if 'ic' */
      61: var char    *IP;        /* P* Insert pad after char ins'd using IM+IE */
      62: var char    *KD;        /*    Keypad down arrow */
      63: var char    *KE;        /*    Keypad don't xmit */
      64: var char    *KH;        /*    Keypad home key */
      65: var char    *KL;        /*    Keypad left arrow */
      66: var char    *KR;        /*    Keypad right arrow */
      67: var char    *KS;        /*    Keypad start xmitting */
      68: var char    *KU;        /*    Keypad up arrow */
      69: var char    *LEFT_PARM; /*    Left n chars */
      70: var char    *LL;        /*    Quick to last line, column 0 */
      71: var char    *ND;        /*    Non-destructive space */
      72: var char    *RIGHT_PARM;    /*    Right n spaces */
      73: var char    *xNL;       /*    Line feed (new line) */
      74: extern  char    PC;     /*    Pad character */
      75: var char    *RC;        /*    Restore cursor from last SC */
      76: var char    *SC;        /*    Save cursor */
      77: var char    *SE;        /*    Standout end (may leave space) */
      78: var char    *SF;        /* P  Scroll forwards */
      79: var char    *SO;        /*    Stand out begin (may leave space) */
      80: var char    *SR;        /* P  Scroll backwards */
      81: var char    *TA;        /* P  Tab (other than ^I or with padding) */
      82: var char    *TE;        /*    Terminal end sequence */
      83: var char    *TI;        /*    Terminal initial sequence */
      84: extern  char    *UP;        /*    Upline */
      85: var char    *UP_PARM;   /*    Up n lines */
      86: var char    *VB;        /*    Visible bell */
      87: var char    *VE;        /*    Visual end sequence */
      88: var char    *VS;        /*    Visual start sequence */
      89: var bool    AM;     /* Automatic margins */
      90: var bool    BS;     /* Backspace works */
      91: var bool    CA;     /* Cursor addressible */
      92: var bool    DA;     /* Display may be retained above */
      93: var bool    DB;     /* Display may be retained below */
      94: var bool    EO;     /* Can erase overstrikes with ' ' */
      95: var bool    GT;     /* Gtty indicates tabs */
      96: var bool    HC;     /* Hard copy terminal */
      97: var bool    IN;     /* Insert-null blessing */
      98: var bool    MI;     /* can move in insert mode */
      99: var bool    NC;     /* No Cr - \r snds \r\n then eats \n (dm2500) */
     100: var bool    NS;     /* No scroll - linefeed at bottom won't scroll */
     101: var bool    OS;     /* Overstrike works */
     102: var bool    UL;     /* Underlining works even though !os */
     103: var bool    XB;     /* Beehive (no escape key, simulate with f1) */
     104: var bool    XN;     /* A newline gets eaten after wrap (concept) */
     105: var bool    XT;     /* Tabs are destructive */
     106: var bool    XX;     /* Tektronix 4025 insert line */
     107:     /* X? is reserved for severely nauseous glitches */
     108:     /* If there are enough of these we may need bit masks! */
     109:
     110: /*
     111:  * From the tty modes...
     112:  */
     113: var bool    NONL;       /* Terminal can't hack linefeeds doing a CR */
     114: extern  short   LINES;      /* Number of lines on screen */
     115: extern  short   COLUMNS;
     116: var short   OCOLUMNS;   /* Save COLUMNS for a hack in open mode */
     117: var struct winsize winsz;   /* Save window size for stopping comparisons */
     118:
     119: var short   outcol;     /* Where the cursor is */
     120: var short   outline;
     121:
     122: var short   destcol;    /* Where the cursor should be */
     123: var short   destline;
     124:
     125: /*
     126:  * There are several kinds of tty drivers to contend with.  These include:
     127:  * (1)	V6:		no CBREAK, no ioctl.  (Include PWB V1 here).
     128:  * (2)	V7 research:	has CBREAK, has ioctl, and has the tchars (TIOCSETC)
     129:  *			business to change start, stop, etc. chars.
     130:  * (3)	USG V2:		Basically like V6 but RAW mode is like V7 RAW.
     131:  *			(We treat it as V6.)
     132:  * (4)	USG V3:		equivalent to V7 but totally incompatible.
     133:  * (5)  Berkeley:	has ltchars in addition to all of V7.
     134:  *
     135:  * The following attempts to decide what we are on, and declare
     136:  * some variables in the appropriate format.  The wierd looking one (ttymode)
     137:  * is the thing we pass to sTTY and family to turn "RAW" mode on or off
     138:  * when we go into or out of visual mode.  In V7/V6 it's just the flags word
     139:  * to stty.  In USG V3 it's the whole tty structure.
     140:  */
     141: #ifdef  USG3TTY         /* USG V3 */
     142:   var   struct  termio tty; /* Use this one structure to change modes */
     143:   typedef   struct termio ttymode;  /* Mode to contain tty flags */
     144:
     145: #else               /* All others */
     146:   var   struct  sgttyb tty; /* Always stty/gtty using this one structure */
     147:   typedef   int ttymode;    /* Mode to contain tty flags */
     148: # ifdef     TIOCSETC    /* V7 */
     149:    var  struct  tchars ottyc, nttyc;    /* For V7 character masking */
     150: # endif
     151: # ifdef     TIOCLGET    /* Berkeley */
     152:    var  struct  ltchars olttyc, nlttyc; /* More of tchars style stuff */
     153: # endif
     154:
     155: #endif
     156:
     157: var ttymode normf;      /* Restore tty flags to this (someday) */
     158: var bool    normtty;    /* Have to restore normal mode from normf */
     159:
     160: ttymode ostart(), setty(), unixex();
     161:
     162: var short   costCM; /* # chars to output a typical CM, with padding etc. */
     163: var short   costSR; /* likewise for scroll reverse */
     164: var short   costAL; /* likewise for insert line */
     165: var short   costDP; /* likewise for DOWN_PARM */
     166: var short   costLP; /* likewise for LEFT_PARM */
     167: var short   costRP; /* likewise for RIGHT_PARM */
     168:
     169: #ifdef VMUNIX
     170: # define MAXNOMACS  128 /* max number of macros of each kind */
     171: # define MAXCHARMACS    2048    /* max # of chars total in macros */
     172: #else
     173: # define MAXNOMACS  48  /* max number of macros of each kind */
     174: # define MAXCHARMACS    1536    /* max # of chars total in macros */
     175: #endif
     176: struct maps {
     177:     char *cap;  /* pressing button that sends this.. */
     178:     char *mapto;    /* .. maps to this string */
     179:     char *descr;    /* legible description of key */
     180: };
     181: var struct maps arrows[MAXNOMACS];  /* macro defs - 1st 5 built in */
     182: var struct maps immacs[MAXNOMACS];  /* for while in insert mode */
     183: var struct maps abbrevs[MAXNOMACS]; /* for word abbreviations */
     184: var int ldisc;          /* line discipline for ucb tty driver */
     185: var char    mapspace[MAXCHARMACS];
     186: var char    *msnext;    /* next free location in mapspace */
     187: var int maphopcnt;  /* check for infinite mapping loops */
     188: var bool    anyabbrs;   /* true if abbr or unabbr has been done */
     189: var char    ttynbuf[20];    /* result of ttyname() */
     190: var int ttymesg;    /* original mode of users tty */

#### Defined variables

AL defined in line 38; used 20 times

- in /usr/src/ucb/ex/ex_tty.c line 47, 91-94(4), 129, 139
- in /usr/src/ucb/ex/ex_vadj.c line 193, 262-271(3), 282-285(2), 978, 1019
- in /usr/src/ucb/ex/ex_vops.c line 639, 669
- in /usr/src/ucb/ex/ex_vput.c line 522
- in /usr/src/ucb/ex/ex_vwind.c line 106-110(2)

AL_PARM defined in line 39; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 51, 94
- in /usr/src/ucb/ex/ex_vadj.c line 267-269(2)

BT defined in line 41; used 6 times

- in /usr/src/ucb/ex/ex_put.c line 575-582(4)
- in /usr/src/ucb/ex/ex_tty.c line 47, 98

CD defined in line 42; used 7 times

- in /usr/src/ucb/ex/ex_tty.c line 47
- in /usr/src/ucb/ex/ex_vadj.c line 233-238(2), 658
- in /usr/src/ucb/ex/ex_vput.c line 120, 129(2)

CE defined in line 43; used 9 times

- in /usr/src/ucb/ex/ex_subr.c line 363, 621
- in /usr/src/ucb/ex/ex_tty.c line 47
- in /usr/src/ucb/ex/ex_vadj.c line 258-259(2)
- in /usr/src/ucb/ex/ex_vput.c line 83-86(2), 120, 129

CL defined in line 44; used 5 times

- in /usr/src/ucb/ex/ex_cmds.c line 449
- in /usr/src/ucb/ex/ex_cmdsub.c line 835
- in /usr/src/ucb/ex/ex_tty.c line 47
- in /usr/src/ucb/ex/ex_v.c line 201
- in /usr/src/ucb/ex/ex_vput.c line 28

CM defined in line 45; used 6 times

- in /usr/src/ucb/ex/ex_put.c line 395
- in /usr/src/ucb/ex/ex_tty.c line 47, 124-127(3)
- in /usr/src/ucb/ex/ex_vadj.c line 757

CS defined in line 46; used 8 times

- in /usr/src/ucb/ex/ex_tty.c line 47, 90
- in /usr/src/ucb/ex/ex_vadj.c line 271-278(3), 753-760(3)

DC defined in line 48; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 47
- in /usr/src/ucb/ex/ex_vput.c line 884, 1234, 1284

DL defined in line 49; used 16 times

- in /usr/src/ucb/ex/ex_tty.c line 47, 92-95(4), 139
- in /usr/src/ucb/ex/ex_vadj.c line 193, 734, 750-753(2), 765, 978, 1019
- in /usr/src/ucb/ex/ex_vops.c line 639, 669
- in /usr/src/ucb/ex/ex_vput.c line 143

DL_PARM defined in line 50; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 51, 95
- in /usr/src/ucb/ex/ex_vadj.c line 750-751(2)

DM defined in line 51; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 47
- in /usr/src/ucb/ex/ex_vput.c line 993-997(2), 1011

DO defined in line 52; used 1 times

- in /usr/src/ucb/ex/ex_tty.c line 47

DOWN_PARM defined in line 53; used 4 times

- in /usr/src/ucb/ex/ex_put.c line 558-560(2)
- in /usr/src/ucb/ex/ex_tty.c line 51, 130

ED defined in line 54; used 3 times

- in /usr/src/ucb/ex/ex_tty.c line 48
- in /usr/src/ucb/ex/ex_vput.c line 1015, 1285

EI defined in line 55; used 9 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 97(2)
- in /usr/src/ucb/ex/ex_vput.c line 500, 754, 849, 900, 907, 1037

F0 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F1 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F2 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F3 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F4 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F5 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F6 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F7 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F8 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

F9 defined in line 56; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 48, 58

HO defined in line 58; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 444, 484
- in /usr/src/ucb/ex/ex_tty.c line 49

IC defined in line 59; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 96-97(2)
- in /usr/src/ucb/ex/ex_vput.c line 1194

IM defined in line 60; used 11 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 96(2)
- in /usr/src/ucb/ex/ex_vput.c line 500, 754, 849, 900, 907, 993, 1011, 1029

IP defined in line 61; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 49
- in /usr/src/ucb/ex/ex_vput.c line 1201

KD defined in line 62; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 82

KE defined in line 63; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 1015
- in /usr/src/ucb/ex/ex_tty.c line 49

KH defined in line 64; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 85

KL defined in line 65; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 83

KR defined in line 66; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 84
- in /usr/src/ucb/ex/ex_vmain.c line 197(2)

KS defined in line 67; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 923
- in /usr/src/ucb/ex/ex_tty.c line 49

KU defined in line 68; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 49, 81

LEFT_PARM defined in line 69; used 4 times

- in /usr/src/ucb/ex/ex_put.c line 588-589(2)
- in /usr/src/ucb/ex/ex_tty.c line 51, 131

LL defined in line 70; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 486, 493
- in /usr/src/ucb/ex/ex_tty.c line 49

ND defined in line 71; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 682-683(2)
- in /usr/src/ucb/ex/ex_tty.c line 49

OCOLUMNS defined in line 116; used 7 times

- in /usr/src/ucb/ex/ex_cmds2.c line 142
- in /usr/src/ucb/ex/ex_v.c line 168, 372
- in /usr/src/ucb/ex/ex_vadj.c line 149
- in /usr/src/ucb/ex/ex_vops2.c line 636, 653(2)

RC defined in line 75; used 5 times

- in /usr/src/ucb/ex/ex_tty.c line 50, 90
- in /usr/src/ucb/ex/ex_vadj.c line 275-279(2), 761

RIGHT_PARM defined in line 72; used 4 times

- in /usr/src/ucb/ex/ex_put.c line 658, 665
- in /usr/src/ucb/ex/ex_tty.c line 51, 132

SC defined in line 76; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 50, 90
- in /usr/src/ucb/ex/ex_vadj.c line 273, 755

SE defined in line 77; used 10 times

- in /usr/src/ucb/ex/ex_cmds2.c line 122, 135
- in /usr/src/ucb/ex/ex_subr.c line 365-369(3), 623-627(3)
- in /usr/src/ucb/ex/ex_tty.c line 50
- in /usr/src/ucb/ex/ex_vadj.c line 416

SF defined in line 78; used 4 times

- in /usr/src/ucb/ex/ex_tty.c line 50
- in /usr/src/ucb/ex/ex_v.c line 206
- in /usr/src/ucb/ex/ex_vadj.c line 418-423(2)

SO defined in line 79; used 10 times

- in /usr/src/ucb/ex/ex_cmds2.c line 122, 135
- in /usr/src/ucb/ex/ex_subr.c line 365-368(3), 623-626(3)
- in /usr/src/ucb/ex/ex_tty.c line 50
- in /usr/src/ucb/ex/ex_vadj.c line 416

SR defined in line 80; used 7 times

- in /usr/src/ucb/ex/ex_tty.c line 50, 128
- in /usr/src/ucb/ex/ex_vadj.c line 241, 248, 277
- in /usr/src/ucb/ex/ex_vwind.c line 106-110(2)

TA defined in line 81; used 5 times

- in /usr/src/ucb/ex/ex_put.c line 625-626(2), 633-634(2)
- in /usr/src/ucb/ex/ex_tty.c line 50

TE defined in line 82; used 6 times

- in /usr/src/ucb/ex/ex_cmds.c line 571, 830
- in /usr/src/ucb/ex/ex_subr.c line 908
- in /usr/src/ucb/ex/ex_temp.c line 87
- in /usr/src/ucb/ex/ex_tty.c line 50, 70

TI defined in line 83; used 4 times

- in /usr/src/ucb/ex/ex_cmds2.c line 526
- in /usr/src/ucb/ex/ex_put.c line 727-728(2)
- in /usr/src/ucb/ex/ex_tty.c line 50

UP_PARM defined in line 85; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 603-605(2)
- in /usr/src/ucb/ex/ex_tty.c line 51

VB defined in line 86; used 5 times

- in /usr/src/ucb/ex/ex_subr.c line 124-125(2)
- in /usr/src/ucb/ex/ex_tty.c line 50
- in /usr/src/ucb/ex/ex_vget.c line 354-355(2)

VE defined in line 87; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 1014
- in /usr/src/ucb/ex/ex_tty.c line 50

VS defined in line 88; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 922
- in /usr/src/ucb/ex/ex_tty.c line 50

abbrevs defined in line 183; used 4 times

- in /usr/src/ucb/ex/ex_cmdsub.c line 1085
- in /usr/src/ucb/ex/ex_vops2.c line 704-707(3)

aoftspace defined in line 36; used 3 times

- in /usr/src/ucb/ex/ex_tty.c line 76, 134, 197

arrows defined in line 181; used 25 times

- in /usr/src/ucb/ex/ex_cmdsub.c line 1085, 1181
- in /usr/src/ucb/ex/ex_tty.c line 81-85(15), 115-119(4)
- in /usr/src/ucb/ex/ex_vget.c line 442, 455
- in /usr/src/ucb/ex/ex_vmain.c line 144
- in /usr/src/ucb/ex/ex_voper.c line 139

costAL defined in line 164; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 129
- in /usr/src/ucb/ex/ex_vadj.c line 241

costCM defined in line 162; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 392
- in /usr/src/ucb/ex/ex_tty.c line 127

costDP defined in line 165; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 558
- in /usr/src/ucb/ex/ex_tty.c line 130

costLP defined in line 166; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 588
- in /usr/src/ucb/ex/ex_tty.c line 131

costRP defined in line 167; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 658
- in /usr/src/ucb/ex/ex_tty.c line 132

costSR defined in line 163; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 128
- in /usr/src/ucb/ex/ex_vadj.c line 241

destcol defined in line 122; used 96 times

- in /usr/src/ucb/ex/ex_cmds2.c line 206
- in /usr/src/ucb/ex/ex_put.c line 255-276(11), 288-291(2), 323-325(3), 355-359(3), 395-399(2), 411, 451-466(9), 506-509(3), 519, 536, 578-581(2), 587, 619-623(2), 632, 642, 656-657(2), 712, 729, 735
- in /usr/src/ucb/ex/ex_vadj.c line 164, 380, 391, 420, 427
- in /usr/src/ucb/ex/ex_vget.c line 319, 343
- in /usr/src/ucb/ex/ex_vmain.c line 1076
- in /usr/src/ucb/ex/ex_vops2.c line 90-92(2), 402, 579, 609
- in /usr/src/ucb/ex/ex_vput.c line 29, 75-82(5), 95, 243, 253, 316, 331, 349-350(2), 429(2), 513, 528, 564, 668, 1064-1072(5), 1091, 1111, 1118, 1135, 1149, 1158-1159(2), 1172, 1202
- in /usr/src/ucb/ex/ex_vwind.c line 227

destline defined in line 123; used 70 times

- in /usr/src/ucb/ex/ex_cmds.c line 790
- in /usr/src/ucb/ex/ex_cmds2.c line 202, 544
- in /usr/src/ucb/ex/ex_put.c line 255, 273-275(2), 324, 347-353(4), 389-398(4), 471, 479(2), 491, 503, 524, 530, 556-557(2), 601-602(2), 711, 730, 736
- in /usr/src/ucb/ex/ex_v.c line 130
- in /usr/src/ucb/ex/ex_vadj.c line 163, 391, 419, 426-430(2)
- in /usr/src/ucb/ex/ex_vget.c line 319, 343
- in /usr/src/ucb/ex/ex_vmain.c line 1076, 1238, 1247
- in /usr/src/ucb/ex/ex_voper.c line 687
- in /usr/src/ucb/ex/ex_vops2.c line 90, 402, 579, 609
- in /usr/src/ucb/ex/ex_vput.c line 31, 77-82(4), 242, 253, 332, 339-342(4), 350, 513, 564, 667, 1064-1072(6), 1149, 1158-1159(2)

immacs defined in line 182; used 2 times

- in /usr/src/ucb/ex/ex_cmdsub.c line 1085
- in /usr/src/ucb/ex/ex_vops2.c line 474

ldisc defined in line 184; used 4 times

- in /usr/src/ucb/ex/ex_cmds.c line 597
- in /usr/src/ucb/ex/ex_tty.c line 109-110(2)
- in /usr/src/ucb/ex/ex_vmain.c line 886

maphopcnt defined in line 187; used 4 times

- in /usr/src/ucb/ex/ex_vmain.c line 136, 162
- in /usr/src/ucb/ex/ex_vops2.c line 472, 478

mapspace defined in line 185; used 2 times

- in /usr/src/ucb/ex/ex_cmdsub.c line 1243-1245(2)

msnext defined in line 186; used 12 times

- in /usr/src/ucb/ex/ex_cmdsub.c line 1242-1256(12)

nlttyc defined in line 152; used 7 times

- in /usr/src/ucb/ex/ex_put.c line 968-971(4), 1073, 1099, 1134

normf defined in line 157; used 16 times

- in /usr/src/ucb/ex/ex.c line 107-109(2)
- in /usr/src/ucb/ex/ex_cmds.c line 473
- in /usr/src/ucb/ex/ex_cmds2.c line 144
- in /usr/src/ucb/ex/ex_put.c line 856-858(2), 876, 894, 905, 1070
- in /usr/src/ucb/ex/ex_subr.c line 906
- in /usr/src/ucb/ex/ex_tty.c line 30, 39
- in /usr/src/ucb/ex/ex_unix.c line 147
- in /usr/src/ucb/ex/ex_v.c line 428
- in /usr/src/ucb/ex/ex_vmain.c line 1234

nttyc defined in line 149; used 9 times

- in /usr/src/ucb/ex/ex_put.c line 962-966(5), 1071, 1095, 1131
- in /usr/src/ucb/ex/ex_vops2.c line 615

olttyc defined in line 152; used 5 times

- in /usr/src/ucb/ex/ex_put.c line 1073, 1098-1099(2)
- in /usr/src/ucb/ex/ex_tty.c line 111-113(2)

ottyc defined in line 149; used 3 times

- in /usr/src/ucb/ex/ex_put.c line 1071, 1094-1095(2)

outcol defined in line 119; used 74 times

- in /usr/src/ucb/ex/ex_put.c line 282-292(4), 327-330(3), 344, 386, 399, 438, 457-466(5), 485, 494, 519, 536, 552, 573-593(9), 619-622(2), 629-643(5), 656-657(2), 666, 678, 686, 693, 712, 732-735(2)
- in /usr/src/ucb/ex/ex_v.c line 126-127(2)
- in /usr/src/ucb/ex/ex_vadj.c line 420, 427
- in /usr/src/ucb/ex/ex_vops2.c line 636-637(2), 653
- in /usr/src/ucb/ex/ex_vops3.c line 370
- in /usr/src/ucb/ex/ex_vput.c line 30, 300-305(4), 315-323(6), 329-331(2), 350, 1149-1151(2), 1158, 1172, 1202, 1211

outline defined in line 120; used 51 times

- in /usr/src/ucb/ex/ex_cmds2.c line 202, 520
- in /usr/src/ucb/ex/ex_put.c line 329, 346-348(3), 354, 389-390(2), 398, 439, 471, 479, 485, 495, 503, 524, 530, 550, 556-564(4), 601-609(4), 677-678(2), 694, 708-711(4), 733-736(2)
- in /usr/src/ucb/ex/ex_v.c line 130
- in /usr/src/ucb/ex/ex_vadj.c line 284-285(2), 430
- in /usr/src/ucb/ex/ex_vmain.c line 1233, 1247
- in /usr/src/ucb/ex/ex_voper.c line 687
- in /usr/src/ucb/ex/ex_vops3.c line 371
- in /usr/src/ucb/ex/ex_vput.c line 32, 302, 313, 332, 350, 1149, 1158

tspace defined in line 35; used 2 times

- in /usr/src/ucb/ex/ex_tty.c line 76, 134

tty defined in line 146; used 59 times

- in /usr/src/ucb/ex/ex.c line 107-109(2)
- in /usr/src/ucb/ex/ex_put.c line 856-860(4), 893-894(2), 904-910(7), 979, 986-989(4), 1027, 1037, 1063-1066(2), 1077-1081(3), 1092, 1102, 1117, 1123-1126(2), 1139
- in /usr/src/ucb/ex/ex_tty.c line 25-41(14)
- in /usr/src/ucb/ex/ex_vops2.c line 490-497(4), 584-587(4)
- in /usr/src/ucb/ex/exrecover.c line 191-195(4)

ttymesg defined in line 190; used 2 times

- in /usr/src/ucb/ex/ex_put.c line 937, 1017

ttynbuf defined in line 189; used 8 times

- in /usr/src/ucb/ex/ex_put.c line 925-938(6), 1016-1017(2)

winsz defined in line 117; used 4 times

- in /usr/src/ucb/ex/ex_subr.c line 924-925(2)
- in /usr/src/ucb/ex/ex_tty.c line 156-159(2)

xCR defined in line 47; used 5 times

- in /usr/src/ucb/ex/ex_put.c line 334-335(2), 541-542(2)
- in /usr/src/ucb/ex/ex_tty.c line 47

xNL defined in line 73; used 9 times

- in /usr/src/ucb/ex/ex_put.c line 338-339(2), 380-381(2), 546-547(2), 565-566(2)
- in /usr/src/ucb/ex/ex_tty.c line 49

#### Defined struct's

maps defined in line 176; used 12 times

- in line 181-183(6)
- in /usr/src/ucb/ex/ex_cmdsub.c line 1083(2), 1173(2)
- in /usr/src/ucb/ex/ex_vget.c line 369(2)

#### Defined typedef's

ttymode defined in line 143; used 18 times

- in line 147, 157-160(2)
- in /usr/src/ucb/ex/ex_put.c line 883-886(2), 998, 1046, 1058-1065(3)
- in /usr/src/ucb/ex/ex_subr.c line 902
- in /usr/src/ucb/ex/ex_unix.c line 133, 139, 214, 243
- in /usr/src/ucb/ex/ex_v.c line 72, 156, 183

#### Defined macros

MAXCHARMACS defined in line 174; used 2 times

- in line 185
- in /usr/src/ucb/ex/ex_cmdsub.c line 1245

MAXNOMACS defined in line 173; used 4 times

- in line 181-183(3)
- in /usr/src/ucb/ex/ex_cmdsub.c line 1240

#### Usage of this include

ex_tty.h used 25 times

- in /usr/src/ucb/ex/ex.c line 18
- in /usr/src/ucb/ex/ex_cmds.c line 14
- in /usr/src/ucb/ex/ex_cmds2.c line 14
- in /usr/src/ucb/ex/ex_cmdsub.c line 14
- in /usr/src/ucb/ex/ex_data.c line 12
- in /usr/src/ucb/ex/ex_extern.c line 24
- in /usr/src/ucb/ex/ex_get.c line 12
- in /usr/src/ucb/ex/ex_io.c line 14
- in /usr/src/ucb/ex/ex_put.c line 12
- in /usr/src/ucb/ex/ex_set.c line 13
- in /usr/src/ucb/ex/ex_subr.c line 13
- in /usr/src/ucb/ex/ex_temp.c line 14
- in /usr/src/ucb/ex/ex_tty.c line 12
- in /usr/src/ucb/ex/ex_unix.c line 13
- in /usr/src/ucb/ex/ex_v.c line 13
- in /usr/src/ucb/ex/ex_vadj.c line 12
- in /usr/src/ucb/ex/ex_vget.c line 12
- in /usr/src/ucb/ex/ex_vmain.c line 12
- in /usr/src/ucb/ex/ex_voper.c line 12
- in /usr/src/ucb/ex/ex_vops.c line 12
- in /usr/src/ucb/ex/ex_vops2.c line 12
- in /usr/src/ucb/ex/ex_vops3.c line 12
- in /usr/src/ucb/ex/ex_vput.c line 12
- in /usr/src/ucb/ex/ex_vwind.c line 12
- in /usr/src/ucb/ex/exrecover.c line 22

Last modified: 1994-12-10 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1612 |