From: Chris Gehlker Date: 2002-02-21T04:37:40+09:00 Subject: Now I'm really confused! 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.