Skip to contentSkip to conversation

Escape key problem

DISCUSSION Javier Tarifa 2 participants 3 messages Feb 15, 2010

lore
Share & tools
lore
#0 lore raw

I don't know if I'm the only one who's experiencing this, but the escape key is very slow to respond in dosemu. When I press the escape key I have to wait almost half second before the program does what's supposed to do. We're accessing it by ssh but the problem also appears on the server if we open dosemu in an xterm. Any ideas on how to solve this? First I thought that this was linux-related, but then again I thought of vim and how you can switch to command mode instantly and without delay when you press escape, so I don't know what's the problem

#1 lore raw
Quoted 1 line · Javier Tarifa

I don't know if I'm the only one who's experiencing this, but the escape key is very slow to respond in dosemu. When I press the escape key I have to wait almost half second before the program does what's supposed to do. We're accessing it by ssh but the problem also appears on the server if we open dosemu in an xterm. Any ideas on how to solve this? First I thought that this was linux-related, but then again I thought of vim and how you can switch to command mode instantly and without delay when you press escape, so I don't know what's the problem

Nevermind, I found that the responsible of this delay is the function sltermio_input_pending. I'll try deleting or lowering the wait and I'll see how it works. --
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

#2 lore raw
In reply to Javier Tarifa

Hi Javier,
I think this is related to the fact that the escape key is used to indicate
the start of a special key sequence(F1,F2 etc) in VT* terminals. I think you can prove this by pressing the ESC key twice in quick succession; it should only send one ESC to the application. Earlier, around dosemu 1.2.2, I did once modify both the terminal program(putty) and dosemu to use the F20 escape sequence to generate ESC. This is fine as a one off, but could never be put into the core dosemu.

Best regards,

Andrew

Quoted 13 lines · Javier Tarifa

I don't know if I'm the only one who's experiencing this, but the escape key is very slow to respond in dosemu. When I press the escape key I have to wait almost half second before the program does what's supposed to do. We're accessing it by ssh but the problem also appears on the server if we open dosemu in an xterm. Any ideas on how to solve this? First I thought that this was linux-related, but then again I thought of vim and how you can switch to command mode instantly and without delay when you press escape, so I don't know what's the problem
--
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