# 2.11BSD#431 - /usr/src/usr.bin/tip/tip.h

##### Variables

    AC                X
    AT                X
    BR                X
    CL                X
    CM                X
    CU                X
    DI                X
    DL                X
    DU                X
    DV                X
    EL                X
    ES                X
    ET                X
    EX                X
    FD                X
    FO                X
    FS                X
    HD                X
    HO                X
    HW                X
    IE                X
    OE                X
    PA                X
    PH                X
    PN                X
    PR                X
    RC                X
    RE                X
    RM                X
    arg               X
    ccc               X
    ch                X
    copyname          X
    cumode            X
    defarg            X
    defchars          X
    deflchars         X
    egid              X
    euid              X
    fildes            X
    fname             X
    gid               X
    intflag           X
    ltchars           X
    odisc             X
    pid               X
    quit              X
    repdes            X
    sfd               X
    stop              X
    stoprompt         X
    tchars            X
    timedout          X
    uid               X
    uucplock          X
    vflag             X

##### Macros

    BAUDRATE          X
    BEAUTIFY          X
    BOOL              X
    CDELAY            X
    CHANGED           X
    CHAR              X
    DIALTIMEOUT       X
    DISCONNECT        X
    ECHOCHECK         X
    ENVIRON           X
    EOFREAD           X
    EOFWRITE          X
    EOL               X
    ESCAPE            X
    ETIMEOUT          X
    EXCEPTIONS        X
    EXP               X
    FALSE             X
    FORCE             X
    FRAMESIZE         X
    HALFDUPLEX        X
    HOME              X
    HOST              X
    INIT              X
    IREMOTE           X
    LDELAY            X
    LECHO             X
    LOG               X
    NOACU             X
    NOFILE            X
    NOPWD             X
    NORM              X
    NOSTR             X
    NOVAL             X
    NUMBER            X
    PARITY            X
    PHONES            X
    PRIV              X
    PRIVATE           X
    PROMPT            X
    PUBLIC            X
    RAISE             X
    RAISECHAR         X
    RAWFTP            X
    READ              X
    RECORD            X
    REMOTE            X
    ROOT              X
    SCRIPT            X
    SHELL             X
    STRING            X
    TABEXPAND         X
    TAND              X
    TMASK             X
    TRUE              X
    VERBOSE           X
    WRITE             X
    address           X
    boolean           X
    character         X
    equal             X
    logent            X
    loginit           X
    number            X
    value             X

       1: /*
       2:  * Copyright (c) 1983 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:  *	@(#)tip.h	5.3.1 (2.11BSD GTE) 1/1/94
       7:  */
       8:
       9: /*
      10:  * tip - terminal interface program
      11:  */
      12:
      13: #include <sys/types.h>
      14: #include <sys/file.h>
      15:
      16: #include <sgtty.h>
      17: #include <signal.h>
      18: #include <stdio.h>
      19: #include <pwd.h>
      20: #include <ctype.h>
      21: #include <setjmp.h>
      22: #include <errno.h>
      23:
      24: /*
      25:  * Remote host attributes
      26:  */
      27: char    *DV;            /* UNIX device(s) to open */
      28: char    *EL;            /* chars marking an EOL */
      29: char    *CM;            /* initial connection message */
      30: char    *IE;            /* EOT to expect on input */
      31: char    *OE;            /* EOT to send to complete FT */
      32: char    *CU;            /* call unit if making a phone call */
      33: char    *AT;            /* acu type */
      34: char    *PN;            /* phone number(s) */
      35: char    *DI;            /* disconnect string */
      36: char    *PA;            /* parity to be generated */
      37:
      38: char    *PH;            /* phone number file */
      39: char    *RM;            /* remote file name */
      40: char    *HO;            /* host name */
      41:
      42: int BR;         /* line speed for conversation */
      43: int FS;         /* frame size for transfers */
      44:
      45: char    DU;         /* this host is dialed up */
      46: char    HW;         /* this device is hardwired, see hunt.c */
      47: char    *ES;            /* escape character */
      48: char    *EX;            /* exceptions */
      49: char    *FO;            /* force (literal next) char*/
      50: char    *RC;            /* raise character */
      51: char    *RE;            /* script record file */
      52: char    *PR;            /* remote prompt */
      53: int DL;         /* line delay for file transfers to remote */
      54: int CL;         /* char delay for file transfers to remote */
      55: int ET;         /* echocheck timeout */
      56: char    HD;         /* this host is half duplex - do local echo */
      57:
      58: /*
      59:  * String value table
      60:  */
      61: typedef
      62:     struct {
      63:         char    *v_name;    /* whose name is it */
      64:         char    v_type;     /* for interpreting set's */
      65:         char    v_access;   /* protection of touchy ones */
      66:         char    *v_abrev;   /* possible abreviation */
      67:         char    *v_value;   /* casted to a union later */
      68:     }
      69:     value_t;
      70:
      71: #define STRING  01      /* string valued */
      72: #define BOOL    02      /* true-false value */
      73: #define NUMBER  04      /* numeric value */
      74: #define CHAR    010     /* character value */
      75:
      76: #define WRITE   01      /* write access to variable */
      77: #define READ    02      /* read access */
      78:
      79: #define CHANGED 01      /* low bit is used to show modification */
      80: #define PUBLIC  1       /* public access rights */
      81: #define PRIVATE 03      /* private to definer */
      82: #define ROOT    05      /* root defined */
      83:
      84: #define TRUE    1
      85: #define FALSE   0
      86:
      87: #define ENVIRON 020     /* initialize out of the environment */
      88: #define IREMOTE 040     /* initialize out of remote structure */
      89: #define INIT    0100        /* static data space used for initialization */
      90: #define TMASK   017
      91:
      92: /*
      93:  * Definition of ACU line description
      94:  */
      95: typedef
      96:     struct {
      97:         char    *acu_name;
      98:         int (*acu_dialer)();
      99:         int (*acu_disconnect)();
     100:         int (*acu_abort)();
     101:     }
     102:     acu_t;
     103:
     104: #define equal(a, b) (strcmp(a,b)==0)/* A nice function to string compare */
     105:
     106: /*
     107:  * variable manipulation stuff --
     108:  *   if we defined the value entry in value_t, then we couldn't
     109:  *   initialize it in vars.c, so we cast it as needed to keep lint
     110:  *   happy.
     111:  */
     112: typedef
     113:     union {
     114:         int zz_number;
     115:         short   zz_boolean;
     116:         char    zz_character;
     117:         int *zz_address;
     118:     }
     119:     zzhack;
     120:
     121: #define value(v)    vtable[v].v_value
     122:
     123: #define boolean(v)  ((((zzhack *)(&(v))))->zz_boolean)
     124: #define number(v)   ((((zzhack *)(&(v))))->zz_number)
     125: #define character(v)    ((((zzhack *)(&(v))))->zz_character)
     126: #define address(v)  ((((zzhack *)(&(v))))->zz_address)
     127:
     128: /*
     129:  * Escape command table definitions --
     130:  *   lookup in this table is performed when ``escapec'' is recognized
     131:  *   at the begining of a line (as defined by the eolmarks variable).
     132: */
     133:
     134: typedef
     135:     struct {
     136:         char    e_char;     /* char to match on */
     137:         char    e_flags;    /* experimental, priviledged */
     138:         char    *e_help;    /* help string */
     139:         int     (*e_func)();    /* command */
     140:     }
     141:     esctable_t;
     142:
     143: #define NORM    00      /* normal protection, execute anyone */
     144: #define EXP 01      /* experimental, mark it with a `*' on help */
     145: #define PRIV    02      /* priviledged, root execute only */
     146:
     147: extern int  vflag;      /* verbose during reading of .tiprc file */
     148: extern value_t  vtable[];   /* variable table */
     149:
     150: #ifndef ACULOG
     151: #define logent(a, b, c, d)
     152: #define loginit()
     153: #endif
     154:
     155: /*
     156:  * Definition of indices into variable table so
     157:  *  value(DEFINE) turns into a static address.
     158:  */
     159:
     160: #define BEAUTIFY    0
     161: #define BAUDRATE    1
     162: #define DIALTIMEOUT 2
     163: #define EOFREAD     3
     164: #define EOFWRITE    4
     165: #define EOL     5
     166: #define ESCAPE      6
     167: #define EXCEPTIONS  7
     168: #define FORCE       8
     169: #define FRAMESIZE   9
     170: #define HOST        10
     171: #define LOG     11
     172: #define PHONES      12
     173: #define PROMPT      13
     174: #define RAISE       14
     175: #define RAISECHAR   15
     176: #define RECORD      16
     177: #define REMOTE      17
     178: #define SCRIPT      18
     179: #define TABEXPAND   19
     180: #define VERBOSE     20
     181: #define SHELL       21
     182: #define HOME        22
     183: #define ECHOCHECK   23
     184: #define DISCONNECT  24
     185: #define TAND        25
     186: #define LDELAY      26
     187: #define CDELAY      27
     188: #define ETIMEOUT    28
     189: #define RAWFTP      29
     190: #define HALFDUPLEX  30
     191: #define LECHO       31
     192: #define PARITY      32
     193:
     194: #define NOVAL   ((value_t *)NULL)
     195: #define NOACU   ((acu_t *)NULL)
     196: #define NOSTR   ((char *)NULL)
     197: #define NOFILE  ((FILE *)NULL)
     198: #define NOPWD   ((struct passwd *)0)
     199:
     200: struct sgttyb   arg;        /* current mode of local terminal */
     201: struct sgttyb   defarg;     /* initial mode of local terminal */
     202: struct tchars   tchars;     /* current state of terminal */
     203: struct tchars   defchars;   /* initial state of terminal */
     204: struct ltchars  ltchars;    /* current local characters of terminal */
     205: struct ltchars  deflchars;  /* initial local characters of terminal */
     206:
     207: FILE    *fscript;       /* FILE for scripting */
     208:
     209: int fildes[2];      /* file transfer synchronization channel */
     210: int repdes[2];      /* read process sychronization channel */
     211: int FD;         /* open file descriptor to remote host */
     212: int AC;         /* open file descriptor to dialer (v831 only) */
     213: int vflag;          /* print .tiprc initialization sequence */
     214: int sfd;            /* for ~< operation */
     215: int pid;            /* pid of tipout */
     216: uid_t   uid, euid;      /* real and effective user id's */
     217: gid_t   gid, egid;      /* real and effective group id's */
     218: int stop;           /* stop transfer session flag */
     219: int quit;           /* same; but on other end */
     220: int intflag;        /* recognized interrupt */
     221: int stoprompt;      /* for interrupting a prompt session */
     222: int timedout;       /* ~> transfer timedout */
     223: int cumode;         /* simulating the "cu" program */
     224:
     225: char    fname[80];      /* file name buffer for ~< */
     226: char    copyname[80];       /* file name buffer for ~> */
     227: char    ccc;            /* synchronization character */
     228: char    ch;         /* for tipout */
     229: char    *uucplock;      /* name of lock file for uucp's */
     230:
     231: int odisc;              /* initial tty line discipline */
     232: extern  int disc;           /* current tty discpline */
     233:
     234: extern  char *ctrl();
     235: extern  char *ctime();
     236: extern  long time();
     237: extern  struct passwd *getpwuid();
     238: extern  char *getlogin();
     239: extern  char *vinterp();
     240: extern  char *getenv();
     241: extern  char *rindex();
     242: extern  char *index();
     243: extern  char *malloc();
     244: extern  char *connect();

