Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The following lines for ~/.Xresources work only partially in xterm:

xterm*VT100.Translations:       #override   \n\
        Shift <Key> BackSpace:  string("2") \n\
  Alt   Shift <Key> BackSpace:  string("4") \n\
  Ctrl  Shift <Key> BackSpace:  string("6")

What happens is that Shift+Backspace is correctly translated but the other two turn out to be the same.

Is it possible to translate those three key combinations to different strings?

share|improve this question
xterm*VT100.Translations: #override \n\
  ~Alt ~Ctrl Shift<Key>BackSpace: string("2") \n\
  Alt Shift<Key>BackSpace: string("4") \n\
  Ctrl Shift<Key>BackSpace: string("6")

~Alt means "Alt is not pressed".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.