2 * Copyright (c) 2003-4 Kian Duffy <myob@users.sourceforge.net>
3 * Parts Copyright (C) 1998,99 Kazuho Okui and Takashi Murai.
5 * Distributed under the terms of the MIT License.
8 * Kian Duffy, myob@users.sourceforge.net
9 * Siarzhuk Zharski, zharik@gmx.li
13 #define CASE_GROUND_STATE 0
14 #define CASE_IGNORE_STATE 1
15 #define CASE_IGNORE_ESC 2
27 #define CASE_SCR_STATE 14
28 #define CASE_ESC_IGNORE 19
29 #define CASE_ESC_DIGIT 20
30 #define CASE_ESC_SEMI 21
31 #define CASE_DEC_STATE 22
44 #define CASE_TRACK_MOUSE 35
50 #define CASE_DECSTBM 41
51 #define CASE_DECREQTPARM 42
52 #define CASE_DECSET 43
53 #define CASE_DECRST 44
54 #define CASE_DECALN 45
57 #define CASE_DECKPAM 49
58 #define CASE_DECKPNM 50
65 #define CASE_CSI_STATE 57
74 #define CASE_XTERM_SAVE 66
75 #define CASE_XTERM_RESTORE 67
76 #define CASE_XTERM_TITLE 68
78 #define CASE_HP_MEM_LOCK 70
79 #define CASE_HP_MEM_UNLOCK 71
80 #define CASE_HP_BUGGY_LL 72
81 #define CASE_SCS_STATE 79
82 #define CASE_UTF8_2BYTE 80
83 #define CASE_UTF8_3BYTE 81
84 #define CASE_UTF8_INSTRING 82
85 #define CASE_SJIS_INSTRING 83
86 #define CASE_SJIS_KANA 84
87 #define CASE_PRINT_GR 85
88 // additions, maybe reorder/reuse older ones ?
92 #define CASE_SU 89 /* scroll screen up */
93 #define CASE_SD 90 /* scroll screen down */
94 #define CASE_ECH 91 /* erase characters */
96 #define CASE_DECSCUSR_ETC 93
97 #define CASE_CSI_SP 94
102 #define CASE_INDEX 99
103 #define CASE_NEXT_LINE 100