Recognizing ALT or Ctrl + letter

This is a discussion on Recognizing ALT or Ctrl + letter within the C Programming forums, part of the General Programming Boards category; Hi I am programming in ncurses, but though I would ask here instead of the linux board. I would like ...

  1. #1
    Microsoft. Who? MethodMan's Avatar
    Join Date
    Mar 2002
    Posts
    1,198

    Recognizing ALT or Ctrl + letter

    Hi

    I am programming in ncurses, but though I would ask here instead of the linux board.

    I would like to recoognize the sequence of Alt or Ctrl plus a specific letter to represent a command.

    I couldnt find anything like this on an ASCII table, is it possible?

    If so how?

    Thanks
    -MethodMan-

    Your Move:Life is a game, Play it; Life is a challenge, Meet it; Life is an opportunity, capture it.

    Homepage: http://www.freewebs.com/andy_moog/home.html

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    to my understaning its not an ascii key...

    so i'd guess it'd be an os specific thing?

    other than that i cant help you.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Check you man page for getch()
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help using strings and mapping
    By trprince in forum C Programming
    Replies: 29
    Last Post: 12-01-2007, 03:01 PM
  2. Grabbing Ctrl and Alt key combinations
    By scorpio_IITR in forum Linux Programming
    Replies: 0
    Last Post: 04-12-2004, 03:01 AM
  3. how to capture CTRL, SHIFT and ALT ?
    By goldenrock in forum C Programming
    Replies: 3
    Last Post: 11-06-2003, 12:20 AM
  4. Trapping Ctrl Alt Delete
    By emus21 in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 09-17-2003, 12:10 PM
  5. arrow keys, ctrl and alt keys
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 04-25-2002, 03:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21