Tag Info

Hot answers tagged


It does this to take advantage of the previously-installed terminal description for GNU screen. Both tmux and screen provide applications with (more or less) the "same" terminal descriptions to simplify connecting from different terminals. The tmux and screen programs are supposed to handle the differences between the internal (TERM=screen) and external ...


As of tmux 2.1, you can use the tmux terminfo: 'default-terminal' is now a session option. Furthermore, if this is set to 'screen-*' then emulate what screen does. If italics are wanted, this can be set to 'tmux' but this is still new and not necessarily supported on all platforms with older ncurses installs


I use tmux (more flexible than screen) on my server, and to executing a command directly after connecting: ssh myserver -t 'tmux send-keys -t session-name "ls ./" C-m; tmux attach -t session-name ' You just have to make sure that there is a session running with session-name. The C-m emulates ENTER after typing in "ls ./"


Unfortunately, you cannot do it at the tmux layer. The tmux man page man tmux has a section titled KEY BINDINGS which lists the special keys that can be mapped within tmux. Caps lock is not one of them: In addition, the following special key names are accepted: Up, Down, Left, Right, BSpace, BTab, DC (Delete), End, Enter, Escape, F1 to F12, Home, IC ...

Only top voted, non community-wiki answers of a minimum length are eligible