summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2012-05-26 08:34:14 +0000
committerhe <he@pkgsrc.org>2012-05-26 08:34:14 +0000
commit8716a755d2cd2b95adbfaf9c1435b1abb1cd86f1 (patch)
tree77468aa980230453e8a06a961869b826776247c6 /shells
parentf440ce2224f482b235c708d656fa857342221b8d (diff)
downloadpkgsrc-8716a755d2cd2b95adbfaf9c1435b1abb1cd86f1.tar.gz
Add a patch to fix issue with Meta-<key> no longer being recognized.
Patch from christos@. (Sorry for overlooking "cvs add" earlier...)
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/patches/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/tcsh/patches/patch-ac b/shells/tcsh/patches/patch-ac
new file mode 100644
index 00000000000..d68868ef70e
--- /dev/null
+++ b/shells/tcsh/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.15 2012/05/26 08:34:14 he Exp $
+
+Fix problem with Meta-<key> no longer being recognized,
+patch from christos@.
+
+--- ed.inputl.c.orig 2010-12-22 17:26:04.000000000 +0000
++++ ed.inputl.c
+@@ -683,7 +683,7 @@ GetNextCommand(KEYCMD *cmdnum, Char *ch)
+ #ifdef DSPMBYTE
+ _enable_mbdisp &&
+ #else
+- MB_CUR_MAX == 1 &&
++ MB_LEN_MAX == 1 &&
+ #endif
+ !adrof(STRnokanji) && (*ch & META)) {
+ MetaNext = 0;