btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / terminal / VTparse.h
blobb0342a2a6e99813ebeef8a857e580f45b433fc6a
1 /*
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.
7 * Authors:
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
16 #define CASE_IGNORE 3
17 #define CASE_BELL 4
18 #define CASE_BS 5
19 #define CASE_CR 6
20 #define CASE_ESC 7
21 #define CASE_VMOT 8
22 #define CASE_TAB 9
23 #define CASE_LF 10
24 #define CASE_LS0 11
25 #define CASE_LS1 12
26 #define CASE_SP 13
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
32 #define CASE_ICH 23
33 #define CASE_CUU 24
34 #define CASE_CUD 25
35 #define CASE_CUF 26
36 #define CASE_CUB 27
37 #define CASE_CUP 28
38 #define CASE_ED 29
39 #define CASE_EL 30
40 #define CASE_IL 31
41 #define CASE_DL 32
42 #define CASE_DCH 33
43 #define CASE_DA1 34
44 #define CASE_TRACK_MOUSE 35
45 #define CASE_TBC 36
46 #define CASE_SET 37
47 #define CASE_RST 38
48 #define CASE_SGR 39
49 #define CASE_CPR 40
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
55 #define CASE_DECSC 47
56 #define CASE_DECRC 48
57 #define CASE_DECKPAM 49
58 #define CASE_DECKPNM 50
59 #define CASE_IND 51
60 #define CASE_NEL 52
61 #define CASE_HTS 53
62 #define CASE_RI 54
63 #define CASE_SS2 55
64 #define CASE_SS3 56
65 #define CASE_CSI_STATE 57
66 #define CASE_OSC 58
67 #define CASE_RIS 59
68 #define CASE_LS2 60
69 #define CASE_LS3 61
70 #define CASE_LS3R 62
71 #define CASE_LS2R 63
72 #define CASE_LS1R 64
73 #define CASE_PRINT 65
74 #define CASE_XTERM_SAVE 66
75 #define CASE_XTERM_RESTORE 67
76 #define CASE_XTERM_TITLE 68
77 #define CASE_DECID 69
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 ?
89 #define CASE_VPA 87
90 #define CASE_HPA 88
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
98 #define CASE_CBT 95
99 #define CASE_CNL 96
100 #define CASE_CPL 97
101 #define CASE_CFT 98
102 #define CASE_INDEX 99
103 #define CASE_NEXT_LINE 100