[email protected]
[Top] [All Lists]

[PATCH] make old escmode key timeout configurable

Subject: [PATCH] make old escmode key timeout configurable
From: Denis Vlasenko
Date: Sat, 23 Oct 2004 21:21:32 +0300
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

Attachment: mc_key_timeout.diff
Description: Text Data

_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc
<Prev in Thread] Current Thread [Next in Thread>