From: ara.t.howard@... Date: 2006-03-28T14:17:23+09:00 Subject: Re: input without blocking On Tue, 28 Mar 2006, brian yahn wrote: > I'm just trying to get the characters being input into the program and > run it at the same time without a thread. A thread is not needed in c++ > to do this, so I figured it wouldn't be needed in ruby. Maybe ruby > isn't as great as I first thought. probably not: fortytwo :~ > cat a.rb require 'io/nonblock' p STDIN.nonblock{ STDIN.gets } fortytwo :~ > ruby a.rb ruby a.rb