[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netscape 4.77 and kinput2



ちっとも詳しくないので、状況だけ提供します。まずベースは

[tera]~% /usr/sbin/pkg_info -a | grep suse  
suse_base-6.4nb2    Linux compatibility package
suse_x11-6.4        Linux compatibility package for X11 binaries
suse_compat-6.4     Linux compatibility package with old shared libraries

+  /emul/linux/usr/share/locale/ja_JP.eucJP
   (多分、Do Office に付いてきた Vine 2.1CR から取ったんじゃないかなぁ)

な状態です。

# 一応テストしてみたところ、ja_JP.ujis を ja_JP.eucJP に symbolic link を
# 張っただけではうまく行きませんでした。舛田さんの書いてはる通りに、
# C locale に fall back してしまい、メニューの日本語などが出てきません。

この状態で、前述の日本語化キットをいれたあと、

	export LANG=ja_JP.eucJP; export LC_ALL=${LANG}
	export LC_CTYPE=${LANG}
	export MOZILLA_HOME=/usr/pkg/lib/netscape/communicator-4.77
	export CLASSPATH=.:${MOZILLA_HOME}
	export NS_NETHELP_PATH=${MOZILLA_HOME}/${LANG}
	export XKEYSYMDB=${MOZILLA_HOME}/XKeysymDB
	export XAPPLRESDIR=${MOZILLA_HOME}/${LANG}
	export XCMSDB=/dev/null
	export NS_PLUGINS_DIR=/usr/pkg/lib/netscape/plugins;
	export NPX_PLUGIN_PATH=${NS_PLUGINS_DIR}:${MOZILLA_HOME}/plugins:${HOME}/.netscape/plugins ;
	NETSCAPE=${MOZILLA_HOME}/netscape
	exec  $NETSCAPE "$@"

として起動してます。 libnsfix-ja.so は入れてません。ちなみに
ktrace をかけると次のようになりました。

[tera]~% kdump | grep '/locale/'
 21909 netscape NAMI  "/emul/linux/usr/share/locale/locale.alias"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/locale.alias"
        #       /usr/lib/X11/locale/locale.alias
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_CTYPE"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_CTYPE"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_TIME"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_TIME"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_COLLATE"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_COLLATE"
 21909 netscape NAMI  "/emul/linux/usr/X11R6/lib/X11/locale/locale.alias"
 21909 netscape NAMI  "/usr/X11R6/lib/X11/locale/locale.alias"
 21909 netscape NAMI  "/emul/linux/usr/X11R6/lib/X11/locale/locale.dir"
 21909 netscape NAMI  "/usr/X11R6/lib/X11/locale/locale.dir"
 21909 netscape NAMI  "/emul/linux/usr/X11R6/lib/X11/locale/ja/XLC_LOCALE"
 21909 netscape NAMI  "/usr/X11R6/lib/X11/locale/ja/XLC_LOCALE"
 21909 netscape NAMI  "/emul/linux/usr/X11R6/lib/X11/locale/ja/XLC_LOCALE"
 21909 netscape NAMI  "/usr/X11R6/lib/X11/locale/ja/XLC_LOCALE"
       "*appDir location:     /usr/openwin/lib/locale/ja/netscape
        !Solaris[Sjis]  *appDir location:     /usr/openwin/lib/locale/ja_JP.PCK/netscape
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucJP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja_JP.eucJP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP.eucjp/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja_JP.eucjp/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja_JP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja_JP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja.eucJP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja.eucJP/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja.eucjp/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja.eucjp/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/emul/linux/usr/share/locale/ja/LC_MESSAGES/libc.mo"
 21909 netscape NAMI  "/usr/share/locale/ja/LC_MESSAGES/libc.mo"

Tacha