2009-02-13

tmux - terminal multiplexer

Install steps
1. Downloading all packages, assume you're in bash shell.
wget -c http://mentors.debian.net/debian/pool/main/t/tmux/tmux_0.5{-1.d{iff.gz,sc},.orig.tar.gz}


2. Unpacking and patch, then compie it.

$ gzip -d tmux_0.5-1.diff.gz
$ tar -zxf tmux_0.5.orig.tar.gz; cd tmux-0.5
$ patch -Np1 < ../tmux_0.5-1.diff
# make 1> /dev/null 2> err.txt && make install


3. Tuning it

.tmux.conf

set prefix ^\
set status on
set status-bg yellow
set status-fg block
set status-right " "


# For 0.7

unbind ^b
set -g prefix ^\
send-prefix
set -g status on
set -g status-bg yellow
set -g status-fg black
set -g utf8 off


.bashrc
alias t='tmux attach -d'



Drawbacks
under testing...

Really runs faster than GNU Screen!!

References
OSNews, Stayin' Alive with GNU Screen, http://osnews.com/comments/20962
mentors.debian.net, http://mentors.debian.net/debian/pool/main/t/tmux/

2 則留言:

c9s 提到...

剛剛在 zd 上面看到你有開
我自己也開一個來玩玩
好像很屌!
有時間我也來用好了 XD 有 drawback 再過來回報 XD

Alan Lu (盧利雄) 提到...

Thx for joining, enjoy hacking. :-)