LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: james_su

SCIM 0.3.1 & SCIM-Chinese 0.1.6 发布了。

[复制链接]
发表于 2003-3-3 19:09:33 | 显示全部楼层
真高兴,可以用自己弄的码表输入汉字了,而且还挺好用。
过程很简单,我想这也证明了scim的生命力。
接下来,我准备将win下的输入法码表拿来转化。
发表于 2003-3-3 22:12:29 | 显示全部楼层
win下的输入法码表排列方式不同,先汉字,再编码,如何解决呢?

我也下载了ucdos的五笔码表,好象格式的msdos,所以一直弄不来,请指教。
发表于 2003-3-3 22:44:24 | 显示全部楼层
msdos格式的码表,只是在末尾有几行非法字符,用vi打开它,将末尾几行删除,就可以了。
发表于 2003-3-3 23:57:21 | 显示全部楼层
我今天把G五笔,多能五笔的码表转化成scim的码表。

弄了个脚本,转换起来就快了。
makeIMCfrom.sh
#!/bin/bash
iconv -f GB18030 -t UTF-8 <  $1 > $1.utf8
echo "please edit " $1.utf8
gedit  $1.utf8
scim_make_table $1.utf8  -o  $1.fre  -s material.utf8
scim_make_table $1.fre  -b -o $1.bin
cp $1.bin  /usr/share/scim/tables/

先把加词频的材料转成material.utf8,然后将其它码表XXX
用./makeIMCfrom.sh  xxx
中间有用geit修改格式,
如果是root可以一口气完成。
 楼主| 发表于 2003-3-4 09:46:35 | 显示全部楼层
这种码表最好写个脚本去转换。

最初由 yjmsir 发布
win下的输入法码表排列方式不同,先汉字,再编码,如何解决呢?

我也下载了ucdos的五笔码表,好象格式的msdos,所以一直弄不来,请指教。
发表于 2003-3-4 11:37:52 | 显示全部楼层
苏大哥,我看了你的原码包中的doc/html,这么多的文档你怎么写得过来。真是佩服极了。
 楼主| 发表于 2003-3-4 11:53:11 | 显示全部楼层
用 doxygen 生成的呀!

最初由 yjmsir 发布
苏大哥,我看了你的原码包中的doc/html,这么多的文档你怎么写得过来。真是佩服极了。
发表于 2003-3-4 13:43:27 | 显示全部楼层
最初由 ppip 发布



































** (scim:3708): WARNING **: Cannot open font file for font AR PL KaitiM GB 10

设定 GDK_USE_XFT=0 就可以了.
发表于 2003-3-4 20:26:47 | 显示全部楼层
最初由 james_su 发布
如果你用的是 simple 配置模块的话,配置文件在 ~/.scim/config.*
如果你用的是 gconf 配置模块的话,没有配置文件。最简单的方法是用 gconf-editor 编辑配置。

/FrontEnd/X11/Font  是配置文件里面的一个配置想,你打开配置文件看看就明白了。



gconf-editor???

$gconf-editor
bash: gconf-editor: command not found
-------------------------------------------------------------

when set  'GDK_USE_XFT=0' and run 'scim -c simple',it tell me:

table Server module is successfully loaded.
Loading x11-gtk FrontEnd module ...
Starting SCIM ...
Warning (scim::ConfigBase) : No default int value for key "/FrontEnd/X11/ToolBar/POS_X", using default value.
Warning (scim::ConfigBase) : No default int value for key "/FrontEnd/X11/ToolBar/POS_Y", using default value.
The program 'scim' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 327 error_code 182 request_code 154 minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
-------------------------------------------------------------------------

After i set POS_X and POS_Y and clear the GDK_USE_XFT,

The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 261 error_code 182 request_code 154 minor_code 8)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
-----------------------------------------------------------------------

Oh, forgot to say, may glibc version is 2.3.1.
 楼主| 发表于 2003-3-4 20:30:12 | 显示全部楼层
不知道怎么回事。估计还是你的系统的 glibc/gcc 和我的不兼容。

gconf-editor 是一个程序,你可以在 www.google.com 上搜索一下。或直接去下面的地址下载:

ftp://ftp.gnome.org/pub/GNOME/sources/gconf-editor/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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