Google
 

Wednesday, April 25, 2007

Backspace in Xterm

If you're using xterm and hitting the backspace key doesn't do what you expect, add this to your .Xdefaults file:

xterm.*.backarrowKey: false

OR add following to .Xdefaults file:

XTerm.VT100.Translations: #override \
Key BackSpace: string(0x7F)\n\
Key Delete: string("\033[3~")\n\
Key Home: string("\033[1~")\n\
Key End: string("\033[4~")

*put Key word inside <>
Keywords: Xterm, backspace, Delete

No comments: