On Tue, 18 Jun 2002, Roger Ripley wrote:
> I'm using Dosemu 1.1.3.2 with MS-DOS 6.22, and under the
> slang terminal mode, I now have to press ESC twice, in very
> rapid succession, in order for the keypress to be
> registered. This was not an issue with 1.1.3.1 or 1.0.2.
> I have the problem whether TERM=linux or TERM=vt220. The
> easiest way to reduplicate the issue is to press ESC at the
> command.com prompt and see if the "\" and newline show up.
Enabling new keyboard code by default brings more testers and it shows
;)
Anyhow, the following cures it for me:
--- dosemu-1.1.3.2/src/plugin/term/keyb_slang.c Sun May 26 16:57:56 2002
+++ dosemu-1.1.3.3/src/plugin/term/keyb_slang.c Wed Jun 19 00:43:02 2002
@@ -1281,7 +1281,7 @@
keyb_state.kbcount -= keyb_state.Keystr_Len; /* update count */
keyb_state.kbp += keyb_state.Keystr_Len;
- if (key == NULL) {
+ if (key == NULL && symbol != KEY_ESC) {
/* undefined key --- return */
DOSemu_Slang_Show_Help = 0;
keyb_state.kbcount = 0;
Bart
-
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