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.

#1

tmux ignores some keystrokes:

  • Ctrl + Delete

  • Ctrl + F*

#2

Something similar happens in virtual consoles (even without tmux) with the difference that Ctrl + Delete and Delete behaves the same.

#3

Ctrl + Backspace pops up the help page in emacs -nw but this seems to be a known issue (that I can't solve).


I'm sorry to put so many questions in one but I guess it's all about the TERM variable (with values: linux, screen, rxvt-unicode). I'd like to setup the whole thing so that urxvt and the virtual consoles behaves the same with or without tmux. Could someone make some light on the whole issue?

Note: I use Ctrl + v followed by the keystroke to get some feedback.

share|improve this question

1 Answer 1

Within Emacs you can use C-h k to find out what Emacs thinks about a certain key, e.g. C-h k C-F1. If that doesn't work, e.g. because C-BACKSPACE is interpreted as C-h you could always fall back to C-h l which lists the last key strokes: Press the keys in question and fire C-h l to see what Emacs has received.

Once you've found out what your keys map to in Emacs you could bind them to the function you like, e.g.

 (global-set-key [(meta d)] 'kill-word)
share|improve this answer
    
Emacs receives C-h whenever I press C-BACKSPACE. –  cYrus Dec 6 '11 at 13:17

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.