]> code.delx.au - dotfiles/blobdiff - .Xresources
More backspace fixes
[dotfiles] / .Xresources
index 63c559f442edd23a17e8fc95a35a211527d1c894..aa1a372af762a58166cf3a3616e7fa29c7141e78 100644 (file)
@@ -1,35 +1,48 @@
 ! Nicer colours
 URxvt.color0:   #000000
-URxvt.color1:   #A80000
-URxvt.color2:   #00A800
-URxvt.color3:   #A8A800
-URxvt.color4:   #0000A8
-URxvt.color5:   #A800A8
-URxvt.color6:   #00A8A8
-URxvt.color7:   #A8A8A8
-URxvt.color8:   #000054
-URxvt.color9:   #FF0054
-URxvt.color10:  #00FF54
-URxvt.color11:  #FFFF54
-URxvt.color12:  #0000FF
-URxvt.color13:  #FF00FF
-URxvt.color14:  #00FFFF
+URxvt.color1:   #BB0000
+URxvt.color2:   #00BB00
+URxvt.color3:   #BBBB00
+URxvt.color4:   #0000BB
+URxvt.color5:   #BB00BB
+URxvt.color6:   #00BBBB
+URxvt.color7:   #BBBBBB
+URxvt.color8:   #555555
+URxvt.color9:   #FF5555
+URxvt.color10:  #55FF55
+URxvt.color11:  #FFFF55
+URxvt.color12:  #5555FF
+URxvt.color13:  #FF55FF
+URxvt.color14:  #55FFFF
 URxvt.color15:  #FFFFFF
 
-! Partial transparency
-URxvt.background: white
-URxvt.foreground: black
+! Partial transparency for a dark on light terminal
+URxvt.background: #FFFFFF
+URxvt.foreground: #000000
 URxvt.inheritPixmap: True
-URxvt.tintColor: black
+URxvt.tintColor: #000000
 URxvt.shading: -10
 
-! urxvt behaves identically to xterm-color and a lot more programs know about
-! xterm-color, so we fake it
+! Partial transparency for a light on dark terminal
+!URxvt.background: #000000
+!URxvt.foreground: #BBBBBB
+!URxvt.inheritPixmap: True
+!URxvt.tintColor: #FFFFFF
+!URxvt.shading: 10
+
+
+! This option sets the TERM environment variable:
+! TERM=rxvt-unicode won't work because systems don't have a terminfo file for
+! TERM=xterm because different systems have inconsistent terminfo files for it
+!            (differing ideas about what xterm sends as backspace)
+! TERM=xterm-color works well with the few key fixes below
 URxvt.termName: xterm-color
 
-! Make the home key work
+! Make the keys behave like the xterm-color terminfo says they should
 URxvt.keysym.Home: \033[1~
 URxvt.keysym.End: \033[4~
+URxvt.backspacekey: ^H
+URxvt.deletekey: \033[3~
 
 ! Scrollback buffer
 URxvt.saveLines: 8192