From: Harry Ohlsen Date: 2001-08-04T11:48:05+09:00 Subject: [ruby-talk:19097] Unbuffered output I'm trying to write a small interactive program that reads commands and executes them (similar to irb, I guess). However, in the main loop I have ... print "-> " to print a prompt, but nothing comes out until after the user has entered something and pressed return. I've tried various things, like ... $stderr.print "-> " print "-> "; $stdout.flush p "-> " but nothing seems to work for me. I'm obviously missing something. I'm running 1.7.1 as built 2001-07-03, in case that's important.