# 2.11BSD#431 - /usr/src/ucb/window/defs.h

##### Variables

    boxwin            X
    cmdwin            X
    debug             X
    escapec           X
    fgwin             X
    framewin          X
    incmd             X
    lastselwin        X
    nbufline          X
    quit              X
    selwin            X
    shell             X
    shellfile         X
    starttime         X
    terse             X
    window            X

##### Macros

    NWINDOW           X
    isfg              X

       1: /*
       2:  * @(#)defs.h	3.16 4/24/85
       3:  */
       4:
       5: /*
       6:  * Copyright (c) 1983 Regents of the University of California,
       7:  * All rights reserved.  Redistribution permitted subject to
       8:  * the terms of the Berkeley Software License Agreement.
       9:  */
      10:
      11: #include "ww.h"
      12: #include <sys/time.h>
      13:
      14: #define NWINDOW 9
      15:
      16: struct timeval starttime;
      17:
      18: struct ww *window[NWINDOW]; /* the windows */
      19: struct ww *selwin;      /* the selected window */
      20: struct ww *lastselwin;      /* the last selected window */
      21: struct ww *cmdwin;      /* the command window */
      22: struct ww *framewin;        /* the window for framing */
      23: struct ww *boxwin;      /* the window for the box */
      24: struct ww *fgwin;       /* the last foreground window */
      25:
      26: #define isfg(w)     ((w)->ww_order <= fgwin->ww_order)
      27:
      28: char *shell[128];       /* the shell argv */
      29: char *shellfile;        /* the shell program */
      30: int nbufline;           /* default buffer size for new windows */
      31: char escapec;           /* the escape character */
      32:
      33:     /* flags */
      34: char quit;          /* quit command issued */
      35: char terse;         /* terse mode */
      36: char debug;         /* debug mode */
      37: char incmd;         /* in command mode */
      38:
      39: struct ww *getwin();
      40: struct ww *openwin();
      41: struct ww *vtowin();
      42: struct ww *openiwin();

#### Defined variables

boxwin defined in line 23; used 28 times

- in /usr/src/ucb/window/cmd.c line 197
- in /usr/src/ucb/window/cmd1.c line 25-27(2), 34-41(4), 52, 61-68(4), 74
- in /usr/src/ucb/window/cmd5.c line 29-31(2), 41-48(4), 54
- in /usr/src/ucb/window/cmd7.c line 26-28(2), 36-43(4), 49
- in /usr/src/ucb/window/main.c line 131

cmdwin defined in line 21; used 42 times

- in /usr/src/ucb/window/cmd.c line 23, 171-172(2), 188-193(3), 203, 222, 228, 243-246(2)
- in /usr/src/ucb/window/cmd1.c line 22, 48, 76-77(2), 132, 138
- in /usr/src/ucb/window/cmd2.c line 109-117(4)
- in /usr/src/ucb/window/cmd4.c line 19-22(4)
- in /usr/src/ucb/window/cmd5.c line 26, 56-57(2)
- in /usr/src/ucb/window/cmd6.c line 24-29(3)
- in /usr/src/ucb/window/cmd7.c line 23, 51-52(2)
- in /usr/src/ucb/window/error.c line 31-32(2), 43
- in /usr/src/ucb/window/main.c line 115-123(5)

debug defined in line 36; used 13 times

- in /usr/src/ucb/window/cmd.c line 148, 192-196(3)
- in /usr/src/ucb/window/lcmd1.c line 126-127(4)
- in /usr/src/ucb/window/main.c line 55, 80(2), 106, 112

escapec defined in line 31; used 13 times

- in /usr/src/ucb/window/cmd.c line 26, 153-156(2)
- in /usr/src/ucb/window/cmd2.c line 76
- in /usr/src/ucb/window/cmd3.c line 50-54(3)
- in /usr/src/ucb/window/lcmd1.c line 140
- in /usr/src/ucb/window/main.c line 50
- in /usr/src/ucb/window/mloop.c line 21, 31, 40
- in /usr/src/ucb/window/startup.c line 44

fgwin defined in line 24; used 8 times

- in line 26
- in /usr/src/ucb/window/main.c line 136
- in /usr/src/ucb/window/win.c line 156, 175-179(3), 188-189(2)

framewin defined in line 22; used 14 times

- in /usr/src/ucb/window/cmd.c line 195
- in /usr/src/ucb/window/cmd1.c line 25
- in /usr/src/ucb/window/cmd5.c line 29
- in /usr/src/ucb/window/cmd7.c line 26
- in /usr/src/ucb/window/main.c line 124, 130, 136
- in /usr/src/ucb/window/win.c line 156, 174-175(2), 197-200(2), 217, 227

incmd defined in line 37; used 5 times

- in /usr/src/ucb/window/cmd.c line 220, 226, 235, 241
- in /usr/src/ucb/window/mloop.c line 17

lastselwin defined in line 20; used 7 times

