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
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
97-105(5)
debug
defined in line
36; used 13 times
fgwin
defined in line
24; used 8 times
incmd
defined in line
37; used 5 times
quit
defined in line
34; used 5 times
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
132
- in /usr/src/ucb/window/win.c line
98-99(2),
178-179(4),
208
shell
defined in line
28; used 17 times
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
Defined macros
isfg
defined in line
26; used 4 times
Usage of this include