Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37754366
en ru br
ALT Linux repos
S:4.8.30-alt3
5.0: 4.6.2-alt11.pre1
4.1: 4.6.2-alt7.pre1
4.0: 4.6.1r-alt9
3.0: 4.6.1r-alt3

Group :: File tools
RPM: mc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mc-4.7.0.2-alt-esc.patch
Download


diff --git a/lib/tty/key.c b/lib/tty/key.c
index b1064a3..cad63bd 100644
--- a/lib/tty/key.c
+++ b/lib/tty/key.c
@@ -89,7 +89,7 @@ int alternate_plus_minus = 0;
 
 int mou_auto_repeat = 100;
 int double_click_speed = 250;
-int old_esc_mode = 0;
+int old_esc_mode = 1;
 int use_8th_bit_as_meta = 0;
 
 /* This table is a mapping between names and the constants we use
@@ -489,7 +489,7 @@ static key_define_t qansi_key_defines[] = {
 };
 
 /* timeout for old_esc_mode in usec */
-static int keyboard_key_timeout = 1000000;      /* settable via env */
+static int keyboard_key_timeout = 25000;      /* settable via env */
 
 /* This holds all the key definitions */
 static key_def *keys = NULL;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin