<tmux> インストールしてみた。

tmuxをインストールしてみた。

>wget --no-check-certificate -O- https://sourceforge.net/projects/levent/files/libevent-2.0.22-stable.tar.gz | tar xz
>cd libevent-2.0.22-stable/
>./configure --prefix=${HOME}/local
>make && make install

>wget -O- https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz | tar xz
>cd tmux-2.1/
>./configure --prefix=${HOME}/local LDFLAGS="-L${HOME}/local/lib" CFLAGS="-I${HOME}/local/include"
>make && make install

で起動は、

>LD_LIBRARY_PATH=$HOME/local/lib $HOME/local/bin/tmux

LD_LIBRARY_PATHを追加しないと下記エラーがでる。

tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

msys2/minttyからSJISでアクセスすると、ウインドウ間の区切り線が文字化け。
UTF8に変えると直る。

こちらで勉強。

qiita.com