+ -
当前位置:首页 → 问答吧 → [==LFS精华系列==]中文终端rxvt

[==LFS精华系列==]中文终端rxvt

时间:2002-11-24

来源:互联网

就是rxvt,下载地址是: ftp://ftp.rxvt.org/pub/rxvt/rxvt-2.7.9.tar.bz2
安装方法:
./configure --enable-languages --enable-everything --with-encodings=gb --disable-utmp
make
(中间还有一步,我觉得没什么用,是一个它带的钟,如果你要装,就:make clock)
make install
在装好了以后,进入你的/usr/local/bin里,建立一个软链接,因为它的执行文件是rxvt-2.7.9:
ln -s rxvt-2.7.9 rxvt
最后,在你的用户目录下建立一个 .Xresources文件,内容如下:
[tram@~]$ cat .Xresources
Rxvt*background: black
Rxvt*foreground: gray
Rxvt*multichar_encoding: gb
Rxvt*saveLines: 1000
Rxvt*title: Rock eXtreme VT
Rxvt*font: 8x16
[好了,把xterm甩了吧!

作者: tram   发布时间: 2002-11-24

不错,我刚刚在gentoo上装好,也算是解决了"老大难"问题了,
至少不用装cxterm那么个大家伙,hoho
现在的问题是,我用rxvt上bbs还是不能输入中文啊,全是binary, hoho!
(只要不上bbs还是可以 输入中文的),
以后有什么好东西,新发现的话,即时贴上来啊!
^_^

还有你那个.Xresources是干吗的?
我没有好像也能用啊!

作者: lomat   发布时间: 2002-11-24

在我这不用的话,输入中文在rxvt里显示出来是乱码,我找了很长时间才找到这么个文件,呵呵

作者: tram   发布时间: 2002-11-24

tram 你安装rxvt的时候,要不要openMotif-*.*.*这个包啊?
我用gentoo安装的时候,它默认的依赖关系有这个包的,
在lfs下我想不装,不知道可以不可以?

作者: lomat   发布时间: 2002-11-24

刚刚试了一次,可以不要openMotif这个包,同样的用,
而且是没有.Xresources这个文件的话,rxvt就不能正常显示中文,
呵呵,看来gentoo作的依赖关系有些多余(实际上它作的很多的依赖关系都是多余的)
^_^

作者: lomat   发布时间: 2002-11-24

openMotif还没有装过的说,呵呵

作者: tram   发布时间: 2002-11-25

请问各位:讲完话为什么要加上“...的说”?
这是不是一种新的中文句型?

作者: Sworder   发布时间: 2002-12-04

这个我曾经也很不理解,但是bbs上面大家都这么用,也就被同话了。

看多了就习惯了。呵呵。

作者: doooom   发布时间: 2002-12-04

有试过在rxvt下换中文字体的吗
黑呼呼的宋体看着挺不爽的 。。说:)

作者: Glue   发布时间: 2002-12-05

我试过改字体,不过没改好,你可以自己试试,我只能改大小,颜色是可以改的。字体就不太清楚了。

作者: tram   发布时间: 2002-12-05

he following are set in config.h

multichar glyph languages: yes
pty/tty type: GLIBC
utmp support: enabled
utmp file: /var/run/utmp
utmpx file:
wtmp file: /var/log/wtmp
wtmpx file:
lastlog file: /var/log/lastlog
ttys/ttytab file:

*** Please check src/feature.h for further options ***

root:/usr/src/rxvt-2.7.9# make
make: *** No targets. Stop.
root:/usr/src/rxvt-2.7.9#

作者: Debentoo Gao   发布时间: 2002-12-22

好象和我的毛病是一样的
http://www.linuxsir.com/bbs/showthre...threadid=18701

作者: flaboy   发布时间: 2002-12-22

sorry,我上面打字的时候,把disable-utmp打成了disable-ntmp
用前面的那个就能编译了。现在贴子时间太长了,它都不让我改,Gao兄,帮我改改?

作者: tram   发布时间: 2002-12-22

晕倒
改成disable-utmp就ok了?

作者: flaboy   发布时间: 2002-12-22

应该是的,我原来编译的时候,就是一定要disable-utmp才行。我想可能是关于utmp的一些设置还没搞好,要不就是根本不支持。我对这个东东不太明白,好像就是能知道有谁登陆过。

作者: tram   发布时间: 2002-12-22

失败
我以后用gnome的那个终端吧
中文也不错的
背景透明哦 ...

作者: flaboy   发布时间: 2002-12-22

怎么会还不行呢?我那时候因为要在LFS下做记录,不得不找一个中文的term,呵呵。gnome的那个好些,不过rxvt小啊!

作者: tram   发布时间: 2002-12-22

