Hm, I don't understand that. In which situation won't stdin be a tty? I've seen Zmodem used over pipes and fifos (don't ask why...), and I've also used it over UDP sockets... -- Howard