tmuxのインストール

以前先輩にscreenを教えてもらった。
しかしながら、screenってemacsのC-aとかぶってしまっている。もちろんショートカット変更すればいいんだけど、まぁいいかと思って使っていた。そのうち、ネットを徘徊していると。tmuxってのを見つけた。ショートカットは、C-bからスタートなので使える^^。それに最初から縦分割がついているのでいいと思った。


縦分割:C-b %
横分割:C-b "
カーソルの別画面に:C-b o(これは同じ?)

1.wget wget http://downloads.sourceforge.net/tmux/tmux-1.3.tar.gz
2.tar xzfv tumux-1.3.tar.gz
3.cd rumx-1.3
4../configure
5.make
6.sudo make install

makeの段階で以下のエラーが出る場合がある。というか出る。

cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o attributes.c
In file included from attributes.c:23:
tmux.h:30:19: error: event.h: No such file or directory
In file included from attributes.c:23:
tmux.h:831: error: field ‘name_timer’ has incomplete type
tmux.h:1025: error: field ‘key_timer’ has incomplete type
tmux.h:1086: error: field ‘event’ has incomplete type
tmux.h:1102: error: field ‘repeat_timer’ has incomplete type
tmux.h:1122: error: field ‘identify_timer’ has incomplete type
tmux.h:1125: error: field ‘message_timer’ has incomplete type
make: * [attributes.o] エラー 1

このエラーが出た場合は、libevent-dev(-devel:yumの場合)をインストールすれば良い。たぶん通る。
これでtmuxのインストール完了かな?