Commit | Line | Data |
---|---|---|
28884c3a | 1 | /* @(#)defs.h 1.6 83/07/28 */ |
fd60eebd EW |
2 | |
3 | #include "ww.h" | |
4 | #include <signal.h> | |
5 | #include <sys/time.h> | |
6 | #include <sys/resource.h> | |
7 | ||
fd60eebd | 8 | int nread; |
39b49130 EW |
9 | int nreade; |
10 | int nreadz; | |
11 | int nreadc; | |
fd60eebd EW |
12 | struct timeval starttime; |
13 | struct timezone timezone; | |
14 | ||
15 | char ibuf[512]; | |
16 | char *ibufp; | |
17 | int ibufc; | |
18 | #define bgetc() (ibufc ? ibufc--, *ibufp++&0x7f : -1) | |
19 | #define bpeekc() (ibufc ? *ibufp&0x7f : -1) | |
20 | #define bungetc(c) (ibufp > ibuf ? ibufc++, *--ibufp = (c) : -1) | |
21 | ||
22 | struct ww *selwin; | |
23 | struct ww *cmdwin; | |
24 | ||
25 | char quit; | |
fa59a057 EW |
26 | char terse; |
27 | char escapec; |