Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Support Strawberry Perl on Windows via "winpty" library? [rt.cpan.org #93612] #17

Open
toddr opened this issue Jan 19, 2020 · 1 comment

Comments

@toddr
Copy link
Member

toddr commented Jan 19, 2020

Migrated from rt.cpan.org#93612 (status was 'open')

Requestors:

From @deven on 2014-03-07 16:09:13:
Could this "winpty" library be used to support Strawberry Perl on Windows without using cygwin pty emulation?

https://github.com/rprichard/winpty

Here's the description from that site:

winpty is a Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs. The package consists of a library (libwinpty) and a tool for Cygwin and MSYS for running Windows console programs in a Cygwin/MSYS pty.

The software works by starting the winpty-agent.exe process with a new, hidden console window, which bridges between the console API and terminal input/output escape codes. It polls the hidden console's screen buffer for changes and generates a corresponding stream of output.

The Unix adapter allows running Windows console programs (e.g. CMD, PowerShell, IronPython, etc.) under mintty or Cygwin's sshd with properly-functioning input (e.g. arrow and function keys) and output (e.g. line buffering). The library could be also useful for writing a non-Cygwin SSH server.

From @toddr on 2014-05-05 14:40:20:

I have no ready access to windows. So my question is back to you. Does this work?

@toddr
Copy link
Member Author

toddr commented Feb 5, 2020

@deven, I'm open to a patch to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant