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

Improve Windows support in integrated terminal #13625

Closed
Tyriar opened this issue Oct 12, 2016 · 13 comments
Closed

Improve Windows support in integrated terminal #13625

Tyriar opened this issue Oct 12, 2016 · 13 comments
Assignees
Labels
debt Code quality issues plan-item VS Code - planned item for upcoming terminal Integrated terminal issues
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Oct 12, 2016

Currently pty.js drives communication to and from the terminal's shell process but there are some issues with the way it's setup:

@Tyriar Tyriar added debt Code quality issues terminal Integrated terminal issues labels Oct 12, 2016
@Tyriar Tyriar added this to the Backlog milestone Oct 12, 2016
@Tyriar Tyriar self-assigned this Oct 12, 2016
@supnate
Copy link

supnate commented Oct 31, 2016

Hi @Tyriar , thanks for your work on this! Just FYI I also tried ptyw.js but with no luck. Finally I had to fallback to use cmd.exe to get result of a command. Looking forward to a stable pty.js! 👏

@the-ress
Copy link
Contributor

The winpty version used in Tyriar/pty.js is a little newer than peters/winpty.

It's from jeremyramin/winpty@a988fe9

@Tyriar
Copy link
Member Author

Tyriar commented Nov 1, 2016

@the-ress thanks for pointing that out, I wasn't aware 😃

@Tyriar
Copy link
Member Author

Tyriar commented Nov 7, 2016

I've enabled issues on Tyriar/pty.js so I can better organize the issues.

@Tyriar
Copy link
Member Author

Tyriar commented Nov 11, 2016

I replaced the master branch with the prebuilt branch and set the default back to master. It's fine to point at master now.

@Tyriar
Copy link
Member Author

Tyriar commented Nov 11, 2016

Here's the plan:

@Tyriar
Copy link
Member Author

Tyriar commented Jan 1, 2017

0.3.1 itself is unstable due to rprichard/winpty#80

@be5invis
Copy link
Contributor

be5invis commented Jan 3, 2017

Mr @Tyriar You should ask WDG to include an OFFICIAL PTY API into Creaters’ update.
cf. microsoft/WSL#1117

@Tyriar
Copy link
Member Author

Tyriar commented Jan 3, 2017

@be5invis while that would be nice, it won't fix the problem from my end (for a long time) as we will need to support legacy Windows. 👍'd though.

@Tyriar
Copy link
Member Author

Tyriar commented Jan 12, 2017

An update on this: I've currently put the upgrade on hold as my initial testing of winpty 0.4.1 shows some breakages such as git bash moving the cursor in the wrong direction after backspace and many glitches in Bash for Windows. This is still a stretch goal for this iteration so I'm going to focus on finishing up the other stuff I have assigned this iteration before looking further into this.

I have however published the lib with all the fixes from before (what we ship in stable) as [email protected] npm so other consumers are safe to use that npm package if they were previously pointing to c75c2dc on Tyriar/pty.js. The only change was in the package.json metadata.

@Tyriar
Copy link
Member Author

Tyriar commented Jan 15, 2017

I filed rprichard/winpty#96 on the winpty repo outlining the major issues I see

@Tyriar
Copy link
Member Author

Tyriar commented Jan 15, 2017

One of the issues was node-pty's fault which has been fixed, the one last issue I believe has already been fixed (rprichard/winpty@40d5b72) and is just waiting for the new winpty version! 🎉

@Tyriar Tyriar added this to the January 2017 milestone Jan 15, 2017
@Tyriar Tyriar removed this from the Backlog milestone Jan 15, 2017
Tyriar added a commit that referenced this issue Jan 16, 2017
This is the first build to feature the upgrade to [email protected] in addition to
the conversion to TypeScript and general code clean up. The most notable
change is that Git Bash no longer goes out of sync and likely a bunch of other
issues in #14613. Certain applications within WSL do not function correctly
with this build.

I tested this on Windows and Linux.

Part of #13625
Tyriar added a commit that referenced this issue Jan 18, 2017
This should fix the last major issues with applications within WSL

Part of #13625
@Tyriar
Copy link
Member Author

Tyriar commented Jan 18, 2017

I just pushed to master to use [email protected] which includes the winpty fix for applications within WSL. If all goes well I'll release the new version of node-pty.

@Tyriar Tyriar closed this as completed in 6c592cf Jan 20, 2017
@Tyriar Tyriar added on-testplan plan-item VS Code - planned item for upcoming labels Jan 23, 2017
@Tyriar Tyriar changed the title Figure out what we're going to do with pty.js Improve Windows support in integrated terminal Jan 23, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debt Code quality issues plan-item VS Code - planned item for upcoming terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants