#ifndef	DEVICES_CONSOLE_H
#define	DEVICES_CONSOLE_H
#ifndef	EXEC_IO_H
#include	"exec/io.h"
#endif
#define	CD_ASKKEYMAP	(CMD_NONSTD+0)
#define	CD_SETKEYMAP	(CMD_NONSTD+1)
#define	CD_ASKDEFAULTKEYMAP	(CMD_NONSTD+2)
#define	CD_SETDEFAULTKEYMAP	(CMD_NONSTD+3)
#define	SGR_PRIMARY	0
#define	SGR_BOLD	1
#define	SGR_ITALIC	3
#define	SGR_UNDERSCORE	4
#define	SGR_NEGATIVE	7
#define	SGR_BLACK	30
#define	SGR_RED	31
#define	SGR_GREEN	32
#define	SGR_YELLOW	33
#define	SGR_BLUE	34
#define	SGR_MAGENTA	35
#define	SGR_CYAN	36
#define	SGR_WHITE	37
#define	SGR_DEFAULT	39
#define	SGR_BLACKBG	40
#define	SGR_REDBG	41
#define	SGR_GREENBG	42
#define	SGR_YELLOWBG	43
#define	SGR_BLUEBG	44
#define	SGR_MAGENTABG	45
#define	SGR_CYANBG	46
#define	SGR_WHITEBG	47
#define	SGR_DEFAULTBG	49
#define	SGR_CLR0	30
#define	SGR_CLR1	31
#define	SGR_CLR2	32
#define	SGR_CLR3	33
#define	SGR_CLR4	34
#define	SGR_CLR5	35
#define	SGR_CLR6	36
#define	SGR_CLR7	37
#define	SGR_CLR0BG	40
#define	SGR_CLR1BG	41
#define	SGR_CLR2BG	42
#define	SGR_CLR3BG	43
#define	SGR_CLR4BG	44
#define	SGR_CLR5BG	45
#define	SGR_CLR6BG	46
#define	SGR_CLR7BG	47
#define	DSR_CPR	6
#define	CTC_HSETTAB	0
#define	CTC_HCLRTAB	2
#define	CTC_HCLRTABSALL	5
#define	TBC_HCLRTAB	0
#define	TBC_HCLRTABSALL	3
#define	M_LNM	20
#define	M_ASM	">1"
#define	M_AWM	"?7"
#endif
