====== tmux ====== * [[screen]] * [[http://code.tutsplus.com/tutorials/intro-to-tmux--net-33889|Intro to tmux]] * [[http://www.dayid.org/os/notes/tm.html|tmux and screen reference sheet]] * [[http://blog.sanctum.geek.nz/sync-tmux-panes/|sync tmux panes]] To build tmux from source, libevent must be installed as well. The tmux configure/build will link against libevent in ''/usr/local'', but will not see it at runtime. Build tmux as a static binary to work around it. == Set bindings to Ctl-A == unbind C-b set -g prefix C-a == Attach window and detach all others == tmux attach -d == List active sesssions == Also displays which ones are attached: tmux list-sessions === Source Install === tmux build can't find libevent even with setting prefix: ./configure --prefix=/opt/local CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ** Static build ** You can use [[https://gist.github.com/ryin/3106801|this script]] to simplify downloading and installing a tmux build.