Done a bit of digging to see if I can answer my question
It seems MS have updated the console API’s with something called:
Console Virtual Terminal Sequences - Windows Console | Microsoft Docs
TL;DR It should make it easier to connect to remote consoles that run a non-window OS on a variety of devices.
Looked at just porting the Putty windows code but it uses alot of strcpy()
GitHub - pbr94/PuTTy-: PuTTy, windows SSH client and about it’s few vulnerabilities.
This is what MS have to say on strcpy if not aware.
strcpy, wcscpy, _mbscpy | Microsoft Docs
Anyway found the MS implementation of OpenSSH, GitHub - PowerShell/openssh-portable: Portable OpenSSH, all Win32-OpenSSH releases and wiki are managed at https://github.com/powershell/Win32-OpenSSH
Has anyone ported this to Clarion or is there a different product/addon that can handle protocols like SSH, Telnet and others?
Or has anyone ported this into Clarion?
GitHub - microsoft/terminal: The new Windows Terminal and the original Windows console host, all in the same place!
A blog to go with the new Terminal.
Windows Terminal Preview 1.6 Release | Windows Command Line (microsoft.com)
Their roadmap Windows Console and Terminal Ecosystem Roadmap - Windows Console | Microsoft Docs