|Source Repository:||Repository:Gentoo Portage Tree|
Summary: Terminal multiplexer
ARM RebuildARM systems will use new stage3's that are not compatible with earlier versions.
ABI X86 64 and 32Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
Pre-built kernels!Funtoo stage3's are now starting to offer pre-built kernels for ease of install. read more....
Tmux is a terminal multiplexer (just as screen, which is generally installed by default on servers). It enables you to run multiple terminals in one. You can arrange them in multiple tabs that you can split into multiple panes as well.
|debug||No||Adds extra debug codepaths (~description needs to be detailed for this specific ebuild)|
|selinux||No||No||Enables Security Enhanced Linux support. You must not set this use flag manually or breakage will occur! (See SELinux)|
|vim-syntax||No||Provides syntax plugin for Vim in tmux configuration files|
# emerge -a tmux
To launch Tmux, run
tmux in a terminal. This should clear your current terminal and display a status bar on the bottom. In this status bar, you should see something like " 0:bash*". This means you are on session 0 (), window 0 (0:) and you run "bash".
Ctrl+b as default prefix. This means that before issuing any command you will have to hit
Ctrl+b to tell tmux you are asking it. For instance, type
Ctrl+b and then
%. This should split vertically the window to add a new pane. Now issue
Ctrl+b ", this will split the new pane horizontally to create a new pane. You can switch against panes with
Ctrl+b Left/Up/Right/Down (Left/Up/Right/Down being the arrow keys).
Another cool stuff is windows. Splitting your window into panes is good, but for readability purpose, you can't indefinitely split your window. So you can open a new window (which would behave more like a tab) by issuing
Ctrl+b c. Your current window will be replaced by a brand new one. However you will notice that your status bar now looks like this " 0:bash- 1:bash*". The minus symbol (-) means this is the last visited window. The asterisk symbol (*) means this is the current window. You can add panes to this window as well. To go back to the first window, issue
Ctrl+b 0. Generally speaking, issue
Ctrl+b <window-id> to go to the window <window-id>.
You can do much more with tmux, but this is the minimum to know if you want to quickly get started.