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. Advertising

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. Michael Pronath
    Replies:
    1
    Views:
    1,133
    Diez B. Roggisch
    Jan 3, 2005
  2. Jack Orenstein

    threading.Thread vs. signal.signal

    Jack Orenstein, Sep 18, 2005, in forum: Python
    Replies:
    0
    Views:
    445
    Jack Orenstein
    Sep 18, 2005
  3. Weng Tianxiang
    Replies:
    2
    Views:
    630
    Jonathan Bromley
    Jan 30, 2007
  4. Torsten Landschoff

    Concurrent signal assignment vs. port mapping

    Torsten Landschoff, Jul 28, 2008, in forum: VHDL
    Replies:
    1
    Views:
    575
    Mike Treseler
    Jul 28, 2008
  5. giohappy
    Replies:
    5
    Views:
    1,813
    giohappy
    Apr 15, 2009
Loading...

Share This Page