Handle case where become script is unreadable.
[profile.git] / .Xdefaults
index a4b6612..8675aa0 100644 (file)
@@ -26,17 +26,25 @@ Dtterm*dtTermView.marginWidth: 0
 
 ! transparency
 !rxvt.inheritPixmap:   True
-urxvt.foreground:      white
-urxvt.background:      black
-urxvt.scrollBar_right: True
-urxvt.secondaryScroll: True
-urxvt.font: xft:DejaVu Sans Mono:pixelsize=12:aspect=0.9
-urxvt.multichar_encoding:      noenc
-urxvt.title:   Penguin terminal
-!urxvt.termName: xterm-color
-urxvt.saveLines: 512
-urxvt.scrollstyle: next
-urxvt.answerbackString: urxvt
+URxvt.foreground:      white
+URxvt.background:      [70]black
+URxvt.highlightColor:  [90]#8080ff
+URxvt.depth:   32
+URxvt.borderColor:     [70]black
+URxvt.scrollBar_right: True
+URxvt.font: xft:DejaVu Sans Mono:pixelsize=12,xft:AR PL Uming HK
+URxvt.multichar_encoding:      noenc
+URxvt.title:   Penguin terminal
+! Centos5 refuses to read ~/.terminfo and find rxvt-unicode.
+URxvt.saveLines: 512
+URxvt.scrollstyle: next
+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
@@ -45,7 +53,6 @@ rxvt*scrollBar_right: True
 rxvt*font: fixed
 rxvt*multichar_encoding:       noenc
 rxvt*title:    Penguin terminal
-!rxvt*termName: xterm-color
 rxvt*saveLines: 512
 
 !rxvt-big5*inheritPixmap:      True
@@ -83,4 +90,9 @@ Palette*showGrip: False
 
 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
+XTerm.*rightScrollBar: true