this should be simple

bob fcsoft-3Emkkp+1Olsmp8TqCH86vg at public.gmane.org
Tue Jan 18 18:32:53 UTC 2005


Suppose I want to write a very simple Linux C program to detect that the user 
has pressed CTRL (or ALT) and PGUP.

How do I do this?

I remember back to my QNX days that there were term functions which could 
detect this but for the life of me I can't find the Linux equivalent.

Thanks.

bob
PS.
I actually want to do this under ncurses ... but for now I can't even do it 
on a text console with straight forward calls to getchar().
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list