byobuコマンド

 

byobuインストール

sudo apt-get install byobu

byobuの設定(とりあえず、エスケープシーケンスだけ変更)

$ byobu-config

f:id:snit21:20120619223805p:plain

エスケープシーケンスをCtrl+Tに変更

f:id:snit21:20120619223817p:plain

byobu起動

$ byobu

新規タブ作成

[エスケープシーケンス] + c

次のタブへ

[エスケープシーケンス] + n

前のタブへ

[エスケープシーケンス] + p

タブを交互に切り替え

[エスケープシーケンス] + t

デタッチ(タブ情報を記憶してbyobuを抜ける)

[エスケープシーケンス] + d

アタッチ(デタッチしたタブに復帰)

$ byobu -x

エスケープシーケンスのキーバインディング設定ファイルの中身 デフォルトの"A"を外して"T"になっている。

# cat .byobu/keybindings.tmux 

unbind-key -n C-a
set -g prefix ^T
bind a send-prefix

参考:

http://blog.udzura.jp/2011/08/12/introduction-to-byobu/