Hi,

I'm trying to get the Shift and Control Function keys to work in a
terminal (SecureCRT) Dosemu session. I got the terminal emulator to
generate distinct escape sequences for the Fkeys and then added
corresponding enties in ./dosemu-1.1.3/src/plugin/keyboard/keyb_slang.c.

Here's a sample of "cat -v" in the terminal session
F11 and F12: ^[[23~^[[24~
Shift F11 and F12: ^[[36~^[[37~
Control F11 and F12: ^[[60~^[[61~

Here are the corresponding entires in keyb_slang.c under 
static Keymap_Scan_Type vtxxx_fkeys[] = :
  {"\033[23~", KEY_F11 },               /* F11 */
  {"\033[24~", KEY_F12 },               /* F12 */

  {"\033[36~", KEY_F11 | SHIFT_MASK },  /* Shift F11 */
  {"\033[37~", KEY_F12 | SHIFT_MASK },  /* Shift F12 */

  {"\033[60~",  KEY_F11 | CTRL_MASK },                /* Ctrl F11 */
  {"\033[61~",  KEY_F12 | CTRL_MASK },                /* Ctrl F12 */

My Foxpro application recognizes the F1-F12 keys fine but not the Shift
or the Control Fkeys. I ran a keyboard scan program in the DOS session
and it does not detect any of the Control or Shift Fkeys either. Where
to look next?

Thanks for any suggestions,
Stephen



-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to