2010/6/28 Thomas Secret <martin.gerdes / directbox.com>:
> Thank you for your answer.

You're welcome.

> I've now done precisely what I had hoped to avoid: Keep polling for new
> input, and pass on anything I get. As I don't control the child,
> apparently the only thing I can do. At least it works...

IMHO "polling" is not exactly the right term for this.  Rather you
read and block until more data is available - unless you use non
blocking IO.

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/