#### Defined variables

AC defined in line 212; never used
AT defined in line 33; used 2 times

- in /usr/src/usr.bin/tip/acu.c line 68
- in /usr/src/usr.bin/tip/remote.c line 18

BR defined in line 42; used 13 times

- in /usr/src/usr.bin/tip/cu.c line 30, 51, 80, 97, 105
- in /usr/src/usr.bin/tip/remote.c line 46-47(2), 60-61(3)
- in /usr/src/usr.bin/tip/tip.c line 78, 105
- in /usr/src/usr.bin/tip/vars.c line 20

CL defined in line 54; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 129-130(2)
- in /usr/src/usr.bin/tip/vars.c line 72

CM defined in line 29; used 4 times

- in /usr/src/usr.bin/tip/acu.c line 43-44(3)
- in /usr/src/usr.bin/tip/remote.c line 18

CU defined in line 32; used 13 times

- in /usr/src/usr.bin/tip/acu.c line 77, 112
- in /usr/src/usr.bin/tip/cu.c line 29, 42, 60-61(3)
- in /usr/src/usr.bin/tip/remote.c line 18, 42, 72-73(2), 86(2)

DI defined in line 35; used 2 times

- in /usr/src/usr.bin/tip/remote.c line 18
- in /usr/src/usr.bin/tip/vars.c line 66

