I just created a gist for my XTerm configuration (separated from the rest of my X resources). Here’s a snapshot of the current version:
XTerm*background: black XTerm*Foreground: Grey XTerm*faceName: Liberation Mono XTerm*faceSize: 10 XTerm*on2Clicks: regex [^ \n]+ XTerm*bellIsUrgent: true ! Make the terminal 127 by 42 characters in size XTerm*geometry: 127x44+64+0 ! By default, XTerm composes special chars with META. With this setting I can work my readline magic instead. XTerm*metaSendsEscape: true ! Bracketed paste mode requires the allowWindowOps resource to be true XTerm*allowWindowOps: true XTerm*saveLines: 1000 ! Don't jump to the bottom when there's output XTerm*VT100*scrollTtyOutput: false XTerm*VT100.Translations: #override \ ShiftInsert: insert-selection(CLIPBOARD) \n\ Insert: insert-selection(PRIMARY) \n\ Shift : insert-selection(CLIPBOARD) \n\ Shift Up: scroll-back(1) \n\ Shift Down: scroll-forw(1) ! vim: set syntax=xdefaults expandtab tabstop=4 shiftwidth=4:
My backspace key doesn’t work in screen in xterm. I already added “bindkey -d kb stuff ^H” to my screenrc, as per this, but that didnt help.
Also, $TERM is xterm by default and Xterm*ternName doesn’t seem to accept linux. It accepts xterm-color, for example, but not linux. But doing export TERM=linux does make it work.
An no, when I set it to xterm as opposed to linux in my screenrc, backspace still doesn’t work.
I noticed that my .screenrc contains the following line. I’m not sure what it does, but let me know if it helps:
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
Are you still using Krappy Konsole instead of submitting to the one true church of XTerm?
Yes, I am… And you are an Xel33t :)?
O yes I am! 😀