# Mapping Signal.list to keyboard

**URL:** <https://www.ruby-forum.com/t/mapping-signal-list-to-keyboard/149645>\
**Category:** Ruby\
**Created:** [September 27, 2008, 7:34am UTC](https://www.ruby-forum.com/t/mapping-signal-list-to-keyboard/149645 "2008-09-27T07:34:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sentinel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Post date:** [September 27, 2008, 7:34am UTC](https://www.ruby-forum.com/t/mapping-signal-list-to-keyboard/149645/1 "2008-09-27T07:34:35Z")

</div>

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.
