Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created September 28, 2012 14:46
Show Gist options
  • Select an option

  • Save saitoha/3800311 to your computer and use it in GitHub Desktop.

Select an option

Save saitoha/3800311 to your computer and use it in GitHub Desktop.
Fix timeout for DSR-CPR for mined
Binary files a/src/.mined1.c.un~ and b/src/.mined1.c.un~ differ
diff -urN a/src/mined1.c b/src/mined1.c
--- a/src/mined1.c 2012-09-28 23:43:29.000000000 +0900
+++ b/src/mined1.c 2012-09-28 23:42:59.000000000 +0900
@@ -1340,7 +1340,7 @@
terminal lines can be acquired but the user delay on a
terminal that doesn't respond at all remains acceptable.
*/
-static int escape_delay = 0; /* wait to detect escape sequence */
+static int escape_delay = 30; /* wait to detect escape sequence */
#ifdef vms
static int default_escape_delay = 2000; /* overridden by $ESCDELAY */
#else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment