lkml.org 
[lkml]   [1998]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mediumraw keyboard mode?
Hi!

> The normal level of reading keystrokes is read(0,&c,1), but this does not
> let us see the F-keys, arrow keys, editing keys, etc, nor distinguish the
> numeric keypad digits from the top-rank digits. (Well, it lets us "see"
> these keys, but only through the keymap, in which a single key press might
> emit in a string of several characters.) The point is, the application
> has no way of knowing the user pressed (say) the F7 key, Alt-x, Shift-Insert,
> Ctrl-Page-Up, etc.

Oh yes, you get ^[[18~ for F7 and you get ^[x for Alt-x. And you
generaly do not want to know about other combinations ;-). Biggest
problem is that you want telnet and xterm working.

Pavel
--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.032 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site