From: Ammar Ali Date: 2010-07-14T18:31:02+09:00 Subject: Re: gets() -- Need to skip when no response after 20seconds --0022152d6dddb41943048b55a463 Content-Type: text/plain; charset=UTF-8 On Wed, Jul 14, 2010 at 12:07 PM, Michael Fellinger wrote: > > if select([$stdin], nil, nil, 20) > p gets > end > > IIRC, the last time I tried that on Windows (a while back) the select returned on the first char and then gets acted as usual, blocking until EOL. I would like to know if that actually works. Ammar --0022152d6dddb41943048b55a463--