/*
 * GTERMIO.ESC -- Macros and data defining the escape sequences recognized
 * by the graphics terminal.  Ambiguous cases are resolved in favor of the
 * entry which occurs first in the table.
 */
#define	ESC_SETTEXTMODE		1
#define	ESC_ENQUIRE		2
#define	ESC_READCURSOR		3
#define	ESC_WINCURSOR		4
#define	ESC_CLEARSCREEN		5
#define	ESC_SETCURSOR		6
#define	ESC_SETCHARSIZE0	7
#define	ESC_SETCHARSIZE1	8
#define	ESC_SETCHARSIZE2	9
#define	ESC_SETCHARSIZE3	10
#define	ESC_SETDATALEVEL0	11
#define	ESC_SETDATALEVEL1	12
#define	ESC_SETDATALEVEL2	13
#define	ESC_SETLINESTYLE0	14
#define	ESC_SETLINESTYLE1	15
#define	ESC_SETLINESTYLE2	16
#define	ESC_SETLINESTYLE3	17
#define	ESC_SETLINESTYLE4	18
#define	ESC_SETLINEWIDTH0	19
#define	ESC_SETLINEWIDTH1	20
#define	ESC_SETLINEWIDTH2	21
#define	ESC_SETLINEWIDTHN	22
#define ESC_SETCOLOR0		23
#define ESC_SETCOLOR1		24
#define ESC_SETCOLOR2		25
#define ESC_SETCOLOR3		26
#define ESC_SETCOLOR4		27
#define ESC_SETCOLOR5		28
#define ESC_SETCOLOR6		29
#define ESC_SETCOLOR7		30
#define ESC_SETCOLOR8		31
#define ESC_SETCOLOR9		32
#define ESC_SETCOLORN		33
#define ESC_SETRESET		34
#define ESC_SETRESIZE		35
#define ESC_RASTERINIT		36
#define ESC_CREATERASTER	37
#define ESC_DESTROYRASTER	38
#define ESC_QUERYRASTER		39
#define ESC_SETRASTER		40
#define ESC_WRITEPIXELS		41
#define ESC_READPIXELS		42
#define ESC_REFRESHPIXELS	43
#define ESC_SETPIXELS		44
#define ESC_COPYRASTER		45
#define ESC_WRITECMAP		46
#define ESC_READCMAP		47
#define ESC_LOADCMAP		48
#define ESC_FREECMAP		49
#define ESC_WRITEIOMAP		50
#define ESC_READIOMAP		51
#define ESC_INITMAPPINGS	52
#define ESC_SETMAPPING		53
#define ESC_GETMAPPING		54
#define ESC_ENABLEMAPPING	55
#define ESC_DISABLEMAPPING	56
#define ESC_REFRESHMAPPING	57
#define ESC_FREEMAPPING		58

