I could not compile this on my (SYSV) 3b1, because gcc could not find TCIFLUSH. Neither could I. What am I missing here. BTW, what's tcflush()? It's the function being called with the above symbol, but I don't know anything else.