From: ts Date: 2003-05-17T23:30:58+09:00 Subject: Re: select strange behavier >>>>> "S" == Simon Strandgaard <0bz63fz3m1qt3001@sneakemail.com> writes: S> The code you see in the initial post was/is an attempt to make S> the following code: buffered. The code is fine (you don't need to test for EOF) IO#read return nil at EOF IO#write(nil) call nil.to_s which give a String with length == 0 ==> IO#write do nothing Guy Decoux