Date: Mon, 18 Mar 2002 10:30:57 +0000 From: "Liu Siwei" <swliu77@hotmail.com> To: cn-bsd-questions@cn.freebsd.org, x-sb@myrealbox.com Cc: freebsd-questions@freebsd.org Subject: Linux Chinput run on FreeBSD Message-ID: <F265gSca78QcKT7pu9M0001bf75@hotmail.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_78aa_5788_268f Content-Type: text/plain; format=flowed _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ------=_NextPart_000_78aa_5788_268f Content-Type: text/plain; name="dddd.txt"; format=flowed Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="dddd.txt" On Monday 18 March 2002 09:17, List wrote: >本人将这个邮件列表过去的部分共约3.4M查了个遍,仍不能解决中文显示的问题,请各位帮忙,多谢: 你可以使用miniChinput-3.0.2 for Linux(二进制文件,可以在redhat网站上下载得到),然后安装linux_base-7,使用/usr/compat/linux/bin/rpm进行安装miniChinput-0.0.2-1.i386.rpm. 如: /compat/linux/bin/rpm -ivh --nodeps miniChinput-0.0.2-1.i386.rpm 然后在如此安装如下Linux的软件包: imlib-1.9.10-2.i386.rpm libungif-4.1.0-9.i386.rpm libpng-1.0.12-2.i386.rpm libtiff-3.5.5-13.i386.rpm 以上软件包均可在redhat 7.2的两张安装光盘里找到. 我就是用的miniChinput在FreeBSD下的Kmail里回复的这封信. > >本人已安装好FreeBSD Release 4.5, Xfree86(安装盘上自带), KDE 2.2.2, >用KDE自带的浏览器已能正常看英文网页,用下面的方法安装Chinput并按下面的方法设置后,仍然出现 >这样的错误信息:cannot open font ccs16_1. 再看中文网页仍然是一片空白? > >本人/etc/XF86Config中section "Files" >FontPath中已包括“/usr/X11R6/lib/X11/fonts/misc > > > > >From: zmfan <zmfan@sina.com> >To: cn-bsd-questions@cn.freebsd.org >Date: Friday, September 22, 2000, 1:51:34 PM >Subject: FreeBSD 4.1 下 Gnome+chinput 中文方案( 修改) > >===8<==============Original message text=============== >FreeBSD 4.1 下 Gnome+chinput 中文方案 > >以下是我的安装经验,希望能给象我一样想把 FreeBSD 做桌面应用的初学者朋友一 > >点指南.同时也希望得到有经验的高手指正. > >-------------------显示部分------------------- >设置 locale: >修改 /etc/csh.login: >添加: >setenv LANG zh_CN.EUC >setenv MM_CHARSET gb2312.1980-0 > >修改 /root/.cshrc >添加: >setenv LC_CTYPE zh_CN.EUC >setenv LC_ALL zh_CN.EUC > >汉化 Gnome: >cd /usr/X11R6/share/locale >ln -s zh_CN.GB2312 zh_CN.EUC >cd /usr/X11R6/share/gnome >ln -s gtkrc.zh_CN gtkrc.zh_CN.EUC > >详细的设置说明在 /usr/share/doc/handbook 中. >-------------------输入部分------------------- >输入方法 chinput: > ftp://ftp.cn.freebsd.org/pub/ported/zh-chinput-2.1.tar.gz > tar zxfv zh-chinput-2.1.tar.gz > >如果不想每次运行都看到提示的话就注释掉这一行,如下所示:(在 src/chinput.c) > >// msg("Please first\n\t\"export XMODIFIERS=@im=Chinput\"\nbefore run >this program\n"); > > make > make install > >修改 /root/.cshrc: >添加: setenv XMODIFIERS @im=Chinput > >让 GNOME 自动运行 chinput: > 在 Gnome Control Center -> Startup Programs -> add: chinput > >-------------------应用软件------------------- >文本/HTML编辑器推荐: bluefish > >Netscape 4.73/4.75 : >编辑:/root/.Xdefaults >添加: >Netscape*versionLocale: zh_CN.EUC >Netscape*defaultCharset:gb2312.1980-0 >Netscape*fontList:\ >-adobe-helvetica-medium-r-*--14-*-*-*-*-*-*-*;\ >-isas-*-*-*-*--16-*-*-*-*-*-*-*: >Netscape*XmTextField.fontList:\ >-adobe-helvetica-medium-r-*--14-*-*-*-*-*-*-*;\ >-isas-*-*-*-*--16-*-*-*-*-*-*-*: >Netscape*XmText.fontList:\ >-adobe-helvetica-medium-r-*--14-*-*-*-*-*-*-*;\ >-isas-*-*-*-*--16-*-*-*-*-*-*-*: >Netscape*inputMethod: Chinput >Netscape*preeditType: root > >下载安装 Netscape locale 的 patch 包: libxpg4-ns-3.3 >编辑生成 : /usr/local/bin/startns >内容: >#!/bin/csh >setenv LD_PRELOAD /usr/local/lib/aout/libxpg4-ns.so.2.0 >exec netscape & >setenv LD_PRELOAD > >chmod +x /usr/local/bin/startns >启动 Netscape: startns >-------------------参考文件------------------- >RedHat 6.2 中文显示与输入的设置: >http://www.linuxforum.net/doc/c-redhat.html > >---------------------感谢-------------------- >chinput 的作者Yu Mingjian <go.163.com/~yumingjian> >phj <www.cn.freebsd.org/~phj>把 chinput 移植到了 FreeBSD. >twfx<helloworld@ynmail.com> 帮助解决了 Netscape 下使用 chinput 的问题. > > >zmfan@sina.com > > > > >---------------------------------------------------------------- >在回复文章之前,请先查看http://www.cn.FreeBSD.org/freebsd_doc_cn.html >如果想取消订阅本列表的话,将"unsubscribe >cn-bsd-questions"放在邮件的正文中寄到 >majordomo@cn.FreeBSD.org > > >===8<===========End of original message text=========== ------=_NextPart_000_78aa_5788_268f-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F265gSca78QcKT7pu9M0001bf75>