linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Ameer Armaly <ameer@charter.net>
Cc: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: Re: intercepting alt key and arrows
Date: Mon, 6 Sep 2004 18:11:50 +0200	[thread overview]
Message-ID: <20040906161150.GB6985@lug-owl.de> (raw)
In-Reply-To: <003101c49428$31be1500$0200a8c0@haneyhbmu5pv2g>

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

On Mon, 2004-09-06 11:43:02 -0400, Ameer Armaly <ameer@charter.net>
wrote in message <003101c49428$31be1500$0200a8c0@haneyhbmu5pv2g>:
> Hi all.
> What is the best way to intercept the alt key as well as the arrow keys? as
> far as I know they don't have ascii values.

Enable raw mode and interpret the input stream on your own.

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-09-06 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 15:43 intercepting alt key and arrows Ameer Armaly
2004-09-06 16:11 ` Jan-Benedict Glaw [this message]

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=20040906161150.GB6985@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=ameer@charter.net \
    --cc=linux-c-programming@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).