!URxvt.tintColor: #FFFFFF
!URxvt.shading: 10
-! urxvt behaves identically to xterm-color and a lot more programs know about
-! xterm-color, so we fake it
+
+! 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