To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

WSL in KiTTY

manu - Wed 18/07/2018 09:31:58 CEST +0200

Hi,

If you use Win10 and WSL (Debian or any other distribution), then you *CAN* use KiTTY as your Terminal.
Here is the guide:

1) Configure the Cygterm support in KiTTY: http://www.9bis.net/kitty/?page=PuTTYCyg&zone=en
     (With this you can use a Cygwin shell in KiTTY)

2) Install the "wsltty" package: http://github.com/mintty/wsltty/releases
     (With this you can open a WSL shell from "mintty" or any other Cygwin Terminal)

3) Create a new session with these parameters:
     - Connection type: Cygterm
     - Command: "?C:\Users\YOUR_NAME\AppData\Local\wsltty\bin\wslbridge.exe -C ~"
     - Port: "-"
     (Note: Replace YOUR_NAME with your user name! And not use the quotes)

When you open this session you'll have direct access from KiTTY to your WSL shell. ;-)

Comment: Please @Cyd, can you help us to replace "C:\Users\YOUR_NAME\AppData\Local" with %LOCALAPPDATA% ?
     If I use this command: "?%LOCALAPPDATA%\wsltty\bin\wslbridge.exe -C ~" then it doesn't work.

Regards.

manu - Fri 20/07/2018 13:50:40 CEST +0200

Hi,

I put one error in the command-line. The right Command is:

     - Connection type: Cygterm
     - Command: "C:\Users\YOUR_NAME\AppData\Local\wsltty\bin\wslbridge.exe -t -t -l -C ~"
     - Port: "-"

With this you can use the WSL shell inside KiTTY Terminal.

Advise: In some cases the cursor keys doesn't work. I'm investigating this problem!

Note: Hi @Cyd, Any idea about how to use an environment Var (%LOCALAPPDATA%) inside the Command box?




Answer


The forum is actually closed