- in /usr/src/ucb/window/cmd.c line 61-62(2), 259
- in /usr/src/ucb/window/cmd3.c line 32-33(2)
- in /usr/src/ucb/window/win.c line 100-101(2)

nbufline defined in line 30; used 7 times

- in /usr/src/ucb/window/cmd1.c line 78
- in /usr/src/ucb/window/lcmd1.c line 53, 92-95(2)
- in /usr/src/ucb/window/main.c line 49
- in /usr/src/ucb/window/startup.c line 38-41(2)

quit defined in line 34; used 5 times

- in /usr/src/ucb/window/cmd.c line 166, 177
- in /usr/src/ucb/window/cmd2.c line 115-118(2)
- in /usr/src/ucb/window/mloop.c line 16

selwin defined in line 19; used 48 times

- in /usr/src/ucb/window/cmd.c line 40, 53, 63, 95-128(16), 137, 154-155(2), 223-224(2), 231-233(3), 256-261(5)
- in /usr/src/ucb/window/cmd3.c line 31
- in /usr/src/ucb/window/lcmd1.c line 109(2), 164, 183, 238
- in /usr/src/ucb/window/lcmd2.c line 152, 333
- in /usr/src/ucb/window/main.c line 150
- in /usr/src/ucb/window/win.c line 98-99(2), 178-179(4), 208

shell defined in line 28; used 17 times

- in /usr/src/ucb/window/cmd1.c line 79
- in /usr/src/ucb/window/lcmd1.c line 40(2), 73
- in /usr/src/ucb/window/lcmd2.c line 217-223(5), 231-235(4)
- in /usr/src/ucb/window/main.c line 99-100(2)
- in /usr/src/ucb/window/startup.c line 39-42(2)

shellfile defined in line 29; used 12 times

- in /usr/src/ucb/window/cmd1.c line 79
- in /usr/src/ucb/window/lcmd1.c line 74
- in /usr/src/ucb/window/lcmd2.c line 211-215(2), 231-235(3)
- in /usr/src/ucb/window/main.c line 93-98(3)
- in /usr/src/ucb/window/startup.c line 39-42(2)

starttime defined in line 16; used 3 times

- in /usr/src/ucb/window/lcmd2.c line 73-74(2)
- in /usr/src/ucb/window/main.c line 101

terse defined in line 35; used 27 times

- in /usr/src/ucb/window/cmd.c line 22, 160, 168, 187, 202, 221, 227, 242-247(3)
- in /usr/src/ucb/window/cmd1.c line 21, 47, 75, 131, 137
- in /usr/src/ucb/window/cmd2.c line 106
- in /usr/src/ucb/window/cmd4.c line 15
- in /usr/src/ucb/window/cmd5.c line 25, 55
- in /usr/src/ucb/window/cmd6.c line 23-28(2)
- in /usr/src/ucb/window/cmd7.c line 22, 50
- in /usr/src/ucb/window/error.c line 28
- in /usr/src/ucb/window/lcmd1.c line 204-205(3)

window defined in line 18; used 11 times

- in /usr/src/ucb/window/cmd.c line 48, 199
- in /usr/src/ucb/window/cmd3.c line 25, 35-38(2)
- in /usr/src/ucb/window/lcmd1.c line 327
- in /usr/src/ucb/window/lcmd2.c line 138, 149
- in /usr/src/ucb/window/win.c line 54, 82, 103

#### Defined macros

NWINDOW defined in line 14; used 11 times

- in line 18
- in /usr/src/ucb/window/cmd.c line 198
- in /usr/src/ucb/window/cmd3.c line 24, 35-37(2)
- in /usr/src/ucb/window/lcmd1.c line 326
- in /usr/src/ucb/window/lcmd2.c line 137, 148
- in /usr/src/ucb/window/win.c line 82-84(2), 102

isfg defined in line 26; used 4 times

- in /usr/src/ucb/window/lcmd1.c line 186
- in /usr/src/ucb/window/win.c line 156-158(2), 178

#### Usage of this include

defs.h used 17 times

- in /usr/src/ucb/window/cmd.c line 11
- in /usr/src/ucb/window/cmd1.c line 11
- in /usr/src/ucb/window/cmd2.c line 11
- in /usr/src/ucb/window/cmd3.c line 11
- in /usr/src/ucb/window/cmd4.c line 11
- in /usr/src/ucb/window/cmd5.c line 11
- in /usr/src/ucb/window/cmd6.c line 11
- in /usr/src/ucb/window/cmd7.c line 11
- in /usr/src/ucb/window/context.c line 12
- in /usr/src/ucb/window/error.c line 11
- in /usr/src/ucb/window/lcmd.c line 11
- in /usr/src/ucb/window/lcmd1.c line 11
- in /usr/src/ucb/window/lcmd2.c line 11
- in /usr/src/ucb/window/main.c line 11
- in /usr/src/ucb/window/mloop.c line 11
- in /usr/src/ucb/window/startup.c line 11
- in /usr/src/ucb/window/win.c line 11

Last modified: 1987-02-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 663 |