From e32ce0cfdccf5240ae29ef06a13078ae37ee521a Mon Sep 17 00:00:00 2001 From: james <> Date: Wed, 13 Feb 2008 16:57:29 +0000 Subject: *** empty log message *** --- src/tty.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/tty.c') diff --git a/src/tty.c b/src/tty.c index e38ee51..72b31a1 100644 --- a/src/tty.c +++ b/src/tty.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.5 2008/02/13 16:57:29 james + * *** empty log message *** + * * Revision 1.4 2008/02/12 22:36:46 james * *** empty log message *** * @@ -17,3 +20,27 @@ static char rcsid[] = "$Id$"; * *** empty log message *** * */ + + + + +void +tty_pre_select (TTY * t, fd_set * rfds, fd_set * wfds) +{ + FD_SET (t->rfd, &rfds); +} + +#if 0 +int +tty_post_select (Context * c, fd_set * rfds, fd_set * wfds) +{ + + if (FD_ISSET (c->t->rfd, rfds)) + { + if (vt102_dispatch (&c)) + return -1; + } + return 0; +} + +#endif -- cgit v1.2.3