From: ts Date: 2001-08-04T18:27:05+09:00 Subject: [ruby-talk:19116] Re: Unbuffered output >>>>> "H" == Harry Ohlsen writes: H> However, in the main loop I have ... H> print "-> " H> to print a prompt, but nothing comes out until after the user has entered H> something and pressed return. Try something like this begin print "-> " $defout.flush end while gets Guy Decoux