Add define for Kirk Smith's USR Courier driver. Change default baud
[unix-history] / usr / src / usr.bin / window / defs.h
CommitLineData
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 16struct timeval starttime;
fd60eebd 17
85af59e4
EW
18struct ww *window[NWINDOW]; /* the windows */
19struct ww *selwin; /* the selected window */
7c0483b9 20struct ww *lastselwin; /* the last selected window */
85af59e4
EW
21struct ww *cmdwin; /* the command window */
22struct ww *framewin; /* the window for framing */
43c1dd56 23struct ww *boxwin; /* the window for the box */
e1dba5dd 24struct ww *fgwin; /* the last foreground window */
e1dba5dd
EW
25
26#define isfg(w) ((w)->ww_order <= fgwin->ww_order)
fd60eebd 27
7ecf4dca
EW
28char *shell[128]; /* the shell argv */
29char *shellfile; /* the shell program */
b1189050
EW
30int nbufline; /* default buffer size for new windows */
31char escapec; /* the escape character */
4cbe417d
EW
32
33 /* flags */
b1189050
EW
34char quit; /* quit command issued */
35char terse; /* terse mode */
36char debug; /* debug mode */
ffa20db4 37char incmd; /* in command mode */
85af59e4
EW
38
39struct ww *getwin();
40struct ww *openwin();
1c0ca238 41struct ww *vtowin();
85af59e4 42struct ww *openiwin();