DL defined in line 53; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 127-128(2)
- in /usr/src/usr.bin/tip/vars.c line 70

DU defined in line 45; used 9 times

- in /usr/src/usr.bin/tip/acu.c line 42
- in /usr/src/usr.bin/tip/cu.c line 37
- in /usr/src/usr.bin/tip/remote.c line 45, 64-74(5), 86

DV defined in line 27; used 18 times

- in /usr/src/usr.bin/tip/acu.c line 45, 135
- in /usr/src/usr.bin/tip/cu.c line 29, 55, 62-63(3)
- in /usr/src/usr.bin/tip/remote.c line 18, 40-42(3), 68-73(2), 86, 149, 159-166(3)

EL defined in line 28; used 2 times

- in /usr/src/usr.bin/tip/remote.c line 18
- in /usr/src/usr.bin/tip/vars.c line 28

ES defined in line 47; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 19, 119-120(2)

ET defined in line 55; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 131-132(2)
- in /usr/src/usr.bin/tip/vars.c line 74

EX defined in line 48; used 4 times

- in /usr/src/usr.bin/tip/remote.c line 19, 117-118(2)
- in /usr/src/usr.bin/tip/vars.c line 32

FD defined in line 211; used 31 times

- in /usr/src/usr.bin/tip/acu.c line 44
- in /usr/src/usr.bin/tip/cmds.c line 101, 109-111(2), 119, 241-242(2), 268-273(3), 317, 388, 403, 409, 451, 504, 618, 739, 747, 757-759(2)
- in /usr/src/usr.bin/tip/hunt.c line 51-60(4)
- in /usr/src/usr.bin/tip/tip.c line 343, 352, 380, 488-489(2)
- in /usr/src/usr.bin/tip/tipout.c line 101

