Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!tokyonet.ad.jp!wincgw1!creamy!icspub!odins-suita!orions-news!icluna!yaku
From: yaku@jedi.seg.kobe-u.ac.jp (Masao Yakushijin)
Newsgroups: fj.sources.d
Subject: Re: [Q]xxgdb Japanease patch?
Message-ID: <951222152012.M0121273@jedi.jedi.seg.kobe-u.ac.jp>
Date: 22 Dec 95 06:20:42 GMT
References: <4bd3nv$ln@cpgcgw.cam.cpg.sony.co.jp>
Sender: news@icluna.kobe-u.ac.jp (news-admin)
Organization: Information Processing Center
Lines: 110
Content-Type: text/plain; charset=ISO-2022-JP
Mime-Version: 1.0
X-Newsreader: mnews [version 1.19] 1995-07/21(Fri)
Xref: galaxy.trc.rwcp.or.jp fj.sources.d:2789
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.sources.d&nb=2789&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BLt;U?@!w?@8MBg$G$9!%(B

<4bd3nv$ln@cpgcgw.cam.cpg.sony.co.jp>$B$K$*$$$F(B
JST$B;~4V(B1995$BG/(B12$B7n(B22$BF|(B($B6b(B)$B!$>>K\$5$s$O=q$-$^$7$?!#(B

  | xxgdb $B$N%P!<%8%g%s$,>e$,$C$F;d$,%3%s%Q%$%k$7$h$&$H$7$?$b$N$O!"(B1.11$B$G$7$?$N$G(B
$BKM$N<j85$K$O!$(B1.12 $B$,$"$j$^$9!%(B11$B7n$K%j%j!<%9$5$l$?$h$&$G$9!%(B

  | $B<j%Q%C%A$rEv$F$F$_$?$N$G$9$,!"(B
  | 
  | XFree86 3.1.1 $B$K$O(B <X11/Xaw/MultiText.h>$B$,$J$$(B
  | 
  | $B$N$G$7$?!#(B
  | $B$[$+$N=j$K(B multiTextWidgetClass $B$NDj5A$,$J$$$+$HC5$7$?$N$G$9$,(B
  | $B8+$D$+$j$^$;$s$G$7$?!#$I$&$9$l$P$$$$$N$G$7$g$&$+!)!)(B
  | multiTextWidgetClass$B$5$($"$l$P$&$^$/$$$-$=$&$J$N$K;DG0$G$9!#(B

XFree86 3.1.1 $B$C$F(B X11R6 $B$G$9$h$M!%(B
$BKM$O(B SunOS-4.1.4 $B$G;H$C$F$$$^$9$,!$(BR6 $B$N(B I18N $B$N8x<0DL$j$K%=!<(B
$B%9$K<j$rF~$l$?$H$3$m!$F|K\8l$bI=<($7$F$/$l$F$$$^$9!%(B

($B8x<0(B)
#include $BL?Na72$K(B
#include <X11/Xlocale.h>
$B$rDI2C$9$k!%(B
main() $B$N$O$8$a$K(B
XtSetLanguageProc(NULL, NULL, NULL);
setlocale(LC_CTYPE, "");
$B$rDI2C$9$k!%(B
app-defaults $B%U%!%$%k$K(B
*international:TRUE
$B$rDI2C$9$k!%(B
($B0J>e(B)

$B0J2<!$%Q%C%A$G$9!%(BI18n $B0J30$N%Q%C%A$b4^$^$l$F$$$^$9!%(B

diff -ru xxgdb-1.12/Imakefile xxgdb-1.12.i18n/Imakefile
--- xxgdb-1.12/ImakefileTue Jun 20 07:20:55 1995
+++ xxgdb-1.12.i18n/ImakefileFri Dec 22 15:17:05 1995
@@ -2,9 +2,9 @@
 #define TARGET_IS_GDB 1
 
 #if TARGET_IS_GDB
-DEFGDB =  -DGDB -DCREATE_IO_WINDOW -g
+DEFGDB =  -DGDB -DNEW_INTERFACE -DCREATE_IO_WINDOW -g
 #else
-DEFGDB = 
+DEFGDB =  -DNEW_INTERFACE
 #endif
 
 #CC = gcc
@@ -16,7 +16,7 @@
 #if defined(SunArchitecture)
 #if OSMajorVersion >= 4
 #if OSMajorVersion == 4 && OSMinorVersion >= 0
-#if OSMinorVersion == 1 &&  OSTeenyVersion == 3
+#if OSMinorVersion == 1 && OSTeenyVersion >= 3
         DEFINES = -DSUNOS4 $(DEFGDB)
 #else
         DEFINES = -DSUNOS4 -DNEED_STRSTR $(DEFGDB)
diff -ru xxgdb-1.12/XDbx.NEW_INTERFACE xxgdb-1.12.i18n/XDbx.NEW_INTERFACE
--- xxgdb-1.12/XDbx.NEW_INTERFACESat Feb 12 02:26:50 1994
+++ xxgdb-1.12.i18n/XDbx.NEW_INTERFACEFri Dec 22 15:12:18 1995
@@ -2,6 +2,7 @@
 ! XXgdb 1.08 Application defaults file with NEW_INTERFACE
 ! (derived from Xdbx 2.1 app-defaults)
 
+*international:TRUE
 *background: snow1
 *foreground: black
 *fileWindow*background:snow2
diff -ru xxgdb-1.12/XDbx.ad xxgdb-1.12.i18n/XDbx.ad
--- xxgdb-1.12/XDbx.adSat Feb 12 02:24:06 1994
+++ xxgdb-1.12.i18n/XDbx.adFri Dec 22 15:13:46 1995
@@ -2,6 +2,7 @@
 ! Xdbx 2.1 Application defaults file
 !
 
+*international:TRUE
 *background: snow1
 *foreground: black
 *fileWindow*background:snow2
diff -ru xxgdb-1.12/defs.h xxgdb-1.12.i18n/defs.h
--- xxgdb-1.12/defs.hSat Dec  3 10:33:33 1994
+++ xxgdb-1.12.i18n/defs.hFri Dec 22 14:44:34 1995
@@ -89,6 +89,7 @@
 #include <X11/Xaw/Toggle.h>
 #include <X11/Xaw/Label.h>
 #include <X11/cursorfont.h>
+#include <X11/Xlocale.h>
 
 #if XtVersion < 11005
 /* incompatibility of header file with X11R4 documentation */
diff -ru xxgdb-1.12/xdbx.c xxgdb-1.12.i18n/xdbx.c
--- xxgdb-1.12/xdbx.cFri Apr 21 11:37:31 1995
+++ xxgdb-1.12.i18n/xdbx.cFri Dec 22 15:17:49 1995
@@ -466,6 +466,9 @@
     
     progname = argv[0];/* (MJH) */
         
+    XtSetLanguageProc(NULL, NULL, NULL);
+    setlocale(LC_CTYPE, "");
+
 #ifndef GDB /* (PW)12MAR93 : for gdb, use pwd command of gdb */
 #ifdef SYSV 
     getcwd((char *)cwd, MAXPATHLEN);

-----
$BLt;U?@(B $B>;IW(B yaku@jedi.seg.kobe-u.ac.jp
$B?@8MBg3X(B $B<+A32J3X8&5f2J(B $B>pJsCNG=9)3X@l96(B M1
