티스토리 뷰

  1. Install libevent
    1. browse http://libevent.org and download the latest version of libevent.
    2. tar zxf libevent.tar.gz
    3. cd libevent
    4. ./configure --prefix=/usr/local
    5. make && make install
  2. Install ncurses
    1. browse http://ftp.gnu.org/gnu/ncurses and download the latest version of ncurses.
    2. tar zxf ncurses.tar.gz
    3. cd ncurses
    4. ./configure --prefix=/usr/local
    5. make && make install
  3. Install tmux
    1. Cygwin :
      1. install autoconf, automake, and pkg-config to cygwin if not.
      2. git clone http://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code
      3. cd tmux-tmux-code
      4. ./autogen.sh (will see many warnings; if it complains about \r not found, convert autogen.sh to use Unix line endings with mv autogen.sh temp.sh; dos2unix -o autogen.sh temp.sh)
      5. run "./configure --prefix=/usr/local" if failed to make Makefile
      6. CFLAGS="-I/usr/local/include/ncurses" ./configure --prefix=/usr/local
      7. make && make install
    2. Linux or Unix :
      1. browse http://tmux.sourceforge.net and download the latest version of tmux.
      2. tar zxf tmux.tar.gz
      3. cd tmux
      4. CFLAGS="-I/usr/local/include -I/usr/local/include/ncurses"
      5. LDFLAGS="-L/usr/local/lib"
      6. ./configure --prefix=/usr/local
      7. make && make install
  4. Configure tmux
    1. to use the Solarized color scheme, see here.
    2. to manually adjust colors, fonts, cursor shape, and more right-click the window title bar and select "Options...".
    3. create a .tmux.conf file include at least this line so the mouse and arrow keys can be used to switch panes:
      set -sg escape-time 250
    4. for more information about tmux configuration, see here.