FO defined in line 49; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 19, 121-122(2)

FS defined in line 43; used 4 times

- in /usr/src/usr.bin/tip/remote.c line 48, 62-63(2)
- in /usr/src/usr.bin/tip/vars.c line 36

HD defined in line 56; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 723
- in /usr/src/usr.bin/tip/remote.c line 79

HO defined in line 40; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 43, 87
- in /usr/src/usr.bin/tip/vars.c line 38

HW defined in line 46; used 9 times

- in /usr/src/usr.bin/tip/cu.c line 37, 96, 104
- in /usr/src/usr.bin/tip/hunt.c line 47
- in /usr/src/usr.bin/tip/remote.c line 44, 85-86(2)
- in /usr/src/usr.bin/tip/tip.c line 154, 162

IE defined in line 30; used 2 times

- in /usr/src/usr.bin/tip/remote.c line 18
- in /usr/src/usr.bin/tip/vars.c line 24

OE defined in line 31; used 2 times

- in /usr/src/usr.bin/tip/remote.c line 18
- in /usr/src/usr.bin/tip/vars.c line 26

PA defined in line 36; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 19
- in /usr/src/usr.bin/tip/tip.c line 569
- in /usr/src/usr.bin/tip/vars.c line 82

PH defined in line 38; used 5 times

- in /usr/src/usr.bin/tip/acu.c line 87-88(2)
- in /usr/src/usr.bin/tip/tip.c line 130-131(2)
- in /usr/src/usr.bin/tip/vars.c line 42

PN defined in line 34; used 5 times

- in /usr/src/usr.bin/tip/acu.c line 37
- in /usr/src/usr.bin/tip/cu.c line 33
- in /usr/src/usr.bin/tip/remote.c line 18, 74
- in /usr/src/usr.bin/tip/tip.c line 104

PR defined in line 52; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 18, 123-124(2)

RC defined in line 50; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 19, 125-126(2)

RE defined in line 51; used 4 times

- in /usr/src/usr.bin/tip/remote.c line 19, 115-116(2)
- in /usr/src/usr.bin/tip/vars.c line 50

RM defined in line 39; used 1 times

- in /usr/src/usr.bin/tip/vars.c line 52

arg defined in line 200; used 11 times

- in /usr/src/usr.bin/tip/cmds.c line 742-748(3)
- in /usr/src/usr.bin/tip/tip.c line 174-175(2), 253, 484-488(5)

ccc defined in line 227; used 10 times

- in /usr/src/usr.bin/tip/cmds.c line 104, 148, 263, 341, 437, 462, 490, 516
- in /usr/src/usr.bin/tip/tipout.c line 28-29(2)

