aboutsummaryrefslogtreecommitdiff
path: root/editors/nvi/patches/nvi-06-default_value_escapetime.patch
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi/patches/nvi-06-default_value_escapetime.patch')
-rw-r--r--editors/nvi/patches/nvi-06-default_value_escapetime.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/nvi/patches/nvi-06-default_value_escapetime.patch b/editors/nvi/patches/nvi-06-default_value_escapetime.patch
new file mode 100644
index 0000000..1800c0c
--- /dev/null
+++ b/editors/nvi/patches/nvi-06-default_value_escapetime.patch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 06default_value_escapetime.dpatch by <hesso@pool.math.tu-berlin.de>
+##
+## DP: Increase the default 'escapetime' setting to accommodate slow lines.
+
+@DPATCH@
+diff -Naur nvi-1.81.6.orig/common/options.c nvi-1.81.6/common/options.c
+--- nvi-1.81.6.orig/common/options.c 2007-11-18 17:41:42.000000000 +0100
++++ nvi-1.81.6/common/options.c 2008-05-01 18:06:18.000000000 +0200
+@@ -356,7 +356,7 @@
+ (void)SPRINTF(b2, SIZE(b2),
+ L("directory=%s"), (s = getenv("TMPDIR")) == NULL ? _PATH_TMP : s);
+ OI(O_TMP_DIRECTORY, b2);
+- OI(O_ESCAPETIME, L("escapetime=1"));
++ OI(O_ESCAPETIME, L("escapetime=3"));
+ OI(O_KEYTIME, L("keytime=6"));
+ OI(O_MATCHTIME, L("matchtime=7"));
+ (void)SPRINTF(b2, SIZE(b2), L("msgcat=%s"), _PATH_MSGCAT);