mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ram Gupta <ram.gupta5@gmail.com>
To: pdn <preetham@sasken.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: trapping key press using signals
Date: Mon, 6 Feb 2006 11:36:59 -0600	[thread overview]
Message-ID: <728201270602060936t366f5fdaxb00ca6e96b311c01@mail.gmail.com> (raw)
In-Reply-To: <ds7ggl$jc4$1@ncc-m.sasken.com>

On 2/6/06, pdn <preetham@sasken.com> wrote:
>
> Hi,
>         How do i catch the signals generated by keypress using signals.

Why do you need to catch keypress. Keypress generates interrupts which
are controlled by linux kernel. Then it transmits this character(s) to
the application. Hypothetically it is possible to setup some callback
with kernel so that whenver there is a keypress it handles it & then
invokes the call back. But I doubt if it is done currently.

Regards
Ram Gupta

  reply	other threads:[~2006-02-06 17:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06 12:47 pdn
2006-02-06 17:36 ` Ram Gupta [this message]
2006-05-26  4:50 ` Bharti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=728201270602060936t366f5fdaxb00ca6e96b311c01@mail.gmail.com \
    --to=ram.gupta5@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=preetham@sasken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®