I'm still struggling with producing RubyStudio. The following example
illustrates my dilemma:

This works from the shell:
$stdout.print "Enter a string:"
a = $stdin.gets

But hangs the thread in RubyStudio that's waiting to see some output from
Ruby. This however works in both environments:

$stdout.print "Enter a string:"
$stdout.flush
a = $stdin.gets

What I can't figure out is why Ruby behaves differently depending on how it
was launched. Does tcsh set some environmental variable that tells Ruby not
to buffer output? I printed out man tcsh but it's a small book without an
index. Please help.

TIA
Chris
-- 
C++: The power, elegance and simplicity of a hand grenade.