public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Escape key problem
@ 2010-02-15 10:30 Javier Tarifa
  2010-02-15 11:19 ` Javier Tarifa
  2010-02-15 11:24 ` Andrew Bird (Sphere Systems)
  0 siblings, 2 replies; 3+ messages in thread
From: Javier Tarifa @ 2010-02-15 10:30 UTC (permalink / raw)
  To: dosEmu-list

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Escape key problem
  2010-02-15 10:30 Escape key problem Javier Tarifa
@ 2010-02-15 11:19 ` Javier Tarifa
  2010-02-15 11:24 ` Andrew Bird (Sphere Systems)
  1 sibling, 0 replies; 3+ messages in thread
From: Javier Tarifa @ 2010-02-15 11:19 UTC (permalink / raw)
  To: dosEmu-list

El 15/02/2010 11:30, Javier Tarifa escribió:
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Escape key problem
  2010-02-15 10:30 Escape key problem Javier Tarifa
  2010-02-15 11:19 ` Javier Tarifa
@ 2010-02-15 11:24 ` Andrew Bird (Sphere Systems)
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Bird (Sphere Systems) @ 2010-02-15 11:24 UTC (permalink / raw)
  To: Javier Tarifa; +Cc: dosEmu-list

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


On Monday 15 February 2010, Javier Tarifa wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-15 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 10:30 Escape key problem Javier Tarifa
2010-02-15 11:19 ` Javier Tarifa
2010-02-15 11:24 ` Andrew Bird (Sphere Systems)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox