4 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
15 * Revision 1.11 2008/02/08 15:06:42 james
16 * *** empty log message ***
18 * Revision 1.10 2008/02/07 12:16:04 james
19 * *** empty log message ***
21 * Revision 1.9 2008/02/07 01:57:46 james
22 * *** empty log message ***
24 * Revision 1.8 2008/02/07 00:39:13 james
25 * *** empty log message ***
27 * Revision 1.7 2008/02/06 20:26:58 james
28 * *** empty log message ***
30 * Revision 1.6 2008/02/06 17:53:28 james
31 * *** empty log message ***
33 * Revision 1.5 2008/02/06 15:53:22 james
34 * *** empty log message ***
36 * Revision 1.4 2008/02/06 11:30:37 james
37 * *** empty log message ***
39 * Revision 1.3 2008/02/04 20:23:55 james
40 * *** empty log message ***
42 * Revision 1.2 2008/02/04 02:05:06 james
43 * *** empty log message ***
45 * Revision 1.1 2008/02/03 23:36:41 james
46 * *** empty log message ***
53 #define VT102_CSI_LEN 128
57 #define VT102_STATUS_ROW 24
59 #define VT102_NMODES 32
66 char csi_buf[VT102_CSI_LEN];
81 CRT_Pos top_margin, bottom_margin;
82 CRT_Pos screen_start, screen_end;
89 CRT_Pos pos, current_line;
93 uint8_t modes[VT102_NMODES];
94 uint8_t private_modes[VT102_NMODES];
96 uint8_t tabs[VT102_COLS];
98 int application_keypad_mode;
103 #define VT102_PRIVATE_MODE_CURSOR_MODE 1
104 #define VT102_PRIVATE_MODE_VT52 2
105 #define VT102_PRIVATE_MODE_132COLS 3
106 #define VT102_PRIVATE_MODE_SMOOTH_SCROLL 4
107 #define VT102_PRIVATE_MODE_REVERSE_SCREEN 5
108 #define VT102_PRIVATE_MODE_ORIGIN_MODE 6
109 #define VT102_PRIVATE_MODE_AUTO_WRAP 7
110 #define VT102_PRIVATE_MODE_AUTO_REPEAT 8
111 #define VT102_PRIVATE_MODE_SHOW_CURSOR 25
113 #define VT102_MODE_KEYBOARD_DISABLE 2
114 #define VT102_MODE_INSERT 4
115 #define VT102_MODE_LOCAL_ECHO_OFF 12
116 #define VT102_MODE_NEWLINE_MODE 20
118 #endif /* __VT102_H__ */