Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .