/*
* $Log$
+ * Revision 1.6 2008/02/06 17:53:28 james
+ * *** empty log message ***
+ *
* Revision 1.5 2008/02/06 15:53:22 james
* *** empty log message ***
*
char csi_buf[VT102_CSI_LEN];
} VT102_parser;
+typedef struct {
+ CRT_Pos pos;
+ int attr;
+ int origin_mode;
+} VT102_State;
+
+
typedef struct
{
CRT_Pos top_margin, bottom_margin;
int pending_wrap;
CRT_Pos pos,current_line;
-
-
+ VT102_State saved;
uint8_t modes[VT102_NMODES];
uint8_t private_modes[VT102_NMODES];
#define VT102_PRIVATE_MODE_ORIGIN_MODE 6
#define VT102_PRIVATE_MODE_AUTO_WRAP 7
#define VT102_PRIVATE_MODE_AUTO_REPEAT 8
+#define VT102_PRIVATE_MODE_SHOW_CURSOR 25
#define VT102_MODE_KEYBOARD_DISABLE 2
#define VT102_MODE_INSERT 4