2 #define _SUBWIN 1 /* window is a subwindow */
3 #define _ENDLINE 2 /* last winline is last screen line */
4 #define _FULLWIN 4 /* window fills screen */
5 #define _SCROLLWIN 8 /* window lwr rgt is screen lwr rgt */
7 #define _NO_CHANGE -1 /* flags line edge unchanged */
8 #define _BREAKCHAR 0x03 /* ^C character */
9 #define _DCCHAR 0x08 /* Delete Char char (BS) */
10 #define _DLCHAR 0x1b /* Delete Line char (ESC) */
11 #define _GOCHAR 0x11 /* ^Q character */
12 #define _PRINTCHAR 0x10 /* ^P character */
13 #define _STOPCHAR 0x13 /* ^S character */
14 #define NUNGETCH 10 /* max # chars to ungetch() */
16 #define max(a,b) (((a) > (b)) ? (a) : (b))
17 #define min(a,b) (((a) < (b)) ? (a) : (b))
19 /* Character mask definitions. */
20 #define CHR_MSK ((int) 0x00ff) /* ASCIIZ character mask */
21 #define ATR_MSK ((int) 0xff00) /* attribute mask */
22 #define ATR_NRM ((int) 0x0000) /* no special attributes */
24 /* Type declarations. */
27 WINDOW
*tmpwin
; /* window used for updates */
28 int cursrow
; /* position of physical cursor */
35 /* External variables */
36 extern cursv _cursvar
; /* curses variables */