> Thanks (and thanks to Corinna and Eric) for correcting my misconceptions.
You're welcome. I only wanted to follow up that (I don't know what the heck happened to my head, but) when I was referring to file descriptors, I was consistently and mistakenly using "1" where "0" should have been used: stdin is at "0", and stdout is at "1" (and your code shares input stream with "cat", i.e. fd 0). Apologies. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple