BBS水木清华站∶精华区

发信人: ultrasparc (RISC), 信区: Linux        
标  题: 让GNU Emacs支持XIM!!!  
发信站: BBS 水木清华站 (Thu Dec 14 10:47:29 2000) 
 
标题  让GNU Emacs支持XIM!!! [张贴#: 62536 ] 
作者 hucheng (newbie) 
时间 13/12/00 11:33 PM 
关于软件的关于软件的XIM支持,大家已经讨论很多了,无论是VIM,gedit,koffice都支持 
XIM了,论坛上也有相应的文章讲述如何使XEmacs支持XIM. 
一个偶然的机会发现一个日本人写了个补丁程序使GNU Emacs也支持XIM了,所以赶快拿来 
试一试,还真不错.下面是我的安装过程. 
软件: 
1.emacs-20.7-17.src.rpm;rpmfind.net 
2.emacs20-xim-20000713.tar.gz;http://www.ainet.or.jp/~inoue/software/emacs-x 
im/index-e.html 
安装过程很简单: 
1.rpm -Uvh emacs-20.7-17.src.rpm 
2.tar zxvf emacs20-xim-20000713.tar.gz 
3.cd /usr/src/redhat/SOURCES 
tar zxvf emacs-20.7.tar.gz 
patch < emacs20-xim-20000713.diff 
mv emacs-20.7.tar.gz emacs-20.7.tar.gz.old 
tar zcvf emacs-20.7.tar.gz emacs-20.7 
4.cd /usr/src/redhat/SPECS 
rpm -bb emacs.spec 
5.卸载旧版本的Emacs,安装新版本的Emacs. 
emacs-20.7-17 
emacs-nox-20.7-17 
emacs-X11-20.7-17 
6.vi ~/.emacs,添加如下内容 
;; Chinese Environment 
(set-language-environment 'Chinese-GB) 
(set-keyboard-coding-system 'chinese-iso-8bit) 
(set-default-font "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard" 

好了,现在起动Chinput3.0.1,然后再运行Emacs,Ctrl+Space激活输入法,可以正常输入并 
显示中文了吧?并且最重要的是,绝对没有半字现象!存储的文档可以在其它编辑器中调入 
,没有乱码现象,很爽! 
本文就是在Emacs下用Chinput3.0.1写的,多谢Yong_Q@USTC的帮助. 
 
-- 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.69.205.2] 
发信人: althea (#9 Dream@把梦烧光), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!!  
发信站: BBS 水木清华站 (Thu Dec 14 15:43:49 2000) 
 
gnu emacs 21是支持xim的, 不过我没用过这个功能 
【 在 ultrasparc (RISC) 的大作中提到: 】 
 标题  让GNU Emacs支持XIM!!! [张贴#: 62536 ] 
 作者 hucheng (newbie) 
 时间 13/12/00 11:33 PM 
 关于软件的关于软件的XIM支持,大家已经讨论很多了,无论是VIM,gedit,koffice都支持 
 XIM了,论坛上也有相应的文章讲述如何使XEmacs支持XIM. 
 一个偶然的机会发现一个日本人写了个补丁程序使GNU Emacs也支持XIM了,所以赶快拿来 
 试一试,还真不错.下面是我的安装过程. 
 软件: 
 1.emacs-20.7-17.src.rpm;rpmfind.net 
 2.emacs20-xim-20000713.tar.gz;http://www.ainet.or.jp/~inoue/software/emacs-x 
 im/index-e.html 
 ................... 
 
-- 
Look Ma, this man can twist his fingers as if they were made of rubber, 
isn't that amazing? -- Not really, he's been using emacs for years...! 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.30.51] 
发信人: althea (#9 Dream@把梦烧光), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!!  
发信站: BBS 水木清华站 (Thu Dec 14 15:45:57 2000) 
 
chinput 3.01我这里装不上, 也许是locale没设好.  按chinput 3.01的说明编译locale 
data的时候出错 
【 在 ultrasparc (RISC) 的大作中提到: 】 
 标题  让GNU Emacs支持XIM!!! [张贴#: 62536 ] 
 作者 hucheng (newbie) 
 时间 13/12/00 11:33 PM 
 关于软件的关于软件的XIM支持,大家已经讨论很多了,无论是VIM,gedit,koffice都支持 
 XIM了,论坛上也有相应的文章讲述如何使XEmacs支持XIM. 
 一个偶然的机会发现一个日本人写了个补丁程序使GNU Emacs也支持XIM了,所以赶快拿来 
 试一试,还真不错.下面是我的安装过程. 
 软件: 
 1.emacs-20.7-17.src.rpm;rpmfind.net 
 2.emacs20-xim-20000713.tar.gz;http://www.ainet.or.jp/~inoue/software/emacs-x 
 im/index-e.html 
 ................... 
 
-- 
Look Ma, this man can twist his fingers as if they were made of rubber, 
isn't that amazing? -- Not really, he's been using emacs for years...! 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.30.51] 
发信人: suzhe (烦着呢), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Thu Dec 14 16:55:39 2000) 
 
 
还不错. 比 xemacs-mule 里面那个破破的输入法爽多了. 
 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 gnu emacs 21是支持xim的, 不过我没用过这个功能 
 
 
-- 
Smart Boot Manager -- One of the most powerful Boot Managers in the world! 
 
http://gnuchina.org/~suzhe/ 
http://btmgr.gnuchina.org/ 
http://bootmanager.gnuchina.org/ 
http://btmgr.sourceforge.net/ 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.26.80] 
发信人: althea (#9 Dream@把梦烧光), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Thu Dec 14 17:05:41 2000) 
 
你用的是什么输入法? 
我编译的chinput 3.01好像没法用.  可以运行, 但按Ctrl-Space没有输入条 
【 在 suzhe (烦着呢) 的大作中提到: 】 
 还不错. 比 xemacs-mule 里面那个破破的输入法爽多了. 
 
 
-- 
Look Ma, this man can twist his fingers as if they were made of rubber, 
isn't that amazing? -- Not really, he's been using emacs for years...! 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.30.51] 
发信人: suzhe (烦着呢), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Thu Dec 14 17:06:47 2000) 
 
 
我用的就是 Chinput 3.0.1 呀. 不过我就是在 TLC 6.1 里面用的. 
不知道别的系统下如何. 
 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 你用的是什么输入法? 
 我编译的chinput 3.01好像没法用.  可以运行, 但按Ctrl-Space没有输入条 
 
 
-- 
Smart Boot Manager -- One of the most powerful Boot Managers in the world! 
 
http://gnuchina.org/~suzhe/ 
http://btmgr.gnuchina.org/ 
http://bootmanager.gnuchina.org/ 
http://btmgr.sourceforge.net/ 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.26.80] 
发信人: ultrasparc (RISC), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Thu Dec 14 17:47:43 2000) 
 
Redhat7.0下面可以正常使用。我一直用它(听着怎么象一句电视广告) 
【 在 suzhe (烦着呢) 的大作中提到: 】 
 我用的就是 Chinput 3.0.1 呀. 不过我就是在 TLC 6.1 里面用的. 
 不知道别的系统下如何. 
 
 
-- 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.69.205.2] 
发信人: Walrus (ΡΩΝ), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!!  
发信站: BBS 水木清华站 (Thu Dec 14 18:11:11 2000) 
 
 
我以前编译过一次,好象是支持 XIM 的。 
 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 gnu emacs 21是支持xim的, 不过我没用过这个功能 
 
 
-- 
__          __     _      _____  _    _  _____ 
\ \        / /\   | |    |  __ \| |  | |/ ____| 
 \ \  /\  / /  \  | |    | |__) | |  | | (___ 
  \ \/  \/ / /\ \ | |    |  _  /| |  | |\___ \ 
   \  /\  / ____ \| |____| | \ \| |__| |____) | 
    \/  \/_/    \_\______|_|  \_\\____/|_____/ 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.176.26] 
