linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* intercepting alt key and arrows
@ 2004-09-06 15:43 Ameer Armaly
  2004-09-06 16:11 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 2+ messages in thread
From: Ameer Armaly @ 2004-09-06 15:43 UTC (permalink / raw)
  To: linux-c-programming

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: intercepting alt key and arrows
  2004-09-06 15:43 intercepting alt key and arrows Ameer Armaly
@ 2004-09-06 16:11 ` Jan-Benedict Glaw
  0 siblings, 0 replies; 2+ messages in thread
From: Jan-Benedict Glaw @ 2004-09-06 16:11 UTC (permalink / raw)
  To: Ameer Armaly; +Cc: linux-c-programming

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-06 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-06 15:43 intercepting alt key and arrows Ameer Armaly
2004-09-06 16:11 ` Jan-Benedict Glaw

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).