xterm初看很简陋,但稍加配置你就会发现xterm其实美观实用!记下配置以备用:
>cat ~/.Xdefaults
XTerm*termName: xterm-color
XTerm*visualBell: false
XTerm*marginBell: false
XTerm*alwaysHighlight: false
Xft.dpi:96
xpdf.title: PDF
XTerm*locale: true
xterm.utf8: true
XTerm*utf8Title: true
xterm*xftAntialias: true
XTerm*fontMenu*fontdefault*Label: Default
XTerm*faceName: Bitstream Vera Sans Mono:antialias=True:pixelsize=15
XTerm*faceSize: 12
XTerm*faceSize1: 12
XTerm*faceSize2: 12
XTerm*faceSize3: 12
XTerm*faceSize4: 12
XTerm*faceSize5: 12
XTerm*faceSize6: 12
XTerm.cjkWidth:true
XTerm*background: black
XTerm*foreground: green
XTerm*scrollBar: falseXTerm*rightScrollBar: false
XTerm*jumpScroll: true
XTerm*scrollKey: false
XTerm*scrollTtyOutput: false
XTerm*SaveLines: 1000
!中文支持
xterm*faceNameDoublesize: wenquanyi bitmap song:pixelsize=16:antialias=True
XTerm*XimFont: -wenquanyi-wenquanyi bitmap song-medium-r-normal--16-160-75-75-p-80-iso10646-1
XTerm*loginShell: true
xterm.geometry: 80x36
xterm.borderLess: true
xterm.cursorBlink: false
xterm*colorUL: yellow
xterm*colorBD: white
!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