tmux導入
時代はGNU screenからtmuxへらしいので試しにtmuxを導入した。
環境はcolinuxのdebian sid
aptitudeだとバージョンが0.8-5だったので0.9をソースコードからdebuildした。
開発関係
sudo aptitude install devscripts dh-make autotools-dev
tmuxコンパイルするのに必要
sudo aptitude install libncurses5-dev
wget "http://downloads.sourceforge.net/sourceforge/tmux/tmux-0.9.tar.gz?use_mirror=jaist"
mv tmux-0.9.tar.gz tmux-0.9.orig.tar.gz
tar zxvf tmux-0.9.orig.tar.gz
dh_make
single binaryを選択
cd tmux-0.9
debian/rulesを修正
# Add here commands to clean up after the build process. [ ! -f Makefile ] ||$(MAKE) distclean
以下のように修正。
# Add here commands to clean up after the build process. $(MAKE) clean
./configure
sudo debuild
gpg設定してないとエラーがでるけどdebが生成されている。
sudo dpkg -i tmux_0.9-1_i385.deb