Commit | Line | Data |
---|---|---|
85af59e4 | 1 | /* |
46e9ea25 KB |
2 | * Copyright (c) 1983 Regents of the University of California. |
3 | * All rights reserved. | |
4 | * | |
3dd3a9e5 KB |
5 | * This code is derived from software contributed to Berkeley by |
6 | * Edward Wang at The University of California, Berkeley. | |
7 | * | |
87f529ec | 8 | * %sccs.include.redist.c% |
46e9ea25 | 9 | * |
3dd3a9e5 | 10 | * @(#)defs.h 3.21 (Berkeley) %G% |
85af59e4 | 11 | */ |
fd60eebd EW |
12 | |
13 | #include "ww.h" | |
fd60eebd | 14 | #include <sys/time.h> |
fd60eebd | 15 | |
237f359c EW |
16 | #define NWINDOW 9 |
17 | ||
fd60eebd | 18 | struct timeval starttime; |
fd60eebd | 19 | |
85af59e4 EW |
20 | struct ww *window[NWINDOW]; /* the windows */ |
21 | struct ww *selwin; /* the selected window */ | |
7c0483b9 | 22 | struct ww *lastselwin; /* the last selected window */ |
85af59e4 EW |
23 | struct ww *cmdwin; /* the command window */ |
24 | struct ww *framewin; /* the window for framing */ | |
43c1dd56 | 25 | struct ww *boxwin; /* the window for the box */ |
e1dba5dd | 26 | struct ww *fgwin; /* the last foreground window */ |
e1dba5dd EW |
27 | |
28 | #define isfg(w) ((w)->ww_order <= fgwin->ww_order) | |
fd60eebd | 29 | |
6a1ef78a EW |
30 | char *default_shell[128]; /* default shell argv */ |
31 | char *default_shellfile; /* default shell program */ | |
32 | int default_nline; /* default buffer size for new windows */ | |
33 | int default_smooth; /* default "smooth" parameter */ | |
b1189050 | 34 | char escapec; /* the escape character */ |
4cbe417d EW |
35 | |
36 | /* flags */ | |
b1189050 EW |
37 | char quit; /* quit command issued */ |
38 | char terse; /* terse mode */ | |
39 | char debug; /* debug mode */ | |
ffa20db4 | 40 | char incmd; /* in command mode */ |
85af59e4 EW |
41 | |
42 | struct ww *getwin(); | |
43 | struct ww *openwin(); | |
1c0ca238 | 44 | struct ww *vtowin(); |
85af59e4 | 45 | struct ww *openiwin(); |