先对rxvt-unicode和xterm的功能做个对比,都能行的我就不说了。
代码: 全选
rxvt-unicode xterm
速度 快 更快
背景透明 支持 不支持
图片背景 支持 不支持
字体渲染 一般 更好(两者程序实现上不同,我觉得xterm下更漂亮)
Client/Serve模式 支持(urxvtc,urxvtd) 不支持
脚本扩展 urxvtperl 无
颜色 88(可以打256补丁) 256
http://lists.schmorp.de/pipermail/rxvt- ... 00514.html
我的xterm配置如下。
外观:重要点的就xterm-256color那行。
代码: 全选
!look and feel
xterm.termName: xterm-256color
xterm.geometry: 80x36
xterm*scrollBar: false
xterm*rightScrollBar: true
xterm*loginshell: true
xterm*cursorBlink: true
xterm*background: black
xterm*foreground: gray
xterm.borderLess: true
xterm.cursorBlink: true
xterm*colorUL: yellow
xterm*colorBD: white
代码: 全选
!fix alt key input
xterm*eightBitInput: false
xterm*altSendsEscape: true
代码: 全选
!print color and bold/underline attributes
xterm*printAttributes: 2
xterm*printerCommand: cat > ~/xtermdump
代码: 全选
!mouse selecting to copy, ctrl-v to paste
!Ctrl p to print screen content to file
XTerm*VT100.Translations: #override \
Ctrl <KeyPress> V: insert-selection(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
<BtnUp>: select-end(CLIPBOARD,PRIMARY,CUT_BUFFER0) \n\
Ctrl <KeyPress> P: print() \n
代码: 全选
!font and locale
xterm*locale: true
xterm.utf8: true
xterm*utf8Title: true
xterm*fontMenu*fontdefault*Label: Default
xterm*faceName: Monaco:antialias=True:pixelsize=15
!xterm*faceName: monofur:antialias=True:pixelsize=20
!xter*boldFont: DejaVu Sans Mono:style=Bold:pixelsize=15
xterm*faceNameDoublesize: wenquanyi bitmap song:pixelsize=16:antialias=True
xterm*xftAntialias: true
xterm*cjkWidth:false !<-----谢谢xeoc指正
代码: 全选
!-- Tango color scheme
*xterm*color0: #2e3436
*xterm*color1: #cc0000
*xterm*color2: #4e9a06
*xterm*color3: #c4a000
*xterm*color4: #3465a4
*xterm*color5: #75507b
*xterm*color6: #0b939b
*xterm*color7: #d3d7cf
*xterm*color8: #555753
*xterm*color9: #ef2929
*xterm*color10: #8ae234
*xterm*color11: #fce94f
*xterm*color12: #729fcf
*xterm*color13: #ad7fa8
*xterm*color14: #00f5e9
*xterm*color15: #eeeeec
P.S.: 在此向在IRC中被我偷拍的无辜路人致以诚挚的谢意!