Using GNU tmux
From D3xt3r01.tk
WHY
Because I'm tired of screen getting locked and wasting my time .. I thought I'd give tmux a chance.
HOW
First thing I did was try to make tmux use my old ways .. at least a part of them. Here's the content of my ~/.tmux.conf
set -g status-bg black
set -g status-fg white
set -g status-interval 1
set -g status-left-length 30
set -g status-left '#(whoami)@#(hostname -s)'
set -g status-right '#(cut -d " " -f 1-3 /proc/loadavg) %y-%m-%d %H:%M:%S'
set-window-option -g window-status-current-bg white
set-window-option -g window-status-current-fg black
setw -g automatic-rename
set-option -g status-utf8 on
set -g base-index 1
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
setw -g mode-mouse copy-mode
set -g prefix C-a
unbind C-b
bind C-a send-prefix
unbind r
bind r source-file ~/.tmux.conf
bind C-n next-window
bind C-p previous-window
bind C-Space next-window
When you're in tmux you can now use Ctrl+a then type ':source-file ~/.tmux.conf' ( without the quotes ) to reload the config.