From: James Edward Gray II Date: 2004-09-07T00:35:01+09:00 Subject: Re: Problem Having Ruby Wait for a User Input On Sep 5, 2004, at 11:40 PM, Phanixis wrote: > Is just want a single keystroke. The operating system I am using is > Windows XP, but that should not have anything to do with the problem. According to "The Ruby Way", the Windows method for reading a single keystroke is: require "Win32API" char = Win32API.new("crtdll", "_getch", [ ], "L").Call I assume you could wrap that call in a loop, checking for the keys you want. Hope that helps. James Edward Gray II