There are these two interesting commits, "Add pty mode support code":
https://github.com/PowerShell/Win32-OpenSSH/commit/55f2ec682...
and "Add ANSI parsing engine and console draw support to SSH client":
https://github.com/PowerShell/Win32-OpenSSH/commit/7aac59e52...
Something about this reminds me of ANSI.SYS.
you could run ANSI.sys in modern cmd.exe, sadly there's no ANSI.sys in Win7 anymore.
https://groups.google.com/forum/#!topic/alt.msdos.batch.nt/Y...
Cool. Looks like that is essentially listing DEVICE=ANSI.SYS in config.nt? Google results imply some things about 16-bit emulation here -- was that post about running actual DOS ANSI.SYS in a VDM running actual DOS COMMAND.COM, within a native Windows terminal?
Fortunately this example shows it going straight into cmd and then they invoke powershell as a next step:
- https://github.com/PowerShell/Win32-OpenSSH/wiki/ssh.exe-exa...That gives me some hope that it's being done right.