[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Mapping Signal.list to keyboard

Nit Khair

9/27/2008 5:34:00 AM

I've done a lot of searching but can't figure out which signals
correspond to which keyboard characters. The only one's I've figured out
are:
INT - ^C (based on a sample on another thread)
TSTP - ^Z

However, I want my ncurses app to use ^Y, ^Q, ^S etc and these are being
used by Unix itself.

I tried "stty -a" but the codes it gives don't correspond to anything i
can map. e.g. ^Y = dsusp.
--
Posted via http://www.ruby-....