ch defined in line 228; never used
copyname defined in line 226; used 8 times

- in /usr/src/usr.bin/tip/cmds.c line 42-46(3), 54, 69-71(2), 357-359(2)

cumode defined in line 223; used 4 times

- in /usr/src/usr.bin/tip/tip.c line 53, 193, 338, 347

defarg defined in line 201; used 3 times

- in /usr/src/usr.bin/tip/tip.c line 170-174(2), 267

defchars defined in line 203; used 7 times

- in /usr/src/usr.bin/tip/cmds.c line 113, 262, 436, 489
- in /usr/src/usr.bin/tip/tip.c line 171-176(2), 268

deflchars defined in line 205; used 3 times

- in /usr/src/usr.bin/tip/tip.c line 172, 178, 269

egid defined in line 217; used 3 times

- in /usr/src/usr.bin/tip/tip.c line 49, 224, 235

euid defined in line 216; used 3 times

- in /usr/src/usr.bin/tip/tip.c line 51, 225, 234

fildes defined in line 209; used 10 times

- in /usr/src/usr.bin/tip/cmds.c line 148, 341, 462, 516, 569-570(2)
- in /usr/src/usr.bin/tip/tip.c line 183
- in /usr/src/usr.bin/tip/tipout.c line 29, 43-46(2)

fname defined in line 225; used 3 times

- in /usr/src/usr.bin/tip/cmds.c line 226, 232-234(2)

gid defined in line 217; used 5 times

- in /usr/src/usr.bin/tip/tip.c line 48, 224, 235, 244(2)

intflag defined in line 220; never used
ltchars defined in line 204; used 6 times

- in /usr/src/usr.bin/tip/tip.c line 178-180(5), 255

odisc defined in line 231; used 4 times

- in /usr/src/usr.bin/tip/tip.c line 173, 206-207(2), 266

pid defined in line 215; used 12 times

- in /usr/src/usr.bin/tip/cmds.c line 103, 259, 433, 486, 567, 602, 697, 784, 797, 810, 819
- in /usr/src/usr.bin/tip/tip.c line 194

quit defined in line 219; used 5 times

- in /usr/src/usr.bin/tip/cmds.c line 102, 118-121(2), 136, 628

repdes defined in line 210; used 8 times

- in /usr/src/usr.bin/tip/cmds.c line 104, 263, 437, 490, 574
- in /usr/src/usr.bin/tip/tip.c line 183
- in /usr/src/usr.bin/tip/tipout.c line 28, 62

sfd defined in line 214; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 45, 57

stop defined in line 218; used 8 times

- in /usr/src/usr.bin/tip/cmds.c line 206, 260, 284, 318
- in /usr/src/usr.bin/tip/value.c line 247-254(3), 296

stoprompt defined in line 221; used 4 times

- in /usr/src/usr.bin/tip/cmds.c line 589
- in /usr/src/usr.bin/tip/tip.c line 286, 299, 309

tchars defined in line 202; used 8 times

- in /usr/src/usr.bin/tip/cmds.c line 147, 342, 463, 517
- in /usr/src/usr.bin/tip/tip.c line 176-177(3), 254

timedout defined in line 222; used 6 times

- in /usr/src/usr.bin/tip/cmds.c line 314-319(3), 401-405(2), 417

uid defined in line 216; used 7 times

- in /usr/src/usr.bin/tip/tip.c line 50, 225, 234, 243(2), 372, 468

uucplock defined in line 229; used 11 times

- in /usr/src/usr.bin/tip/cmds.c line 608
- in /usr/src/usr.bin/tip/cu.c line 87, 101
- in /usr/src/usr.bin/tip/hunt.c line 35-37(3), 64
- in /usr/src/usr.bin/tip/tip.c line 120, 136, 159, 205

vflag declared in line 147; defined in line 213; used 2 times

- in /usr/src/usr.bin/tip/tip.c line 73
- in /usr/src/usr.bin/tip/value.c line 45

#### Defined macros

BAUDRATE defined in line 161; used 2 times

- in /usr/src/usr.bin/tip/tip.c line 134-135(2)

BEAUTIFY defined in line 160; used 7 times

- in /usr/src/usr.bin/tip/cmds.c line 695-696(2)
- in /usr/src/usr.bin/tip/remote.c line 96-98(2)
- in /usr/src/usr.bin/tip/tipout.c line 77(2), 117

