void mainloop(int port1, int port2, int silent, int alpha, long usec_threshold, char *name1, char *name2, char *format)
{
unsigned char c1, c2;
- int last;
int rc;
fd_set rfds;
fd_set efds;
/* need the largest fd for the select call */
biggestfd=port1 > port2 ? port1 : port2;
biggestfd++;
- last=0;
while (!quit) {
/* reset the select set */