mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 159 forks source link

Can I use wsl-terminal directly? #27

Closed Po-wei closed 7 years ago

Po-wei commented 7 years ago

Windows' recently update--WSL is just awesome I had run into some color-theme issues until I found this one It support full 256-color and abundant color theme!

However, i found it automatically open some tools such as wslbridge image Is it possible to luach shell directly like the upper one which is lunched by default icon ?

sunjoong commented 7 years ago

@Po-wei - Oh, I see you again. You SHOULD use wslbridge for these programs.

wslbridge is a Cygwin program that allows connecting to the WSL command-line environment over TCP sockets, as with ssh, but without the overhead of configuring an SSH server. -- https://github.com/rprichard/wslbridge

These console utilies are not linux programs, but cygwin program (in this case) or msys2 program. Those connect to WSL with TCP socket, so you should run backend program in WSL.

You can use the bridge to launch WSL with the Mintty terminal emulator or msys2-xterm instead of conhost.exe (for various reasons, mainly buggy or not-yet-implemented control sequences, or problems passing keyboard commands when running in ConEMU). -- https://github.com/Microsoft/BashOnWindows/issues/2018#issuecomment-297782061

Po-wei commented 7 years ago

@sunjoong LOL, the world is small! Thanks for your explanation! And this is the optimal solution by far( Microsoft/BashOnWindows#1994 )