Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

xterm*VT100.Translations: #override \n\ Shift BackSpace: string("2") \n\ Alt Shift BackSpace: string("4") \n\ Ctrl Shift 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 keys to different strings?

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.