[slang-users] Keyboard modifiers

John E. Davis davis at space.mit.edu
Thu Jun 29 00:26:19 EDT 2006


On Wed, 28 Jun 2006 11:33:28 +0200, leslie.polzer at gmx.net said:
>Shift+TAB returns the same value as TAB with the terminals I have tested.
>  Is there any way to change this behaviour, apart from switching
>terminals?

   It depends upon the terminal.  If using xterm, try playing with the
   "translations" resource.

>  As a side note, Shift+TAB is working perfectly with some Curses
>application I tested.  Any guess on how they'd do that?

   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.

--John




More information about the slang-users-l mailing list