BOOL defined in line 72; used 10 times

- in /usr/src/usr.bin/tip/vars.c line 17, 45, 53-57(3), 63-67(2), 75-79(3)

CDELAY defined in line 187; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 390-391(2)

CHANGED defined in line 79; used 15 times

- in /usr/src/usr.bin/tip/cmds.c line 695-700(4), 706-715(6), 721-726(4)
- in /usr/src/usr.bin/tip/value.c line 101

CHAR defined in line 74; used 4 times

- in /usr/src/usr.bin/tip/vars.c line 29-33(2), 43-47(2)

DIALTIMEOUT defined in line 162; never used
DISCONNECT defined in line 184; used 1 times

- in /usr/src/usr.bin/tip/cmds.c line 617

ECHOCHECK defined in line 183; used 6 times

- in /usr/src/usr.bin/tip/cmds.c line 238, 267, 313, 370, 393
- in /usr/src/usr.bin/tip/remote.c line 94

ENVIRON defined in line 87; used 5 times

- in /usr/src/usr.bin/tip/value.c line 29, 74, 80
- in /usr/src/usr.bin/tip/vars.c line 59-61(2)

EOFREAD defined in line 163; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 57, 182

EOFWRITE defined in line 164; used 1 times

- in /usr/src/usr.bin/tip/cmds.c line 237

EOL defined in line 165; used 1 times

- in /usr/src/usr.bin/tip/tip.c line 349

ESCAPE defined in line 166; used 3 times

- in /usr/src/usr.bin/tip/tip.c line 335, 366, 470

ETIMEOUT defined in line 188; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 315, 402

EXCEPTIONS defined in line 167; used 2 times

- in /usr/src/usr.bin/tip/tipout.c line 123
- in /usr/src/usr.bin/tip/value.c line 56

EXP defined in line 144; used 1 times

- in /usr/src/usr.bin/tip/tip.c line 472

FALSE defined in line 85; used 10 times

- in /usr/src/usr.bin/tip/acu.c line 60
- in /usr/src/usr.bin/tip/tipout.c line 52
- in /usr/src/usr.bin/tip/value.c line 183
- in /usr/src/usr.bin/tip/vars.c line 46, 54-56(2), 64, 76-80(3)

FORCE defined in line 168; used 1 times

- in /usr/src/usr.bin/tip/tip.c line 347

FRAMESIZE defined in line 169; used 1 times

- in /usr/src/usr.bin/tip/cmds.c line 133

HALFDUPLEX defined in line 190; used 3 times

- in /usr/src/usr.bin/tip/remote.c line 114
- in /usr/src/usr.bin/tip/tip.c line 344, 353

HOME defined in line 182; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 591
- in /usr/src/usr.bin/tip/value.c line 39

HOST defined in line 170; used 11 times

- in /usr/src/usr.bin/tip/acu.c line 45, 58, 78-82(2), 99, 114-118(2), 125, 135-143(3)

INIT defined in line 89; used 19 times

- in /usr/src/usr.bin/tip/value.c line 74, 80
- in /usr/src/usr.bin/tip/vars.c line 19-41(9), 49-51(2), 59, 65-73(4), 81

IREMOTE defined in line 88; used 16 times

- in /usr/src/usr.bin/tip/value.c line 32
- in /usr/src/usr.bin/tip/vars.c line 19-41(8), 49-51(2), 65-73(4), 81

LDELAY defined in line 186; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 395-396(2)

LECHO defined in line 191; used 3 times

- in /usr/src/usr.bin/tip/cmds.c line 721-723(3)

LOG defined in line 171; used 2 times

- in /usr/src/usr.bin/tip/log.c line 55-57(2)

NOACU defined in line 195; used 4 times

- in /usr/src/usr.bin/tip/acu.c line 13, 59, 68, 164

NOFILE defined in line 197; used 1 times

- in /usr/src/usr.bin/tip/acu.c line 87

NOPWD defined in line 198; used 1 times

- in /usr/src/usr.bin/tip/log.c line 34

NORM defined in line 143; used 16 times

- in /usr/src/usr.bin/tip/cmdtab.c line 18-35(16)

NOSTR defined in line 196; used 47 times

