LinuxSir.cn,穿越时空的Linuxsir!

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

SCIM 0.99.0 SCIM-CHINESE 0.4.0 SCIM-TABLES 0.4.0 源代码放出。

[复制链接]
发表于 2004-7-4 22:51:26 | 显示全部楼层
老大,能不能,搞一下,让他在E文环境的MSN上也可以使用啊!
 楼主| 发表于 2004-7-4 23:42:20 | 显示全部楼层
Use en_US.UTF-8 locale please.
发表于 2004-7-5 16:25:43 | 显示全部楼层
好的,我下班后,再回家试试
发表于 2004-7-16 02:09:32 | 显示全部楼层
也不知道什么时候能进Debian!
发表于 2004-7-17 14:09:18 | 显示全部楼层
苏大侠,为什么我的SCIM在OO中能正常运行,在其他程序(像kedit、kwrite等甚至mozilla中的地址框也不能输入)中就不好用了呢?
还有我修改了i18n文件,scim不能在启动时运行
i18n文件如下:
LANGUAGE=zh_CN.GB2312:zh_CN:zh
GTK_IM_MODULE=scim   
LC_ADDRESS=zh_CN
LC_COLLATE=zh_CN
XIM=SCIM            
LC_NAME=zh_CN
LC_NUMERIC=zh_CN
LC_MEASUREMENT=zh_CN
LC_TIME=zh_CN
LANG=zh_CN
LC_IDENTIFICATION=zh_CN
LC_MESSAGES=zh_CN
LC_CTYPE=zh_CN
LC_TELEPHONE=zh_CN
CONSOLE_NOT_LOCALIZED=yes
ENC=gb
LC_MONETARY=zh_CN
XIM_PROGRAM="scim -d"  
LC_PAPER=zh_CN
XMODIFIERS="@im=SCIM"  



还有XIM文件我也给修改了,如下:
GNOME_APPLET_CONFIG="$HOME/.gnome/panel.d/default/Applet_Config"

if [ -z "$XIM_PROGRAM" -a -z "$XIM" ]; then
   locale=C
   if [ ! -z "$LC_ALL" ]; then
        locale=$LC_ALL
   elif [ ! -z "$LC_CTYPE" ]; then
        locale=$LC_CTYPE
   elif [ ! -z "$LANG" ]; then
        locale=$LANG
   fi
   case $locale in
    zh_TW*)
        export LC_CTYPE=zh_TW.Big5
        XIM=xcin
        ;;
    zh_CN*)
        XIM=SCIM
        ;;
    ja*)
        XIM=kinput2
        ;;
    ko*)
        XIM=Ami
        ;;
    *)
        XIM=none
        ;;
   esac
fi
if [ -z "$XIM_PROGRAM" ]; then
   case "$XIM" in
    xcin) XIM_PROGRAM=xcin ;;
    SCIM*) XIM_PROGRAM=scim
           XIM_PROG_ARGS="-d" ;;
    kinput2) XIM_PROGRAM=kinput2 ;;
    Ami)
            # now ami determine which mode it will take from $DESKTOP variable
        # (not from this script's first argument given by Xsession script)
        # i think this way seems better.
        # -- Jaegeum --
        case $DESKTOP in
        # Gnome init program automatically restore previous session's
        # ami_applet. If you put ami_applet here, you may experience a lot of
        # repeated error windows that report "an applet died abruptly".
        # so we first check if the ami_applet is referenced in Gnome config
        # files

        # I think removing ` and ` around grep command is more reasonable.
        # -- Jaegeum --
        Gnome|GNOME|gnome)
            if [ -f "$GNOME_APPLET_CONFIG" ] && \
                grep -q '\<ami_applet\>' "$GNOME_APPLET_CONFIG";
            then
                XIM_PROGRAM=/bin/true
            elif [ -x /usr/bin/ami_applet ]; then
                XIM_PROGRAM=ami_applet
            else
                XIM_PROGRAM=ami
            fi ;;
        # Now new wmami supports KDE2 docking mode.
        # XIM_PROG_ARGS variable is added to send xim's arguments if
        # they are needed.
        # -- Jaegeum --
        KDE|Kde|kde)
                        XIM_PROGRAM=wmami
                        XIM_PROG_ARGS="-wait" ;;
        WindowMaker|WINDOWMAKER|Windowmaker|windowmaker)
                        XIM_PROGRAM=wmami
                        XIM_PROG_ARGS="-wait" ;;
        # Following three WM entries should be added
        # because that wmami supports them is already well known fact.
        # -- Jaegeum --
        AfterStep|AFTERSTEP|Afterstep|afterstep)
                        XIM_PROGRAM=wmami
                        XIM_PROG_ARGS="-wait" ;;
        Enlightenment|ENLIGHTENMENT|enlightenment)
                        XIM_PROGRAM=wmami
                        XIM_PROG_ARGS="-wait" ;;
        BlackBox|BLACKBOX|Blackbox|blackbox)
                        XIM_PROGRAM=wmami
                        XIM_PROG_ARGS="-wait" ;;
        *)
                        XIM_PROGRAM=ami ;;
        esac ;;
    *) XIM_PROGRAM=/bin/true ;;
   esac
