Re: ## Capturing ctrl key in linux ##

From: T.M. Sommers (tms_at_nj.net)
Date: 05/29/04

  • Next message: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"
    Date: Sat, 29 May 2004 11:32:28 -0400
    
    

    M.Senthil Kumar wrote:
    > hai all,
    > I'm developing an editor software in linux kernal 2.4 using C.I
    > don't know how to capture Control Key . I want to capture ^F ,
    > ^E,^C,^H for my editor to show menus.I'm using curses laibrary for my
    > software.
    > Will u please help me how to do that.

    man getch

    Specifically, if the user presses ^A, getch() will return 1, if
    ^B, 2, and so on.

    -- 
    Thomas M. Sommers -- tms@nj.net -- AB2SB
    

  • Next message: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"

    Relevant Pages

    • Re: ## Capturing Ctrl key in LINUX ##
      ... M.Senthil Kumar scribbled the following: ... > hai all, ... > I'm developing an editor software in linux kernal 2.4 using C.I ... "Bad things only happen to scoundrels." ...
      (comp.lang.c)
    • Re: ## Capturing Ctrl key in LINUX ##
      ... "M.Senthil Kumar" wrote: ... > I'm developing an editor software in linux kernal 2.4 using C.I ... Consult a newsgroup that deals with your system. ... USE worldnet address! ...
      (comp.lang.c)
    • Re: ## Capturing ctrl key in linux ##
      ... Sommers" writes: ... >> hai all, ... >> I'm developing an editor software in linux kernal 2.4 using C.I ... Måns Rullgård ...
      (comp.unix.programmer)
    • ## Capturing ctrl key in linux ##
      ... hai all, ... I'm developing an editor software in linux kernal 2.4 using C.I ... don't know how to capture Control Key. ... Senthil kumar. ...
      (comp.unix.programmer)