Contents
How to enable xterm key sequences in tmux?
Also, if you want tmux to pass along these (and other) xterm-style key sequences to programs running inside tmux, then you will need to enable the xterm-keys window option. (If you prefer, you can do this on a per-window basis by using -w instead of -gw .)
How to bind the prefix key in tmux?
With an appropriate build of tmux1, all you have to do is bind the keys in your tmux configuration: You will still need to type your prefix key before these keys. (Note: ~/.tmux.conf is only processed when the server starts.
What to do if you make changes to tmux?
If you make changes to it, you will either need to exit all your sessions and restart the server, or use (e.g.) tmux source ~/.tmux.conf to have your existing server re-process the file.)
Which is the native terminal in the TTY demystified?
In the famous “The TTY demystified”, the following figure is shown: from which it’s seemed that the user process is communicating with the “TTY driver”, which in turn communicates I read that pts is a pseudo-terminal (that we get through ssh or xterm) and tty is the native terminal.
How to bind Ctrl and shift in tmux?
I’m trying to a get a ctrl + tab and ctrl + shift + tab binding to work inside of a tmux session (I’m also using PuTTY). I already went through the pains of having to recompile PuTTY so it would send ctrl and shift correctly.
Why are home / end keys not working in tmux?
When in bash under tmux, pressing home/end would insert tilde characters (~). Outside of tmux the home/end keys work fine. Using cat and tput, I could see that there was a mismatch between the generated and expected sequences:
What should be the term for tmux screen?
Before reporting problems make SURE that TERM settings are correct inside and outside tmux. Inside tmux TERM must be “screen”, “tmux” or similar (such as “tmux-256color”). Don’t bother reporting problems where it isn’t! Outside, it should match your terminal: particularly, use “rxvt” for rxvt and derivatives.