Use tmux for sessions.
[profile.git] / .Xdefaults
index 79ec55e..71c2aa6 100644 (file)
@@ -1,5 +1,5 @@
 ! Fix up terminals.
-*colorBD: yellow
+*colorBD: goldenrod
 *colorIT: green
 *colorUL: cyan
 *cursorColor:  green
@@ -28,14 +28,22 @@ Dtterm*dtTermView.marginWidth: 0
 !rxvt.inheritPixmap:   True
 urxvt.foreground:      white
 urxvt.background:      black
+urxvt.borderColor:     black
 urxvt.scrollBar_right: True
-urxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=12:aspect=0.9
+urxvt.font: xft:DejaVu Sans Mono:pixelsize=12:aspect=0.9,xft:AR PL Uming HK
 urxvt.multichar_encoding:      noenc
 urxvt.title:   Penguin terminal
-urxvt.termName: xterm-color
+! Centos5 refuses to read ~/.terminfo and find rxvt-unicode.
+urxvt.termName: xterm-88color
 urxvt.saveLines: 512
 urxvt.scrollstyle: next
-urxvt.answerbackString: PuTTY
+urxvt.secondaryscroll: True
+urxvt.answerbackString: urxvt
+! Change font size.
+urxvt.perl-lib: .urxvt
+urxvt.perl-ext: font
+urxvt.keysym.M-minus: perl:font:smaller
+urxvt.keysym.M-equal: perl:font:bigger
 
 ! transparency
 !rxvt*inheritPixmap:   True
@@ -56,7 +64,7 @@ rxvt-big5*mfont:      -tlc-ming-medium-r-normal-*-16-120-100-100-c-160-big5-0
 rxvt-big5*multichar_encoding:  big5
 rxvt-big5*inputMethod: xcin-big5
 rxvt-big5*title:       Penguin terminal (Big 5)
-rxvt-big5*termName: xterm-color
+!rxvt-big5*termName: xterm-color
 
 !rxvt-gb2312*inheritPixmap:    True
 rxvt-gb2312*reverseVideo:      True
@@ -67,7 +75,7 @@ rxvt-gb2312*mfont: -tlc-song-medium-r-normal-*-14-140-75-75-c-140-gb2312.1980-0
 rxvt-gb2312*multichar_encoding:        gb2312
 rxvt-gb2312*inputMethod:       xcin-gb2312
 rxvt-gb2312*title:     Penguin terminal (GB2312)
-rxvt-gb2312*termName: xterm-color
+!rxvt-gb2312*termName: xterm-color
 
 ! aewm
 Palette.geometry: 1280x30+0+0
@@ -80,5 +88,10 @@ Palette*showGrip: False
 !  <Key>Prior: scroll-back(1,page) \n\
 !  <Key>Next: scroll-forw(1,page) \n
 
-XTerm.*faceName: Bitstream Vera Sans Mono
+XTerm.*faceName: DejaVu Sans Mono
 XTerm.*faceSize: 9
+! Old xterm will fall back to xterm if xterm-256color is not found.
+XTerm.*termName: xterm-256color
+! Red Hat disables window resizing by default.
+XTerm.*allowFontOps: true
+XTerm.*allowWindowOps: true