by crispyambulance · 6y ago · 0 comments
I can, right now, launch 4 different "terminals" in windows:
> cmd -- gives me the old dos-like command line
> wsl -- linux bash shell, which distro.. ¯\_(ツ)_/¯
> ubuntu -- ubuntu distribution, "on-top" of wsl?
> powershell -- new microsoft command line
Now, there's a "windows terminal"??? I don't get it. Is it supposed to be a "terminal emulator" like putty or terminus that can use any of the above 4? Does it emulate a VT100? with mouse?This is confusing, how do these 5 things fit together?
Shell = interactive program.
Terminal = thing that displays a shell and sends input to it.
Now let's get to wsl/ubuntu. WSL - windows subsystem for linux. It allows Windows to run unmodified linux binaries. for example you can run Ubuntu on it. Or RedHat. Or CentOS, or Kali or a few other Linux distributions. Main way linux programs interact with the world is usually a text window (terminal) so originally conhost.exe was used for that. Now you can use Windows Terminal for this. Think of Windows Terminal and conhost as "window" for text programs.
It can do VT100, yes, and with a mouse.