

Today I wants will share experience and impressions about that as I trying to find changeover of Tmux under cygwin and as I eventually winning Tmux and compiling it under Cygwin + Windows. To whom it are interesting — I asks under kat.
Requirements to system
I collecting tmux on windows 7 x64 with install Cygwin.x86. On Cygwin.x86_64 to Collect library of libevent it were not possible.
It are necessary to begin with setting of Cygwin.x86. When setting besides a software necessary for you it are necessary to install:
gcc *, make, autoconf, automake, cmake.
Also it will be necessary to deliver library which tmux demanded: libncurses10, libncurses-devel, ncurses.
Assembly of libevent
I scooping the information and experience with this correspondence. But all the same it were necessary to change a little and pokovyryatsya in souce code. I does not want you to load.patch files and superfluous details for whom it are necessary — could compare source codes. I will lay out the ready operating time, it will be necessary for you to collect only.
One more of necessary dependences of Tmux — are which library of libevent, unfortunately, are not present in a repository of cygwin. It are necessary for collect with source codes. I using libevent-2.0.21-stable. We opened Cygwin and we collected:
tar xf libevent-2.0.21-stable.tgz
cd libevent-2.0.21-stable
./configure --libdir=/usr/lib/
make && make install
I asks to pay attention that at configure the parameter of libdir are specif knowingly, and Cygwin badly are on friendly terms with / usr/local/lib.
Assembly of tmux
I laying out the operating time of Tmux
tar xf tmux-tmux-code.tgz
cd tmux-tmux-code
./configure
make && make install
tmux
echo 'Enjoy!'
Impressions
Worked very quickly and not sboit! In comparison with alternatives such as Byobu and Screen the sky and the earth.Thanks for attention, I wishes all good week and comfortable working conditions!