LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 715|回复: 7

fcitx: XNextEvent() doesn't work in Xfree86 4.4?

[复制链接]
发表于 2004-4-15 16:47:46 | 显示全部楼层 |阅读模式
I tried to use fcitx 2.0.1 under yellowdog linux with Xfree86 4.4, but it didn't work. I probed a little bit of the source code and found that the function XNextEvent() could only capture mouse events in fcitx main window. When the focus moved to other windows, there were no responses from XNextEvent() even though there were apparently many events pending.
May be there is an issue of Xfree86 4.4? Could I ask the author take a look at it?
发表于 2004-4-15 17:59:02 | 显示全部楼层
我想应该还是MODIFIERS和locale的问题
 楼主| 发表于 2004-4-15 19:09:41 | 显示全部楼层
刚才系统没有中文,现在我用另外系统。
谢谢你的回复。
想请教一下"MODIFIERS"是指XMODIFIERS吗?它起什么作用?
我系统LOCALE是用GB18030. 我测试了一下,在en_US.UFT-8下fcitx的主窗口也可出来,但就是
XNextEvent()扑捉不到键盘Event,在fcitx主窗口Mouse消息可以检测到。LOCALE会影响XNextEvent()吗?我10多年前是c程序员,现长期不用了。我想若可能,可将fcitx port 到PPC平台。我用fcitx好久了,非常适合我用,我不需那些不必要的功能。

谢谢。
发表于 2004-4-16 08:09:18 | 显示全部楼层
关于移植到PPC上的问题,已经有个帖子在说这个问题了,您不妨看看。
目前的fcitx不支持en_US.UTF-8,不过CVS上的那个已经支持了。请看这个帖子
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=84222
 楼主| 发表于 2004-4-16 16:51:49 | 显示全部楼层
谢谢。等装好X11后,试试OSX。
您说CVS中的fcitx已支持en_US.UTF-8,不知我能否下载?如何下载?
 楼主| 发表于 2004-4-16 20:21:45 | 显示全部楼层
I compiled and installed the cvs' fcitx successfully in my PowerMac G5 running yellowdog liunx. Now I can input Chinese by using en_US-UTF-8 locale, great!
It seems that only Wubi and Erbi are working(I don't know how to use them, unfortunately), the others like Pinyin do not work;The fcitx crashed whenever I tried to input Chinese. I can't expect much from the cvs version, I know. Thanks for the authors.
发表于 2004-4-17 11:16:07 | 显示全部楼层
关于上PPC上的使用,请您再参考上述帖子
 楼主| 发表于 2004-4-18 13:03:18 | 显示全部楼层
谢谢,已经成功。再次谢谢您的帮助。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表