fi
[ -z "$XMODIFIERS" -a -n "$XIM" ] && export XMODIFIERS="@im=$XIM"

if which $XIM_PROGRAM >/dev/null 2>/dev/null
then
    # minichinput has problems running on utf-8 locales
    if [ "$XIM_PROGRAM" = "SCIM" ] ; then
        case "$LANG" in
            zh_TW*|zh_HK*) LANG=zh_TW LC_ALL=zh_TW scim $XIM_PROG_ARGS &
                ;;
            *) LANG=zh_CN LC_ALL=zh_CN scim $XIM_PROG_ARGS &         
                ;;
        esac
    else
        $XIM_PROGRAM $XIM_PROG_ARGS &
    fi
fi
发表于 2004-7-17 14:10:33 | 显示全部楼层
苏大侠,我的系统是Mandrake Official 10.0
发表于 2004-7-17 21:16:19 | 显示全部楼层

my os is debian

i downloaded scim-0.99..tar.gz and scim-chinese-0.4.0.tar.gz.

the step installed the scim-0.99.3:
./configure --prefix=/usr
make
make install

the step installed the scim-chinese-0.4.0:
./configure --prefix=/usr
make
make install

and i put :
export LANG=zh_CN.UTF-8
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
scim -d
into ~/.bashrc

when reboot system,i can't use input chinese,scim can't  load
the chinese module~!

HELP ME PLEASE!!!!How to deal with the problem??
发表于 2004-7-19 14:52:44 | 显示全部楼层

No input panel shows

Hi,
I've installed scim 0.99 under RH9 with FVWM, and try the following command:
GTK_IM_MODULE=scim XMODIFIERS=@im=SCIM scim -d

then open gedit, and try control+space, but no input-panel shows up, then I tried command: ps aux | grep scim

qinfeng   3842  0.0  3.5 21316 9248 ?        S    14:47   0:00 /usr/libexec/scim-launcher-daemon simple all socket 0 none stderr --no-stay
qinfeng   3844  0.4  1.0 15780 2680 ?        S    14:47   0:00 /usr/libexec/scim-launcher-daemon socket socket x11 0 none stderr
qinfeng   3846  4.1  2.6 21792 6756 ?        S    14:47   0:01 /usr/libexec/scim-panel-gtk -c socket -o none -d --no-stay

Could you help me to check it?
发表于 2004-7-23 00:03:34 | 显示全部楼层
scim 0.99.2 mdk contrib
导致无法启动gedit等gtk2程序
终端信息停止在
scim:im_mo***
具体忘记了
发表于 2004-8-4 13:46:51 | 显示全部楼层
在启动SCIM时出现这错误讯息,请问是怎么回事?要如何解决呢?

scim-setup: relocation error: /usr/lib/libscim-1.0.so.0: symbol _ZN9__gnu_cxx18__exchange_and_addEPVii, version GLIBCXX_3.4 not defined in file libstdc++.so.6 with link time reference
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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