[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ob-shell: proposal to remove "posh"
From: |
Morgan Willcock |
Subject: |
Re: ob-shell: proposal to remove "posh" |
Date: |
Fri, 12 Jan 2024 10:04:33 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Matt <matt@excalamus.com> writes:
> AFAIKT, both PowerShell and cmd are MIT licensed:
> - https://github.com/microsoft/terminal
> - https://github.com/PowerShell/PowerShell
>
> The thought of compiling either for a GNU system is...ugh. But maybe someone
> else has gotten them working? Otherwise, it looks like Microsoft distributes
> a developer VM image of Windows.
>
> All together, this means there's no *technical* barrier preventing us from
> running (and hence developing for) PowerShell or cmd.
As I understand it, the code for the cmd.exe shell is not released
anywhere.
What is in the "terminal" repository mentioned above is the code for the
console host process conhost.exe, which is the server process used to
host the shell process and present it (i.e. this is the terminal and not
the shell).
That said, I imagine Wine does contain its own implementation of
cmd.exe, although I wouldn't expect it to be 100% compatible with the
real thing.
--
Morgan Willcock