From: Sergey Suleymanov Subject: Re: Keymaps SHIFT+F2 with ssh and dosemu console Date: 25 Apr 2002 08:16:58 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <87y9fc9zut.fsf@solt.eatpbank.ru> References: <1019659736.483.14.camel@vaio> Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linux-MSDOS Mailing list >>>>> dosemu writes: dosemu> Dear all, I try to use SHIFT keys with dosemu in console mode dosemu> by a ssh connection and I use loadkeys on the source to do dosemu> this with the configuration : Dosemu 1.0.x recognize Shift+F2 as F12 key. You may patch it: --- dosemu-1.0.2.orig/src/base/keyboard/keyb_slang.c +++ dosemu-1.0.2/src/base/keyboard/keyb_slang.c @@ -432,32 +460,36 @@ {"^(k8)", KEY_F8}, /* F8 */ {"^(k9)", KEY_F9}, /* F9 */ {"^(k;)", KEY_F10}, /* F10 */ - {"^(F1)", KEY_F11}, /* F11 */ - {"^(F2)", KEY_F12}, /* F12 */ + {"^(F1)", KEY_F1 | SHIFT_MASK}, /* F11 aka Shift F1 */ + {"^(F2)", KEY_F2 | SHIFT_MASK}, /* F12 aka Shift F2 */ {"^(kI)", KEY_INS}, /* Ins */ {"^(#3)", KEY_INS|SHIFT_MASK}, /* Shift Insert */ This is a piece of my dosemu-keymap for linux terminal: keycode 60 = F2 shift keycode 60 = F12 control keycode 60 = F22 alt keycode 60 = F32 altgr shift keycode 60 = F12 altgr control keycode 60 = F22 altgr alt keycode 60 = F32 control alt keycode 60 = Console_2 altgr control alt keycode 60 = Console_2 altgr shift control alt keycode 60 = Console_2 string F12 = "\033[24~" string F22 = "\036c\0362" string F32 = "\036a\0362" -- Sergey Suleymanov