Skip to content
Alex Mosky edited this page Apr 13, 2020 · 21 revisions

1. Can I use wsl-terminal with cmd.exe/powershell.exe?

No, wsl-terminal only supports Windows Subsystem for Linux (WSL). But if you only want to run a command with cmd.exe or powershell.exe in WSL, /init may help you.

2. What's the differents between wsl-terminal and wsltty?

Well, both of them are based on cygwin/mintty/wslbridge, wsltty is a project of mintty, but wsl-terminal is not.

wsl-terminal uses a unix-style directory structure (bin,etc,doc,usr), and doesn't provide an installer. wsltty has an installer.

wsl-terminal contains run-wsl-file.exe(can run any .sh/.py/.pl/.php/... script files in wsl-terminal) and vim.exe(can open any text files in vim, support Open With context menu in explorer.exe. vim.exe can be renamed to emacs.exe/nvim.exe/nano.exe/less.exe/... to open files in emacs/nvim/nano/less/...).

wsl-terminal will use tmux if use_tmux=1 set in etc/wsl-terminal.conf.

3. How to copy code from vim in wsl-terminal then paste to windows app?

Add the following line in ~/.vimrc

set clipboard^=unnamed,unnamedplus