- in /usr/src/usr.bin/tip/acu.c line 43-46(2), 62, 80, 91, 116, 138
- in /usr/src/usr.bin/tip/cmds.c line 604, 617-621(2), 799, 814, 824-836(4)
- in /usr/src/usr.bin/tip/cu.c line 29
- in /usr/src/usr.bin/tip/log.c line 33
- in /usr/src/usr.bin/tip/remote.c line 68-74(3), 86, 115-125(6), 144(2), 156-160(3)
- in /usr/src/usr.bin/tip/tip.c line 43, 87, 130, 547
- in /usr/src/usr.bin/tip/value.c line 76
- in /usr/src/usr.bin/tip/vars.c line 28, 40-42(2), 52, 62(2), 83(3)

NOVAL defined in line 194; used 1 times

- in /usr/src/usr.bin/tip/value.c line 161

NUMBER defined in line 73; used 8 times

- in /usr/src/usr.bin/tip/value.c line 141, 313
- in /usr/src/usr.bin/tip/vars.c line 19-21(2), 35, 69-73(3)

PARITY defined in line 192; used 5 times

- in /usr/src/usr.bin/tip/cmds.c line 725-726(2)
- in /usr/src/usr.bin/tip/tip.c line 547-549(3)

PHONES defined in line 172; never used
PRIV defined in line 145; used 2 times

- in /usr/src/usr.bin/tip/tip.c line 372, 468

PRIVATE defined in line 81; used 1 times

- in /usr/src/usr.bin/tip/value.c line 229

PROMPT defined in line 173; used 1 times

- in /usr/src/usr.bin/tip/cmds.c line 324

PUBLIC defined in line 80; used 34 times

- in /usr/src/usr.bin/tip/value.c line 56, 227
- in /usr/src/usr.bin/tip/vars.c line 17-81(32)

RAISE defined in line 174; used 4 times

- in /usr/src/usr.bin/tip/remote.c line 92
- in /usr/src/usr.bin/tip/tip.c line 339(2), 350

RAISECHAR defined in line 175; used 1 times

- in /usr/src/usr.bin/tip/tip.c line 338

RAWFTP defined in line 189; used 8 times

- in /usr/src/usr.bin/tip/cmds.c line 288-297(3), 306-310(2), 329, 337
- in /usr/src/usr.bin/tip/remote.c line 112

READ defined in line 77; used 35 times

- in /usr/src/usr.bin/tip/value.c line 111, 152
- in /usr/src/usr.bin/tip/vars.c line 17-81(33)

RECORD defined in line 176; used 7 times

- in /usr/src/usr.bin/tip/cmds.c line 569(2), 576, 706-710(4)

REMOTE defined in line 177; never used
ROOT defined in line 82; used 4 times

- in /usr/src/usr.bin/tip/value.c line 231
- in /usr/src/usr.bin/tip/vars.c line 19-21(2), 39

SCRIPT defined in line 178; used 11 times

- in /usr/src/usr.bin/tip/cmds.c line 568, 699-700(2), 711
- in /usr/src/usr.bin/tip/remote.c line 100
- in /usr/src/usr.bin/tip/tip.c line 328
- in /usr/src/usr.bin/tip/tipout.c line 49-52(2), 59, 69, 116

SHELL defined in line 181; used 7 times

- in /usr/src/usr.bin/tip/cmds.c line 546-551(3), 637-642(3), 798

STRING defined in line 71; used 13 times

- in /usr/src/usr.bin/tip/vars.c line 23-31(4), 37-41(3), 49-51(2), 59-65(3), 81

TABEXPAND defined in line 179; used 2 times

- in /usr/src/usr.bin/tip/cmds.c line 298
- in /usr/src/usr.bin/tip/remote.c line 102

TAND defined in line 185; used 6 times

- in /usr/src/usr.bin/tip/cmds.c line 714-716(3)
- in /usr/src/usr.bin/tip/remote.c line 108-110(2)
- in /usr/src/usr.bin/tip/tip.c line 486

TMASK defined in line 90; used 2 times

- in /usr/src/usr.bin/tip/value.c line 69, 180

TRUE defined in line 84; used 4 times

- in /usr/src/usr.bin/tip/tipout.c line 59
- in /usr/src/usr.bin/tip/vars.c line 18, 58, 68

VERBOSE defined in line 180; used 11 times

