From: Robert Klemme Date: 2009-11-21T01:55:09+09:00 Subject: Re: select only taking alternating values? On 11/20/2009 04:12 PM, Dylan Lukes wrote: > The problem in question seems to be that only every OTHER line of > terminal input is handled by elsif input == STDIN. Here is the complete > code, with some masked stuff Think about it for a moment: do you believe that such an obvious error in select could have slipped by all tests? No? OK, I don't either. :-) The bug is with 99% likeliness in your code. You have a bug in your input reading code. Look at how you use gets. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/