> 
> I've checked a bit. I'm running Ruby from TextPad and capturing output
> there. If I run the code there, I see
> the 'EOFError' output. But if I just open a dos shell and run 
> it, I get the
> _right_ output. Just
> FYI.
> 
Last note about this one. Sorry. Now I see my mistake. I had setup Ruby to
run with -d 
in TextPad.