zp:/home/zp/DownSoft/rxvt-2.7.9# make
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src'
gcc -DHAVE_CONFIG_H -g -O2 -DDEBUG_STRICT -I.. -I. -I. -c rxvt.c
In file included from rxvt.c:1:
rxvtlib.h:46: X11/Intrinsic.h: No such file or directory
make[1]: *** [rxvt.o] Error 1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/doc'
/usr/bin/tbl ./rxvt.tbl | grep -v '^.lf' > rxvt.1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/doc'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src/graphics'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src/graphics'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src/test'
zp:/home/zp/DownSoft/rxvt-2.7.9# make clock
(cd rclock; make)
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
cat ./rclock.1.in\
|sed -e 's%@RXVT_VERSION@%2.7.9%g;'\
|sed -e 's%@RXVT_DATE@%04 OCTOBER 2002%g;'\
|sed -e 's%@RXVT_MAINT@%Geoff Wing%g;'\
> rclock.1
gcc -c -I. -I.. -I. -DHAVE_CONFIG_H -g -O2 rclock.c
rclock.c:70: X11/Intrinsic.h: No such file or directory
rclock.c:958: warning: garbage at end of `#ifdef' argument
make[1]: *** [rclock.o] Error 1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
make: *** [clock] Error 2
zp:/home/zp/DownSoft/rxvt-2.7.9# make install
./autoconf/mkinstalldirs /usr/local/bin
./autoconf/mkinstalldirs /usr/local/man/man1
mkdir /usr/local/man/man1
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src'
gcc -DHAVE_CONFIG_H -g -O2 -DDEBUG_STRICT -I.. -I. -I. -c rxvt.c
In file included from rxvt.c:1:
rxvtlib.h:46: X11/Intrinsic.h: No such file or directory
make[1]: *** [rxvt.o] Error 1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/doc'
/usr/bin/install -c -m 644 rxvt.1 /usr/local/man/man1/rxvt.1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/doc'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
gcc -c -I. -I.. -I. -DHAVE_CONFIG_H -g -O2 rclock.c
rclock.c:70: X11/Intrinsic.h: No such file or directory
rclock.c:958: warning: garbage at end of `#ifdef' argument
make[1]: *** [rclock.o] Error 1
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/rclock'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src/graphics'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src/graphics'
make[1]: Entering directory `/home/zp/DownSoft/rxvt-2.7.9/src/test'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/zp/DownSoft/rxvt-2.7.9/src/test'

作者: allen1970   发布时间: 2002-12-23

看起来是缺少/usr/include/X11/Intrinsic.h文件造成的。你是不是少装了什么Xfree的安装包?

作者: kj501   发布时间: 2002-12-23

上bbs输入乱码应该是telnet 的问题,用telnet -8
.Xresources是XFree86的资源文件,指明可用的X资源(还不是特别懂,很多X应用程序都用到X资源

作者: rotation   发布时间: 2002-12-23

转贴一个,呵呵,rxvt早就可以作为中文终端了,你还可以用simsun字体

发信站: BBS 水木清华站 (Fri Dec 20 22:45:07 2002), 转信

这个faq就劳烦斑竹完善了^_^
最好再加一个推荐应用程序列表(按推荐程度排序),例如
相信这样能减少linux版很多重复的问题

* 媒体播放:
1)divx影片:mplayer, xine
2)rm影片:realplayer for linux, mplayer
3)mp3: xmms, winamp3 for linux, mplayer
4)其他格式(wma, wmv, quicktime): mplayer

* 各种格式的文档
1)打开微软的office文档: openoffice, starsuite, kword, abiword
2)查看pdf文件:acroread for linux, xpdf, ggv, kghostview ....
3)查看ps文件: gsview for linux, ggv, kghostview

* 中文输入法: scim, chinput, xsim, wineinput ...
* BBS软件:qterm(qt3), qterm(qt2), {rxvt,xterm,gnome-terminal,...}+BBSbot
* web浏览器:mozilla, konqueror, galeon, pheonix ...
* email软件:evolution, mozilla-mail, mutt ...
* 英汉字典: ibmdict(词库大,英汉,汉英), stardict(屏幕取词)


【 在 luochong (luochong) 的大作中提到: 】
: 1.如何使redhat支持ntfs?
: 答:最简便的方法,单独编译ntfs模块,见ctrl+g+3的1976文
: 2. linux下有qq吗?
: 答:有一个gaim的qq插件GaimQQ,但只支持最基本的收发消息的功能。
: 3. 为什么linux下每隔一段时间硬盘就狂转?
: 答:一般是updatedb在更新文件名数据库,用于"locate 文件名"找到文件。
: 4. redhat 8.0的xmms为什么播放不了mp3?
: 答:由于mp3的license的关系被去掉了,你可以使用老版的xmms或去xmms的主页
: 下一个mp3的插件。
: 等等...

作者: Junlo   发布时间: 2002-12-24

请指教要怎么才能用simsun字体?

作者: tram   发布时间: 2002-12-24

我的rxvt还是装不起来

作者: Debentoo Gao   发布时间: 2002-12-24

flyboy已经装上了啊?出错信息?

作者: tram   发布时间: 2002-12-24

代码:
./configure --enable-languages --enable-everything --with-encodings=gb --disable-utmp
啥毛病没有....

flyboy是who?

作者: flaboy   发布时间: 2002-12-24

我的.Xresources文件
rxvt*geometry: 112x32
rxvt*saveLines: 2048
rxvt*background: white
rxvt*foreground: DimGrey
rxvt*cursorColor: Orchid
rxvt*reverseVideo: True
rxvt*scrollBar: True
rxvt*mapAlert: True
rxvt*multichar_encoding: gb
rxvt*mfont: simsun
当然你的xwindows要有simsun字体

作者: Junlo   发布时间: 2002-12-25

请问,为什么我点开FTP里面没有东西下载

作者: kivenlm2008   发布时间: 2009-07-17

引用:
作者: kivenlm2008
请问,为什么我点开FTP里面没有东西下载
N 年的古墓也挖出来了,你想下什麽?

作者: d00m3d   发布时间: 2009-07-22

引用:
作者: kivenlm2008
请问,为什么我点开FTP里面没有东西下载
http://sourceforge.net/projects/rxvt/
到这里下吧。

作者: 老李飞刀   发布时间: 2009-07-22