#define	w_clear	00
#define	w_nopat	02			/* search failed for a string */
#define	w_badpt	04			/* illegal search string */
#define	w_cut	06			/* illegal while cutting text */
#define	w_insm	010			/* illegal while insert mode. */
#define	w_cutof	012			/* cut/select turned off */
#define	w_abort	014			/* command aborted */
#define	w_work	016			/* print WORKING at eos */
#define	w_conf	020			/* ?Cmd not configured */
#define	w_lrn	022			/* learn mode on */
#define	w_cutx	024			/* paste buffer overflowed */
#define	w_lrnx	026			/* learn buffer overlfowed */
#define	w_lrno	030			/* learn mode off */
#define	w_nocu	032			/* cut mode not on */
#define	w_badr	034			/* bad replacement text string */
#define	w_badm	036			/* bad page marker number */
#define	w_len	040			/* line too long */
#define	w_cur	042			/* insert before current */
#define	w_next	044			/* insert after current */
#define	w_nopaste 046			/* no pasted text	*/
#define	w_badmark 050			/* invalid marker number */
#define	w_badbuf  052			/* invalid buffer number */
#define	w_cuterr  054			/* i/o error on paste file */
#define	w_fnf	  056			/* file not found */
#define	w_winend  060			/* switch to primary window */
#define	w_badwin  062			/* invalid edit window */
#define	max_w	054			/* max error number */


/*	bits in sts_one		*/

#define	_vtnolines	01
#define	_faterror	02
#define	_notfound	04
#define	_vtedit		010
#define	_doexit		020
#define	ed_end		040
#define	ed_quit		0100
#define	_doend		0200

/*	vt100 LED values	*/

#define	l_overwrite	1
#define	l_newline	2
#define	l_select	3
#define	l_xlate		4


#define	sys_toolong	2
#define	sys_normal	1
#define	er_success	1
#define	er_nolines	-1
#define	er_tmperror	-2
#define er_eof		-3
#define	er_blun		-4
#define	er_toolong	-5

#define	SYS_TOOLONG	2
#define	SYS_NORMAL	1
#define	ER_SUCCESS	1
#define	ER_NOLINES	-1
#define	ER_TMPERROR	-2
#define ER_EOF		-3
#define	ER_BLUN		-4
#define	ER_TOOLONG	-5

