- run Cygwin setup.exe
- install these packages that are not installed by default: automake, gcc, git and pkg-config
- browse http://libevent.org
- download libevent-2.0.21-stable.tar.gz
- open a cygwin terminal
- cd to directory containing downloaded file
- tar zxf libevent-2.0.21-stable.tar.gz
- cd libevent-2.0.21-stable
- ./configure --prefix=/usr
- make && make install
- browse http://ftp.gnu.org/gnu/ncurses
- download ncurses-5.9.tar.gz
- open a cygwin terminal
- cd to directory containing downloaded file
- tar zxf ncurses-5.9.tar.gz
- cd ncurses-5.9
- ./configure --prefix=/usr
- make && make install
- open a cygwin terminal
- git clone http://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code
- cd tmux-tmux-code
- ./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)
- CFLAGS="-I/usr/include/ncurses" ./configure --prefix=/usr
- make && make install
- to use the Solarized color scheme, see here.
- to manually adjust colors, fonts, cursor shape, and more right-click the Cygwin title bar and select "Options...".
- 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
- for more information about tmux configuration, see here.
- open a cygwin terminal using mintty (the shortcut that opens the terminal should run C:\cygwin\bin\mintty.exe)
- tmux
I found tmux in https://github.com/tmux/tmux