Fwd: [PATCH] make old escmode key timeout configurable
Denis Vlasenko
vda at port.imtp.ilyichevsk.odessa.ua
Mon Oct 25 15:36:49 UTC 2004
Forwarding to mc-devel per suggestion of
Leonard den Ottolander <leonard at den.ottolander.nl>
---------- Forwarded Message ----------
Subject: [PATCH] make old escmode key timeout configurable
Date: Saturday 23 October 2004 21:21
From: Denis Vlasenko <vda at port.imtp.ilyichevsk.odessa.ua>
Hi,
My memories are vague but I think that mc was the very first
Linux app I built from source, so this is a bit nostalgic now :)
I used old_escmode. I did not like 1 second delay and hacked ESCMODE_TIMEOUT
to 10000 usecs. I knew zilch about patches and the process of submitting,
so that change was sitting there in my mc-4.5.51 for years.
Now time has come to compile new mc (for uclibc), and here is the patch
against 4.6.0.
Usage:
$ mc - as usual
$ KEYBOARD_KEY_TIMEOUT_US=25000 mc - ESC acts way faster than before,
annoying 1-second pause is gone
(pause is there but 25 msec only)
Tested. 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/20041025/c844eae2/attachment.diff>
More information about the mc-devel
mailing list