in reply to Re^3: Detecting Timeout of piped data
in thread Detecting Timeout of piped data

Wow, I'm really sorry, I shouldn't be posting when I'm drunk, I thought you were trying to help rather than the guy with the question.

That said, check out what zentara had to say about alarm. Alternatives might be non-blocking reads and using select with a timeout.

Again, sorry, I'll just go away and leave you in peace now ;^)