- in /usr/src/usr.bin/tip/acu.c line 60, 140
- in /usr/src/usr.bin/tip/cmds.c line 131, 145, 311, 336, 460, 514
- in /usr/src/usr.bin/tip/cu.c line 95
- in /usr/src/usr.bin/tip/remote.c line 104-106(2)

WRITE defined in line 76; used 32 times

- in /usr/src/usr.bin/tip/value.c line 56, 65
- in /usr/src/usr.bin/tip/vars.c line 17-81(30)

address defined in line 126; used 1 times

- in /usr/src/usr.bin/tip/value.c line 33

boolean defined in line 123; used 56 times

- in /usr/src/usr.bin/tip/acu.c line 60, 140
- in /usr/src/usr.bin/tip/cmds.c line 131, 145, 238, 267, 288-298(4), 306-313(4), 329, 336-337(2), 370, 393, 460, 514, 568, 711-716(2), 723
- in /usr/src/usr.bin/tip/cu.c line 95
- in /usr/src/usr.bin/tip/remote.c line 92-114(12)
- in /usr/src/usr.bin/tip/tip.c line 328, 339-344(3), 350-353(2), 486
- in /usr/src/usr.bin/tip/tipout.c line 49-52(2), 59, 69, 77(2), 116-117(2)
- in /usr/src/usr.bin/tip/value.c line 91-93(2), 183

character defined in line 125; used 9 times

- in /usr/src/usr.bin/tip/cmds.c line 324
- in /usr/src/usr.bin/tip/tip.c line 335-338(2), 347, 366, 470
- in /usr/src/usr.bin/tip/value.c line 97-99(2), 209

equal defined in line 104; used 11 times

- in /usr/src/usr.bin/tip/remote.c line 86
- in /usr/src/usr.bin/tip/tip.c line 52, 552-564(5)
- in /usr/src/usr.bin/tip/value.c line 72, 109, 241(2)

logent defined in line 151; used 10 times

- in /usr/src/usr.bin/tip/acu.c line 45, 58, 78-82(2), 114-118(2), 125, 135-143(3)

loginit defined in line 152; used 2 times

- in /usr/src/usr.bin/tip/cu.c line 91
- in /usr/src/usr.bin/tip/tip.c line 124

number defined in line 124; used 13 times

- in /usr/src/usr.bin/tip/cmds.c line 133, 390-396(4)
- in /usr/src/usr.bin/tip/tip.c line 134-135(2)
- in /usr/src/usr.bin/tip/value.c line 33, 85-87(4), 202

value defined in line 121; used 102 times

- in /usr/src/usr.bin/tip/acu.c line 45, 58-60(2), 78-82(2), 99, 114-118(2), 125, 135-143(4)
- in /usr/src/usr.bin/tip/cmds.c line 57, 131-133(2), 145, 182, 237-238(2), 267, 288-298(4), 306-315(5), 324-329(2), 336-337(2), 370, 390-396(5), 402, 460, 514, 546-551(3), 568-569(3), 576, 591, 617, 637-642(3), 711-716(2), 723, 798
- in /usr/src/usr.bin/tip/cu.c line 95
- in /usr/src/usr.bin/tip/log.c line 55-57(2)
- in /usr/src/usr.bin/tip/remote.c line 92-114(12)
- in /usr/src/usr.bin/tip/tip.c line 134-135(2), 328, 335-353(9), 366, 470, 486, 547-549(3)
- in /usr/src/usr.bin/tip/tipout.c line 49-52(2), 59, 69, 77(2), 116-117(2), 123
- in /usr/src/usr.bin/tip/value.c line 39

#### Usage of this include

tip.h used 12 times

- in /usr/src/usr.bin/tip/acu.c line 11
- in /usr/src/usr.bin/tip/acutab.c line 11
- in /usr/src/usr.bin/tip/cmds.c line 11
- in /usr/src/usr.bin/tip/cmdtab.c line 11
- in /usr/src/usr.bin/tip/cu.c line 11
- in /usr/src/usr.bin/tip/hunt.c line 11
- in /usr/src/usr.bin/tip/log.c line 11
- in /usr/src/usr.bin/tip/remote.c line 11
- in /usr/src/usr.bin/tip/tip.c line 23
- in /usr/src/usr.bin/tip/tipout.c line 11
- in /usr/src/usr.bin/tip/value.c line 11
- in /usr/src/usr.bin/tip/vars.c line 11

Last modified: 1994-01-11 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 2292 |