aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjames <>2008-02-27 09:43:27 +0000
committerjames <>2008-02-27 09:43:27 +0000
commit5fd44c11631c66cff497fadd9bbc81b77c7509f7 (patch)
tree8af379c5d2c769d9a2c20f0d372e9059e1a44192 /test
parentd6c2a27d3304842fab285a4217518046b57b771b (diff)
downloadsympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.tar.gz
sympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.tar.bz2
sympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.zip
*** empty log message ***
Diffstat (limited to 'test')
-rw-r--r--test/test.c53
1 files changed, 5 insertions, 48 deletions
diff --git a/test/test.c b/test/test.c
index 597a61e..fb77478 100644
--- a/test/test.c
+++ b/test/test.c
@@ -6,11 +6,13 @@
*
*/
-static char rcsid[] =
- "$Id$";
+static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.8 2008/02/27 09:42:22 james
+ * *** empty log message ***
+ *
* Revision 1.7 2008/02/20 20:16:07 james
* *** empty log message ***
*
@@ -49,50 +51,5 @@ static char rcsid[] =
int
main (int argc, char *argv[])
{
-#if 0
- fd_set rfds, wfds;
- ANSI a = { 0 };
- Context c;
-
-
- c.t = ptty_open (NULL, NULL);
- c.v = vt102_new ();
- c.h = history_new (200);
- c.l = file_log_new ("log");
- c.k = keydis_vt102_new ();
-
- terminal_register_handlers ();
- a.terminal = terminal_open (0, 1);
-
- ansi_reset (&a, NULL);
-
- for (;;)
- {
- struct timeval tv = { 10, 0 };
-
- FD_ZERO (&rfds);
- FD_ZERO (&wfds);
-
- tty_pre_select (c.t, &rfds, &wfds);
- tty_pre_select (a.terminal, &rfds, &wfds);
-
-
- select (FD_SETSIZE, &rfds, &wfds, NULL, &tv);
-
- if (FD_ISSET (c.t->rfd, &rfds))
- {
- if (vt102_dispatch(&c)) break;
- }
-
- ansi_dispatch (&a, &c);
- ansi_update (&a, &c);
-
-
- }
-
- ansi_terminal_reset (&a);
- terminal_atexit ();
- printf ("QUAT\n");
-#endif
-return 0;
+ return 0;
}