由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Chinput搞不定了
相关主题
请教如何在NETSCAPE下输入中文Solaris下指定打印机的环境变量是什么?
FreeBSD下能装中文xim吗?equivilent $REMOTEHOST in ksh
How to input Chinese on IRIX关于display的问题
Solaris问题:Login界面问个关于xwin的土问题
about cxterm5.1土土地问一哈:UNIX系统下如何运行APPLET?
[转载] How to turn on Chinese Language in Redhat 7.2?关于X 窗口的问题 ( setenv DISPLAY ... )
Perl: hash numerical sortunix中文打印之合集 (请补充)
可以看别人的环境变量?按你们的经验,这个错误是由什么引起的?
相关话题的讨论汇总
话题: cn话题: lc话题: gb2312话题: zh话题: chinput
进入Unix版参与讨论
1 (共1页)
D****g
发帖数: 2860
1
FreeBSD 4.6, x86,装好了XFree86.中文字体也没有问题.装好了自带的Chinput 2.1
在.cshrc里面也设了locale:
setenv LANG zh_CN.GB2312
setenv LC_ALL zh_CN.GB2312
setenv CHARSET GB2312
setenv XMODIFIERS "@im=Chinput"
locale命令的输出也没有问题:
[*^_^*://braveheart/home/lg]locale
LANG=zh_CN.GB2312
LC_CTYPE="zh_CN.GB2312"
LC_NUMERIC="zh_CN.GB2312"
LC_TIME="zh_CN.GB2312"
LC_COLLATE="zh_CN.GB2312"
LC_MONETARY="zh_CN.GB2312"
LC_MESSAGES="zh_CN.GB2312"
LC_PAPER="zh_CN.GB2312"
LC_NAME="zh_CN.GB2312"
LC_ADDRESS="zh_CN.GB2312"
LC_TELEPHONE="zh_CN.G
xi
发帖数: 1678
2
Share my experience with you --
In FreeBSD, I use
setenv LC_CTYPE zh_CN.EUC.
Check your /usr/share/locale first to see whether you have it (it should
be installed in default).
setenv LANG zh_CN.EUC.
now type "date" to see whether it outputs garbage.
if it is, then your environment is correct.
I saw the FreeBSD source of Chinput and it is obvious that the msg
Please first
"export XMODIFIERS=@im=Chinput"
before run this program
always appears whatever your env variables are.
Grab the foll

【在 D****g 的大作中提到】
: FreeBSD 4.6, x86,装好了XFree86.中文字体也没有问题.装好了自带的Chinput 2.1
: 在.cshrc里面也设了locale:
: setenv LANG zh_CN.GB2312
: setenv LC_ALL zh_CN.GB2312
: setenv CHARSET GB2312
: setenv XMODIFIERS "@im=Chinput"
: locale命令的输出也没有问题:
: [*^_^*://braveheart/home/lg]locale
: LANG=zh_CN.GB2312
: LC_CTYPE="zh_CN.GB2312"

D****g
发帖数: 2860
3
thanks you very much. I set locale to zh_CN.EUC. The date command outputs
the date format in Chinese. But it seems that X does not support the locale,
Here is the output when I tried to run the program you gave me:
Error : XSupportsLocale() !
I ran rxvt as well, I pressed ctrl+space and nothing happened. I tried
ps -axw | grep chinput
and seems that chinput is not running. I tried to lauch chinput manually,
and it reports:
Please first
"export XMODIFIERS=@im=Chinput"
before run this prog

【在 xi 的大作中提到】
: Share my experience with you --
: In FreeBSD, I use
: setenv LC_CTYPE zh_CN.EUC.
: Check your /usr/share/locale first to see whether you have it (it should
: be installed in default).
: setenv LANG zh_CN.EUC.
: now type "date" to see whether it outputs garbage.
: if it is, then your environment is correct.
: I saw the FreeBSD source of Chinput and it is obvious that the msg
: Please first

xi
发帖数: 1678
4
I mean first lanch chinput & and test the program I gave you.

launch chinput first, this shouldn't happen.
this looks like resource.
I believe you didn't add the resources. there should be a resource file
like Chinput.ad in the distribution. type
xrdb -load Chinput.ad before you do everything.
I think LC_anythingelse can be omitted as you use LC_ALL

【在 D****g 的大作中提到】
: thanks you very much. I set locale to zh_CN.EUC. The date command outputs
: the date format in Chinese. But it seems that X does not support the locale,
: Here is the output when I tried to run the program you gave me:
: Error : XSupportsLocale() !
: I ran rxvt as well, I pressed ctrl+space and nothing happened. I tried
: ps -axw | grep chinput
: and seems that chinput is not running. I tried to lauch chinput manually,
: and it reports:
: Please first
: "export XMODIFIERS=@im=Chinput"

1 (共1页)
进入Unix版参与讨论
相关主题
按你们的经验,这个错误是由什么引起的?about cxterm5.1
请问怎么改变屏幕的刷新频率?sun os 2.8, sparc[转载] How to turn on Chinese Language in Redhat 7.2?
question about X-Win32Perl: hash numerical sort
how to setup lib path?可以看别人的环境变量?
请教如何在NETSCAPE下输入中文Solaris下指定打印机的环境变量是什么?
FreeBSD下能装中文xim吗?equivilent $REMOTEHOST in ksh
How to input Chinese on IRIX关于display的问题
Solaris问题:Login界面问个关于xwin的土问题
相关话题的讨论汇总
话题: cn话题: lc话题: gb2312话题: zh话题: chinput