ESC_SETTEXTMODE,	015, 000, 000, 000, 000, 000,  0,
ESC_ENQUIRE,		ENQ, 000, 000, 000, 000, 000,  0,
ESC_READCURSOR,		SUB, 000, 000, 000, 000, 000,  0,
ESC_WINCURSOR,		'/', SUB, 000, 000, 000, 000,  0,
ESC_CLEARSCREEN,	014, 000, 000, 000, 000, 000,  0,
ESC_SETCURSOR,		'/', 'f', 000, 000, 000, 000,  0,
ESC_SETCHARSIZE0,	'0', 000, 000, 000, 000, 000,  0,
ESC_SETCHARSIZE1,	'1', 000, 000, 000, 000, 000,  0,
ESC_SETCHARSIZE2,	'2', 000, 000, 000, 000, 000,  0,
ESC_SETCHARSIZE3,	'3', 000, 000, 000, 000, 000,  0,
ESC_SETDATALEVEL0,	'/', '0', 'd', 000, 000, 000,  0,
ESC_SETDATALEVEL1,	'/', '1', 'd', 000, 000, 000,  0,
ESC_SETDATALEVEL2,	'/', '2', 'd', 000, 000, 000,  0,
ESC_SETLINESTYLE0,	'`', 000, 000, 000, 000, 000,  0,
ESC_SETLINESTYLE1,	'a', 000, 000, 000, 000, 000,  0,
ESC_SETLINESTYLE2,	'b', 000, 000, 000, 000, 000,  0,
ESC_SETLINESTYLE3,	'c', 000, 000, 000, 000, 000,  0,
ESC_SETLINESTYLE4,	'd', 000, 000, 000, 000, 000,  0,
ESC_SETLINEWIDTH0,	'/', '0', 'w', 000, 000, 000,  0,
ESC_SETLINEWIDTH1,	'/', '1', 'w', 000, 000, 000,  0,
ESC_SETLINEWIDTH2,	'/', '2', 'w', 000, 000, 000,  0,
ESC_SETLINEWIDTHN,	'/', 'n', 'w', 000, 000, 000,  0,
ESC_SETCOLOR0,		'/', '0', 'c', 000, 000, 000,  0,
ESC_SETCOLOR1,		'/', '1', 'c', 000, 000, 000,  0,
ESC_SETCOLOR2,		'/', '2', 'c', 000, 000, 000,  0,
ESC_SETCOLOR3,		'/', '3', 'c', 000, 000, 000,  0,
ESC_SETCOLOR4,		'/', '4', 'c', 000, 000, 000,  0,
ESC_SETCOLOR5,		'/', '5', 'c', 000, 000, 000,  0,
ESC_SETCOLOR6,		'/', '6', 'c', 000, 000, 000,  0,
ESC_SETCOLOR7,		'/', '7', 'c', 000, 000, 000,  0,
ESC_SETCOLOR8,		'/', '8', 'c', 000, 000, 000,  0,
ESC_SETCOLOR9,		'/', '9', 'c', 000, 000, 000,  0,
ESC_SETCOLORN,		'/', 'n', 'c', 000, 000, 000,  0,
ESC_SETRESET,		's', 'r', 'e', 000, 000, 000,  0,
ESC_SETRESIZE,		's', 's', 'z', 000, 000, 000,  0,
ESC_RASTERINIT,		'r', 'i', 'r', 000, 000, 000,  0,
ESC_CREATERASTER,	'r', 'c', 'r', 000, 000, 000,  0,
ESC_DESTROYRASTER,	'r', 'd', 'e', 000, 000, 000,  0,
ESC_QUERYRASTER,	'r', 'q', 'r', 000, 000, 000,  0,
ESC_SETRASTER,		'r', 's', 'r', 000, 000, 000,  0,
ESC_WRITEPIXELS,	'r', 'w', 'r', 000, 000, 000,  0,
ESC_READPIXELS,		'r', 'r', 'd', 000, 000, 000,  0,
ESC_REFRESHPIXELS,	'r', 'r', 'p', 000, 000, 000,  0,
ESC_SETPIXELS,		'r', 's', 'p', 000, 000, 000,  0,
ESC_COPYRASTER,		'r', 'c', 'o', 000, 000, 000,  0,
ESC_WRITECMAP,		'r', 'w', 'c', 000, 000, 000,  0,
ESC_READCMAP,		'r', 'r', 'c', 000, 000, 000,  0,
ESC_LOADCMAP,		'r', 'l', 'c', 000, 000, 000,  0,
ESC_FREECMAP,		'r', 'f', 'c', 000, 000, 000,  0,
ESC_WRITEIOMAP,		'r', 'w', 'o', 000, 000, 000,  0,
ESC_READIOMAP,		'r', 'r', 'o', 000, 000, 000,  0,
ESC_INITMAPPINGS,	'r', 'i', 'm', 000, 000, 000,  0,
ESC_SETMAPPING,		'r', 's', 'm', 000, 000, 000,  0,
ESC_GETMAPPING,		'r', 'g', 'm', 000, 000, 000,  0,
ESC_ENABLEMAPPING,	'r', 'e', 'm', 000, 000, 000,  0,
ESC_DISABLEMAPPING,	'r', 'd', 'm', 000, 000, 000,  0,
ESC_REFRESHMAPPING,	'r', 'r', 'm', 000, 000, 000,  0,
ESC_FREEMAPPING,	'r', 'f', 'm', 000, 000, 000,  0,
