Mapping Signal.list to keyboard

Discussion in 'Ruby' started by Nit Khair, Sep 27, 2008.

  1. Nit Khair

    Nit Khair Guest

    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-forum.com/.
     
    Nit Khair, Sep 27, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ramon Felciano

    Pythonic list to bitflag mapping

    Ramon Felciano, Nov 20, 2004, in forum: Python
    Replies:
    4
    Views:
    361
    Ramon Felciano
    Dec 2, 2004
  2. Michael Pronath
    Replies:
    1
    Views:
    1,481
    Diez B. Roggisch
    Jan 3, 2005
  3. Jack Orenstein

    threading.Thread vs. signal.signal

    Jack Orenstein, Sep 18, 2005, in forum: Python
    Replies:
    0
    Views:
    644
    Jack Orenstein
    Sep 18, 2005
  4. Weng Tianxiang
    Replies:
    2
    Views:
    908
    Jonathan Bromley
    Jan 30, 2007
  5. Nicolas Moreau
    Replies:
    9
    Views:
    4,503
  6. Torsten Landschoff

    Concurrent signal assignment vs. port mapping

    Torsten Landschoff, Jul 28, 2008, in forum: VHDL
    Replies:
    1
    Views:
    731
    Mike Treseler
    Jul 28, 2008
  7. dibacco73
    Replies:
    1
    Views:
    867
    joris
    Feb 12, 2009
  8. giohappy
    Replies:
    5
    Views:
    2,129
    giohappy
    Apr 15, 2009
Loading...