3 ms·
Re WSL in Cmder/ConEmu: it's not so simple as that. In fact, it's a terrible mess. If you try to use the straightforward bash.exe, you will quickly run into thi
by kirillkh 10y ago
Re WSL in Cmder/ConEmu: it's not so simple as that. In fact, it's a terrible mess. If you try to use the straightforward bash.exe, you will quickly run into things that are unsupported, e.g. arrow keys (fixed in Insider builds), home/end keys (fixed in Insider builds) Ctrl+Space (not fixed). If you try to use MinGW/Cygwin and ssh from there, you may run into random crashes when launching programs after using it for some time, such as less or emacs (old bug in MinGW and Cygwin). There is also something called "wslbridge", which also failed for me, but I can't remember why.
In the end, the only thing that does everything I want reliably is embedding a special build of mintty into ConEmu/Cmder. https://github.com/mintty/wsltty https://github.com/mintty/wsltty
Here is the ConEmu task that I use: %LOCALAPPDATA%\wsltty\bin\mintty.exe --wsl -o Locale=C -o Charset=UTF-8 /bin/wslbridge -t /bin/bash -l
It does have the caveat that you can't use many ConEmu's keyboard shortcuts, but there is a workaround that allows you to pass WinKey+Key shortcuts through, and I'm learning to live with that.