chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.h
index 2f7867d76c53da3db31161e332490ced44db2432..2f8d6c1891ed6020154db33466c8dff65641055f 100644 (file)
@@ -12,6 +12,9 @@
 
 /*
  * $Log$
+ * Revision 1.17  2008/02/26 16:53:24  james
+ * *** empty log message ***
+ *
  * Revision 1.16  2008/02/24 12:22:42  james
  * *** empty log message ***
  *
 #ifndef __VT102_H__
 #define __VT102_H__
 
-#define VT102_CSI_LEN 128
+#define VT102_CMD_LEN 128
 
 #define VT102_ROWS             24
 #define VT102_COLS             80
 #define VT102_STATUS_ROW       24
 
 #define VT102_NMODES           32
-#define VT102_DCA_LEN          16
 
 
 typedef struct
 {
   int in_escape;
-  int in_csi;
-  int in_dca;
-  int ignore_until_bell;
+  int in_cmd;
   
-  int csi_ptr;
-  char csi_buf[VT102_CSI_LEN];
-  int dca_ptr;
-  char dca_buf[VT102_DCA_LEN];
+  int cmd_ptr;
+  int cmd_more_bytes;
+  int cmd_termination;
+  char cmd_buf[VT102_CMD_LEN];
 } VT102_parser;
 
 typedef struct