Re: ## Capturing ctrl key in linux ##
From: Måns Rullgård (mru_at_kth.se)
Date: 05/29/04
- Previous message: T.M. Sommers: "Re: ## Capturing ctrl key in linux ##"
- In reply to: T.M. Sommers: "Re: ## Capturing ctrl key in linux ##"
- Next in thread: Kevin L: "Re: ## Capturing ctrl key in linux ##"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 17:34:18 +0200
"T.M. Sommers" <tms@nj.net> writes:
> 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.
and ^C will send a SIGINT, unless disabled.
-- Måns Rullgård mru@kth.se
- Previous message: T.M. Sommers: "Re: ## Capturing ctrl key in linux ##"
- In reply to: T.M. Sommers: "Re: ## Capturing ctrl key in linux ##"
- Next in thread: Kevin L: "Re: ## Capturing ctrl key in linux ##"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|