Re: ## Capturing ctrl key in linux ##
From: T.M. Sommers (tms_at_nj.net)
Date: 05/29/04
- Previous message: M.Senthil Kumar: "## Capturing ctrl key in linux ##"
- In reply to: M.Senthil Kumar: "## Capturing ctrl key in linux ##"
- Next in thread: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"
- Reply: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: M.Senthil Kumar: "## Capturing ctrl key in linux ##"
- In reply to: M.Senthil Kumar: "## Capturing ctrl key in linux ##"
- Next in thread: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"
- Reply: Måns Rullgård: "Re: ## Capturing ctrl key in linux ##"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|