From: "Jan E." Date: 2012-10-28T20:11:50+09:00 Subject: Re: How to restore input from within a loop or similar? Hi, so you want to pass control back to the loop from within the select() method? That's not directly possible, because the method isn't aware of the outer context. What you could do is let the method return a specific "stop value" (e. g. nil) and then do a "next" inside the loop body to jump to the next iteration: next if select([$stdin], nil, nil, 1.5).nil? But I'm not really sure what your code looks like and what you want. -- Posted via http://www.ruby-forum.com/.