summaryrefslogtreecommitdiff
path: root/shells/tcsh
diff options
context:
space:
mode:
authorhe <he>2012-05-26 08:34:14 +0000
committerhe <he>2012-05-26 08:34:14 +0000
commit1b2132b644981b569afcad03bbb8a6d21b78c5ec (patch)
tree77468aa980230453e8a06a961869b826776247c6 /shells/tcsh
parent91e0e253137388c9c7b99e34cb0547089391af3e (diff)
downloadpkgsrc-1b2132b644981b569afcad03bbb8a6d21b78c5ec.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/tcsh')
-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;