On Tue, Jan 29, 2002 at 02:58:30AM +0900, Yohanes Santoso wrote:
> I'd use gets and puts instead of the more primitive read and write. Using gets and puts, I get the lines as they are being outputted. Ruby 1.6.5.

This doesn't seem to help.  The problem is not in read/write, but in
select(), which doesn't return immediately when data is received.

I should note that I'm running this on Redhat Linux 7.2, kernel 2.4.7.
A Win32 ruby might have different behavior.

Paul