Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2000 09:03:27 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        David O'Brien <obrien@FreeBSD.ORG>
Cc:        Hajimu UMEMOTO <ume@mahoroba.org>, i18n@FreeBSD.ORG, mellon@pobox.com, asami@freebsd.org
Subject:   Re: i18n /bin/[t]csh
Message-ID:  <20000507090327.A47950@freebsd.org>
In-Reply-To: <20000507085334.B5323@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Sun, May 07, 2000 at 08:53:34AM -0700
References:  <vqc4s8cxcwd.fsf@silvia.hip.berkeley.edu> <20000506232135A.ume@mahoroba.org> <20000506102746.C1545@dragon.nuxi.com> <200005061750.e46HoKF91598@peace.mahoroba.org> <20000507085334.B5323@dragon.nuxi.com>

index | next in thread | previous in thread | raw e-mail

On Sun, May 07, 2000 at 08:53:34AM -0700, David O'Brien wrote:
> I just checked and saw there are 11 Japanese Tcsh ports.  Wow!
> Can all the patches be submitted to the Tcsh maintainer?  Can someone
> give me a set of patches to /usr/src/bin/csh/* that will provide knobs to
> effectively build any of these versions?

This patch is enough to fix bad influence of kanji to non-kanji users.
See explanation in my previous message to i18n list.

--- contrib/tcsh/ed.inputl.c.old	Sat Apr 15 08:41:11 2000
+++ contrib/tcsh/ed.inputl.c	Sun May  7 19:40:10 2000
@@ -661,7 +661,11 @@
 	    return num;
 	}
 #ifdef	KANJI
-	if (!adrof(STRnokanji) && (*ch & META)) {
+	if (
+#ifdef DSPMBYTE
+	     _enable_mbdisp &&
+#endif
+	     !adrof(STRnokanji) && (*ch & META)) {
 	    MetaNext = 0;
 	    cmd = F_INSERT;
 	    break;
--- contrib/tcsh/ed.refresh.c.old	Sat Apr 15 08:41:11 2000
+++ contrib/tcsh/ed.refresh.c	Sun May  7 19:40:10 2000
@@ -182,7 +182,11 @@
 	}
     }
 #ifdef KANJI
-    else if (!adrof(STRnokanji)) {
+    else if (
+#ifdef DSPMBYTE
+	     _enable_mbdisp &&
+#endif
+	     !adrof(STRnokanji)) {
 	Vdraw(c);
 	return;
     }
@@ -1264,7 +1268,11 @@
 	PutPlusOne(c);
     }
 #ifdef KANJI
-    else if (!adrof(STRnokanji)) {
+    else if (
+#ifdef DSPMBYTE
+	     _enable_mbdisp &&
+#endif
+	     !adrof(STRnokanji)) {
 	PutPlusOne(c);
     }
 #endif

-- 
Andrey A. Chernov
<ache@nagual.pp.ru>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-i18n" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000507090327.A47950>