Windows 10 WSL (bash) and mintty
Solution 1:
The mintty developer has just released an installer that will set it all up for you with no external dependencies (it includes cygwin dll, the console helper and wslbridge):
https://github.com/mintty/wsltty/releases
Download, install and you're done.
If you want to run a different shell than Bash, just change the shortcut (in your startmenu). For example, to run ssh-agent per terminal with zsh:
%LOCALAPPDATA%\wsltty\bin\mintty.exe /bin/wslbridge -t /usr/bin/ssh-agent /bin/zsh -l
Solution 2:
Using mintty + wslbridge works.
Download 3 files:
mirrors.kernel.org/sourceware/cygwin/x86_64/release/cygwin/cygwin-2.5.2-1.tar.xz
mirrors.kernel.org/sourceware/cygwin/x86_64/release/mintty/mintty-2.4.2-0.tar.xz
github.com/rprichard/wslbridge/releases/download/0.1.0/wslbridge-0.1.0-cygwin64.tar.gz
Put these files to the same directory named bin:
cygwin1.dll : cygwin-2.5.2-1.tar.xz
cygwin-console-helper.exe : cygwin-2.5.2-1.tar.xz
mintty.exe : mintty-2.4.2-0.tar.xz
wslbridge.exe : wslbridge-0.1.0-cygwin64.tar.gz
wslbridge-backend : wslbridge-0.1.0-cygwin64.tar.gz
And create an empty minttyrc
.
Run mintty -c ./minttryc ./wslbridge
Or use Terminal emulator for Windows Subsystem for Linux (WSL)