My program is written in Ruby in the windows, the program runs in the 
console, I need to put it in a loop, but if i use key "q" loop cycle 
stops.
loop do
break if ....... (key command need)
end

-- 
Posted via http://www.ruby-forum.com/.