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
Windows ConPTY support and native Windows programs? #804
Comments
It's been announced for a while already but documentation is not yet available. |
Thanks for the reply @mintty! I will ask in Cygwin's mailing list about it. |
@nojb If you do that please share the link of that mail. |
@nojb You mentioned about native Windows Applications. But its not the case. No native console app use that CONPTY. Windows Console team mimics the PTY connection like in *nix systems in a whole different way. |
Not sure I understand your objection, but if you look at the section |
An exciting news, cygwin currently supports conpty. see commit: bminor/newlib@169d65a |
Yes, but note it's still a test release. We'll have to wait another few weeks until the official cygwin release. |
@mintty Does this mean you won't need to use the bridge anymore? |
Yes. |
@mintty By the way, you might find this interesting: In the newer builds of windows, you know how you can access the linux filesystem from: well, if you set up your mintty shortcut for wsltty to start in:
you can omit the Here's a screenshot: I just got it working with hvpty, but it works because of wsl.exe now automatically translating the |
The |
The path |
@Biswa96 nope. It's always valid. It was in the recent video on the blog. They actually launch an instance of wsl if you try to connect and it's not present. You can try it yourself if you don't believe me. Also, see microsoft/terminal#2931 (comment) and the following comment by me with the correction. |
@mintty By the way, a consequence of |
May be it possible but I can't in my PC. Also the path is not available in older Windows 10 versions. I think its user who has to configure their own shortcuts. After all, hvpty & wslbridge2 do have the option to change WSL side path from commandline. |
@Biswa96 Ah, ok, it does work on the most recent two fast ring builds. I don't know about slow ring. |
Cygwin 3.1.0 has been released with ConPTY support. |
Sorry for commenting on a closed issue, but thought this might have relevance to anyone reviewing this thread in the future. |
Fixing syntax and variable reference, that would be |
Would it be possible to use the recently introduced ConPTY API (https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/) to improve the compatibility of
mintty
with native Windows programs (esp. interactive ones)?The text was updated successfully, but these errors were encountered: