[slang-users] Keyboard modifiers

leslie.polzer at gmx.net leslie.polzer at gmx.net
Thu Jun 29 16:03:05 EDT 2006


On Thu, Jun 29, 2006 at 12:26:19AM -0400, John E. Davis wrote:

>    It depends upon the terminal and OS. If using the linux console, an
>    ioctl exists that gives the *current* shift state. However, that is
>    not very robust since it gives the *current* shift state and not
>    the shift state at the time when the key that is currently being
>    processed was pressed.
After gathering up on the mess of Linux keyboard stuff via various
documents and the Midnight Commander source, I found there is no other
way than using the ioctl for Linux VTs and XQueryPointer for X.

  Thanks for the info, John!

    Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.jtan.com/pipermail/slang-users-l/attachments/20060629/9510119d/attachment.bin


More information about the slang-users-l mailing list