English | 简体中文
cross platform Pseudo Terminal (PTY) Library and Usage Demos in .NET(C#)
Pty.Net cross platform Pseudo Terminal (PTY) Library in .NET(C#). Modified from microsoft/vs-pty.net and inspired by WindowsGSM/SteamCMD.ConPTY.
- Compatibility with
ConPTYandwinptyon Windows Platform - P/Invoke APIs (
forkptyioctlkill...) on Unix Platforms- APIs provided by
libc.so.6andlibutil.so.1for Linux - APIs provided by
libSystem.dylibfor MacOs
- APIs provided by
- CliDemo Console demo to use Pty.Net

- WebDemo Web demo to use Pty.Net, powered by EmbedIO and Xterm.js

- modify
Program.csto switch which Demo to run:namespace PtyWeb { class Program { static void Main(string[] args) { CliDemo.Run(); // Console demo // WebDemo.Run(args); // Web demo } } }
- TODO: Replace EmbedIO with WebSockets support in ASP.NET Core
- Windows Command-Line: Introducing the Windows Pseudo Console (ConPTY)
- Github: rprichard/winpty
- Github: microsoft/terminal
- Github microsoft/node-pty
- Github: unosquare/embedio
- Github: xtermjs/xterm.js
- Platform Invoke (P/Invoke)