发信人: ruster (尘埃*沧海任浮沉), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Thu Dec 14 19:01:00 2000) 
 
 
export XMODIFIERS=@im=Chinput用了吗? 
 
 
 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 你用的是什么输入法? 
 我编译的chinput 3.01好像没法用.  可以运行, 但按Ctrl-Space没有输入条 
 
 
-- 
西风扬旧笺,飞雪闭婵娟。 
冰酒独酌意,今宵梦亦寒。 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 202.112.90.69] 
发信人: althea (#9 Dream@把梦烧光), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Fri Dec 15 00:40:19 2000) 
 
执行了, 但是vim(支持xim的版本)执行时显示: 
Input Method Server is not running 
chinput的进程一直在运行的. 是不是一定要装zwincontrol? 
【 在 ruster (尘埃*沧海任浮沉) 的大作中提到: 】 
 export XMODIFIERS=@im=Chinput用了吗? 
 
 
-- 
Look Ma, this man can twist his fingers as if they were made of rubber, 
isn't that amazing? -- Not really, he's been using emacs for years...! 
 
 
※ 修改:·althea 於 Dec 15 00:41:06 修改本文·[FROM:   162.105.30.51] 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.30.51] 
发信人: suzhe (烦着呢), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Fri Dec 15 00:45:04 2000) 
 
 
不用装 zwincontrol, 这只是个控制程序. 
 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 执行了, 但是vim(支持xim的版本)执行时显示: 
 Input Method Server is not running 
 chinput的进程一直在运行的. 是不是一定要装zwincontrol? 
 
 
-- 
Smart Boot Manager -- One of the most powerful Boot Managers in the world! 
 
http://gnuchina.org/~suzhe/ 
http://btmgr.gnuchina.org/ 
http://bootmanager.gnuchina.org/ 
http://btmgr.sourceforge.net/ 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.148.142] 
发信人: althea (#9 Dream@把梦烧光), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Fri Dec 15 00:59:07 2000) 
 
en, 过两天有空再弄它吧.  chinput 3.0.1好用吗? 造词功能怎么样? 
【 在 suzhe (烦着呢) 的大作中提到: 】 
 不用装 zwincontrol, 这只是个控制程序. 
 
 
-- 
Look Ma, this man can twist his fingers as if they were made of rubber, 
isn't that amazing? -- Not really, he's been using emacs for years...! 
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 162.105.30.51] 
发信人: ultrasparc (RISC), 信区: Linux        
标  题: Re: 让GNU Emacs支持XIM!!! 
发信站: BBS 水木清华站 (Fri Dec 15 01:58:14 2000) 
 
还可以,bug比chinput2.0少多了 
【 在 althea (#9 Dream@把梦烧光) 的大作中提到: 】 
 en, 过两天有空再弄它吧.  chinput 3.0.1好用吗? 造词功能怎么样? 
 
 
-- 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.69.197.73] 

BBS水木清华站∶精华区