/* rcsid[] = "$Header: vt100cook.h,v 800.0 85/08/06 14:20:02 root Exp $" */
/* sccsid[] = "%W% %Y% %Q% %G%" */


#ifdef WHITE
#define		LFLUSHO		0x0080	/* flush output to terminal */
#else WHITE
		/* partab character types (exerpted from tty.h  */

#define	ORDINARY	0
#define	CONTROL		1
#define	BACKSPACE	2
#define	NEWLINE		3
#define	TAB		4
#define	VTAB		5
#define	RETURN		6

		/* Exerpts from ioctl.h */

#define		TANDEM		0x0001	/* send stopc on out q full */
#define		CBREAK		0x0002	/* half-cooked mode */
#define		LCASE		0x0004	/* simulate lower case */
#define		ECHO		0x0008	/* echo input */
#define		CRMOD		0x0010	/* map \r to \r\n on output */
#define		RAW		0x0020	/* no i/o processing */
#define		ODDP		0x0040	/* get/send odd parity */
#define		EVENP		0x0080	/* get/send even parity */
#define		ANYP		0x00c0	/* get any parity/send none */
#define		TBDELAY		0x0c00	/* horizontal tab delay */
#define		XTABS		0x0c00	/* expand tabs on output */
#define		LCRTBS		0x0001	/* do backspacing for crt */
#define		LPRTERA		0x0002	/* \ ... / erase */
#define		LCRTERA		0x0004	/* " \b " to wipe out char */
#define		LTILDE		0x0008	/* hazeltine tilde kludge */
#define		LMDMBUF		0x0010	/* start/stop output on carrier intr */
#define		LLITOUT		0x0020	/* literal output */
#define		LTOSTOP		0x0040	/* SIGSTOP on background output */
#define		LFLUSHO		0x0080	/* flush output to terminal */
#define		LNOHANG		0x0100	/* no SIGHUP on carrier drop */
#define		LCRTKIL		0x0400	/* kill line with " \b " */
#define		LCTLECH		0x1000	/* echo control chars as ^X */
#define		LPENDIN		0x2000	/* tp->t_rawq needs reread */
#define		LDECCTQ		0x4000	/* only ^Q starts after ^S */
#define		LNOFLSH		0x8000	/* no output flush on signal */
#endif WHITE

/* local state */

#define	LSBKSL	01		/* state bit for lowercase backslash work */
#define	LSQUOT	02		/* last character input was \ */
#define	LSERASE	04		/* within a \.../ for LPRTRUB */
#define	LSLNCH	010		/* next character is literal */
#define	LSTYPEN	020		/* retyping suspended input (LPENDIN) */
#define	LSCNTTB	040		/* counting width of tab; leave LFLUSHO alone */

/* other */

#define FAKEEOFC 0xFE

#ifndef WHITE
#define VGWINDOW	31
#endif WHITE

