# Follow these steps to install the dependency patch package;
Wget https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz
Tar xvzf libevent-2.0.20-stable.tar.gz
./Configure -- prefix =/usr/local/libevent
Make
Make install
Ncurses is missing after installation.
yum -y
install
ncurses-devel
To download and install mux 1.8, follow these steps;
Wget http://jaist.dl.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz
Tar-xvf tmux-1.8.tar.gz
Cd tmux-1.8
CFLAGS = "-I/usr/local/libevent/include" LDFLAGS = "-L/usr/local/libevent/lib"./configure -- prefix =/usr/local/tmux
Make
Make install
Ln-s/usr/local/tmux/bin/tmux/usr/bin/
tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file : No such file or directory |
1 |
cp /tmp/libevent/lib/libevent-2 .0.so.5 /usr/lib |
OK.
The default value is Ctrl + B, that is, C-B, and then some quick usage:
C-B? Show shortcut key help
C-B C-o swap window position
The C-B Space key uses the next built-in Layout
C-B! Change the current window to a new window.
C-B "Mode separation window
C-B % vertical separation window
C-B q: the number of the separated window is displayed.
C-B o jumps to the next split window
Upper/lower key of C-B and the next separate window
C-B C-direction keys adjust the size of the split window
C-B c create a new window
C-B 0 ~ 9 select the number of Windows
C-B c create a new window
C-B n select the next window
C-B l last used window
C-B p select the previous window
C-B w display and selection window in menu Mode
C-B s display and select sessions in menu Mode
C-B t display clock
This article from "would rather dwelling on the first line" blog, please be sure to keep this source http://zhaiku.blog.51cto.com/2489043/1302063