From: Nit Khair Date: 2008-11-04T19:54:09+09:00 Subject: Re: Roguelike project? Michael Fellinger wrote: > On Tue, Nov 4, 2008 at 3:19 PM, Nit Khair wrote: >> Nit Khair wrote: >> >>> Then for kicks, i linked only keyboard.rb to a sample program and with >>> only a couple lines added it worked. Prints out the control keys and ESC >>> key combos. >>> It even gets Esc-a and Esc-A separately - wonderful. (it did hang when >>> ESC was pressed twice). >>> >> Sorry, the hang was due to not setting half-delay. Still want to hear >> from you about alt keys. > > They seem to work for me just fine, what terminal are you using? I am using "screen". Its the only one which supported the F1.. keys. My default xterm-color does not. > You could look which key codes are pushed into the @stack. okay, will try that. -- Posted via http://www.ruby-forum.com/.