Make "old esc mode" key timeout configurable

Denis Vlasenko vda.linux at googlemail.com
Sun Jul 30 12:45:32 UTC 2006


Hello,

I use "old ESC mode" where single ESC works after a delay.

I patched mc to look at KEYBOARD_KEY_TIMEOUT_US environment variable 
so that delay is configurable (instead of hardcoded 0.5 second one).

25 millisecond timeout works just fine on local ttys, serial lines,
and over ssh. So I am setting KEYBOARD_KEY_TIMEOUT_US=25000 in my
login scripts.

Patch is run tested for at two years now.
Please apply.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc_key_timeout.diff
Type: text/x-diff
Size: 952 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060730/bc8ffaa1/attachment.diff>


More information about the mc-devel mailing list