[PATCH] make old escmode key timeout configurable
- From: Denis Vlasenko <vda port imtp ilyichevsk odessa ua>
- To: mc gnome org
- Cc: Jakub Jelinek <jj sunsite mff cuni cz>, Ching Hui <mr854307 cs nthu edu tw>, Pavel Roskin <proski gnu org>, Norbert Warmuth <nwarmuth privat circular de>, Fred Leeflang <fredl nebula ow org>, Andrej Borsenkow <borsenkow msk sni de>, Miguel de Icaza <miguel ximian com>, "Andrew V.Samoilov" <kai cmail ru>, Radek Doulik <rodo ucw cz>, Pavel Machek <pavel ucw cz>, Janne Kukonlehto <jtklehto paju oulu fi>, Paul Sheer <psheer icon co za>, Mauricio Plaza <mok roxanne nuclecu unam mx>, Dugan Porter <dugan b011 eunet es>
- Subject: [PATCH] make old escmode key timeout configurable
- 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]