Commit | Line | Data |
---|---|---|
85af59e4 | 1 | /* |
60de5df9 EW |
2 | * @(#)defs.h 3.16 %G% |
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. | |
85af59e4 | 9 | */ |
fd60eebd EW |
10 | |
11 | #include "ww.h" | |
fd60eebd | 12 | #include <sys/time.h> |
fd60eebd | 13 | |
237f359c EW |
14 | #define NWINDOW 9 |
15 | ||
fd60eebd | 16 | struct timeval starttime; |
fd60eebd | 17 | |
85af59e4 EW |
18 | struct ww *window[NWINDOW]; /* the windows */ |
19 | struct ww *selwin; /* the selected window */ | |
7c0483b9 | 20 | struct ww *lastselwin; /* the last selected window */ |
85af59e4 EW |
21 | struct ww *cmdwin; /* the command window */ |
22 | struct ww *framewin; /* the window for framing */ | |
43c1dd56 | 23 | struct ww *boxwin; /* the window for the box */ |
e1dba5dd | 24 | struct ww *fgwin; /* the last foreground window */ |
e1dba5dd EW |
25 | |
26 | #define isfg(w) ((w)->ww_order <= fgwin->ww_order) | |
fd60eebd | 27 | |
7ecf4dca EW |
28 | char *shell[128]; /* the shell argv */ |
29 | char *shellfile; /* the shell program */ | |
b1189050 EW |
30 | int nbufline; /* default buffer size for new windows */ |
31 | char escapec; /* the escape character */ | |
4cbe417d EW |
32 | |
33 | /* flags */ | |
b1189050 EW |
34 | char quit; /* quit command issued */ |
35 | char terse; /* terse mode */ | |
36 | char debug; /* debug mode */ | |
ffa20db4 | 37 | char incmd; /* in command mode */ |
85af59e4 EW |
38 | |
39 | struct ww *getwin(); | |
40 | struct ww *openwin(); | |
1c0ca238 | 41 | struct ww *vtowin(); |
85af59e4 | 42 | struct ww *openiwin(); |