

現在來打造一個屬於自己的xterm吧!
在xterm下輸入:
$ cd ~/ (回到自己的家目錄)
$ touch .Xdefaults (建立一個.Xdefaults 檔案,注意要有".",因為是隱藏檔)
$ vi .Xdefaults (編輯.Xdefaults)
將下面敘述貼上(在vi mode按i,插入模式,用mouse copy下來,按下mouse中鍵)
XTerm*.LoginShell: True
XTerm*background: LightCyan4
XTerm*foreground: white
XTerm*backdrop: white
XTerm*rightScrollBar: True
XTerm*ScrollBar: True
xterm*saveLines: 5000
XTerm*VT100*geometry: 100x55+10+10
然後按下ESC,然後入 : , 然後在:後輸入wq (寫入並離開),
再開啟xterm ,就變成下面的樣子了 ...

其中;
XTerm*background: LightCyan4 (背景為藍綠色)
*顏色表在: /usr/X11R6/lib/X11/rgb.txt
XTerm*foreground: white (前景為白色)
XTerm*backdrop: white (有誰知道?)
XTerm*rightScrollBar: True (右捲軸,這行不輸入,內定是左邊捲軸)
XTerm*ScrollBar: True (捲軸)
xterm*saveLines: 5000 (可上捲行數)
XTerm*VT100*geometry: 100x55+10+10 (開啟視窗位置,及視窗大小)
以上內容參考自:
http://www.osxfaq.com/tips/unix-tricks/week105/tuesday.ws




























































































