Difference between revisions of "Using pterm with WSL"
From Flavio's wiki
(Created page with "'''pterm''' is a terminal emulator based on [https://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY ]'s code. It's a nice replacement for the archaic w:Windows Console|Wi...") |
(No difference)
|
Latest revision as of 18:04, 29 November 2022
pterm is a terminal emulator based on PuTTY 's code. It's a nice replacement for the archaic Windows Console.
I'd like to run Windows Subsystem for Linux sessions inside pterm too, but WSL doesn't have an option to configure a which terminal to use, as far as I know.
pterm runs cmd.exe
by default, but there's
an undocumented[1] -e
option[2]
that allows you to run a different command. So if you want to run WSL inside pterm, use:
pterm -e wsl -d Debian --cd ~
References
- ↑ The entirety of pterm is currently undocumented, in fact.
- ↑ Look at the pterm source code!