2

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?

1 Answer 1

2
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".

You must log in to answer this question.

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