diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2004-03-24 19:48:12 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2004-03-24 19:48:12 +0000 |
commit | 03d8d03e83262baccc8efc6d25465a38d65d8dc3 (patch) | |
tree | f2b1177ba095e0f39f26b93feeb43c2ede1c0c8c | |
parent | df96daf5761726455cc5381a4bbbdb97308e3d38 (diff) | |
download | ports-03d8d03e83262baccc8efc6d25465a38d65d8dc3.tar.gz ports-03d8d03e83262baccc8efc6d25465a38d65d8dc3.zip |
Notes
-rw-r--r-- | shells/zsh+euc_hack/Makefile | 1 | ||||
-rw-r--r-- | shells/zsh+euc_hack/files/patch-Src::Zle::zle_misc.c | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/shells/zsh+euc_hack/Makefile b/shells/zsh+euc_hack/Makefile index 1b8e3827d76c..210437c85ffe 100644 --- a/shells/zsh+euc_hack/Makefile +++ b/shells/zsh+euc_hack/Makefile @@ -8,6 +8,7 @@ MASTERDIR= ${.CURDIR}/../zsh PKGNAMESUFFIX= +euc_hack +PORTREVISION= 1 MAINTAINER= knu@FreeBSD.org COMMENT= The Z shell with EUC encoding support diff --git a/shells/zsh+euc_hack/files/patch-Src::Zle::zle_misc.c b/shells/zsh+euc_hack/files/patch-Src::Zle::zle_misc.c new file mode 100644 index 000000000000..e19b39fefcea --- /dev/null +++ b/shells/zsh+euc_hack/files/patch-Src::Zle::zle_misc.c @@ -0,0 +1,17 @@ +--- Src/Zle/zle_misc.c.orig Mon Sep 10 19:48:51 2001 ++++ Src/Zle/zle_misc.c Thu Mar 25 04:36:46 2004 +@@ -94,6 +94,14 @@ + return ret; + } + if (cs + zmult <= ll) { ++#ifdef ZSH_EUC ++ if (locale_is_euc) { ++ if (zmult == 1 && ++ _mbmap_euc[line[cs]] & _MB1 && ++ _mbmap_euc[line[cs+1]] & _MB2) ++ cs += 1; ++ } ++#endif + cs += zmult; + backdel(zmult); + return 0; |