date and time created 83/07/28 18:03:20 by edward
[unix-history] / usr / src / usr.bin / window / defs.h
CommitLineData
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 8int nread;
39b49130
EW
9int nreade;
10int nreadz;
11int nreadc;
fd60eebd
EW
12struct timeval starttime;
13struct timezone timezone;
14
15char ibuf[512];
16char *ibufp;
17int 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
22struct ww *selwin;
23struct ww *cmdwin;
24
25char quit;
fa59a057
EW
26char terse;
27char escapec;