chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.c
index df7b6b12e02c22098f6ffa1dbbea938ff1534772..586b7d91ccbefbead876589bb4926d56226a8c8c 100644 (file)
@@ -10,6 +10,18 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.29  2008/02/15 03:32:07  james
+ * *** empty log message ***
+ *
+ * Revision 1.28  2008/02/14 10:34:30  james
+ * *** empty log message ***
+ *
+ * Revision 1.27  2008/02/14 02:46:45  james
+ * *** empty log message ***
+ *
+ * Revision 1.26  2008/02/14 01:55:57  james
+ * *** empty log message ***
+ *
  * Revision 1.25  2008/02/13 16:57:29  james
  * *** empty log message ***
  *
@@ -1181,7 +1193,8 @@ vt102_parse_char (Context * c, int ch)
       v->current_line = v->pos;
     }
 
-  vt102_status_line (v, "VT102 foo bar baz I'm the urban spaceman baby");
+  if (c->d)
+    cmd_show_status (c->d, c);
 }
 
 vt102_parse (Context * c, char *buf, int len)
@@ -1205,6 +1218,10 @@ void
 vt102_send (Context * c, uint8_t key)
 {
   uint8_t ch;
+
+  if (!c->t)
+    return;
+
 #if 0
   fprintf (stderr, "vts: %d(%c)\n", key, (key > 31) ? key : ' ');
 #endif
@@ -1403,7 +1420,7 @@ vt102_reset (VT102 * v)
 
   vt102_save_state (v);
 
-  vt102_status_line (v, "VT102 foo bar baz I'm the urban spaceman baby");
+  vt102_status_line (v, "");
 
 }