{
struct timeval next = { 0, 0 };
madtty_t *rt;
- int pos = 0;
- char buf[BUFSIZ];
signal(SIGCHLD, sigchld);
/* keep reading keypresses from the user and passing them to the terminal;
* also, redraw the terminal to the window at each iteration */
- pos = 0;
while (!getout) {
fd_set rfds;
struct timeval tv = { 0 , 1000 }, t;