From a7ed7cd4e92b9f9e4a88244086d21cc18e37e088 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 23 Aug 2020 00:27:53 +0300 Subject: nvi: add new package at 1.81.6 --- .../nvi/patches/nvi-06-default_value_escapetime.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editors/nvi/patches/nvi-06-default_value_escapetime.patch (limited to 'editors/nvi/patches/nvi-06-default_value_escapetime.patch') 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 +## +## 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); -- cgit v1.2.3