Both Screen and tmux are terminal multiplexers, considered “console window managers”.
They can manage multiple terminal windows/panes within a single terminal session, like this Putty session:
The Screen project was updated last time in August 7, 2008.
Original (unpatched) version of Screen doesn’t support vertical split anymore, but some distros have Screen already patched.
tmux is a Screen-based project, is being actively developed and natively support vertical split.
I will use tmux for demonstration, but the concepts are the same for Screen.
After install, just execute ‘tmux’:
and a tmux session will be created:
To enter tmux command-mode, use <Ctrl> + <b> keyboard shortcut.
After enter command mode, you can hit another key combination to create windows, panes, change session name, navigate, etc.
Keybindings / Shortcuts / Commands
“ -> Split screen horizontally
% -> Split screen vertically
o -> Go to next pane
c -> Create new window
n -> Go to next window
p -> Go to previous window
w -> List open windows
q -> Show pane numbers
& -> Kill window
x -> Kill pane
? -> List of commands/keybindings
Up|Down|Left|Right -> Move between panes
Space -> Toggle between layouts
<Alt> + Up|Down|Left|Right -> Resizes current pane
: resize-pane -D 10 -> Resizes current panel down by 10 cells
: resize-pane -R 10 -> Resizes current panel right by 10 cells
: resize-pane -L 10 -> Resizes current panel left by 10 cells
: resize-pane -U 10 -> Resizes current panel upward by 10 cells
DVTM – Dynamic Virtual Terminal Manager
VWM – Viper Window Manager