From: Phanixis Date: 2004-09-06T15:35:11+09:00 Subject: Re: Problem Having Ruby Wait for a User Input The code above is capable of acquiring keyboard inputs, at least within the application that I am using it for. The problem that I am having is getting the code to wait for the user input, by doing something like nesting it in a loop that does not terminate until the variable input is nonzero(but that doesn't seem to work). Like I said before, if the method above is run while the appropriate key is being pressed, it will record the value in the variable input. I just need it to register key inputs over a longer interval of time. Thanks for all the help so far. Also,the first link is still not working for me. Thanks.