Skip to content

Improve Windows support in integrated terminal #13625

Closed

Description

@Tyriar

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

Activity

  1. added
    debt
    terminal
    on Oct 12, 2016
  2. added this to the Backlog milestone on Oct 12, 2016
  3. supnate commented on Oct 31, 2016

    @supnate

    Hi Daniel Imms (@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! 👏

  4. the-ress commented on Oct 31, 2016

    @the-ress
    Contributor

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

    It's from jeremyramin/winpty@a988fe9

  5. Tyriar commented on Nov 1, 2016

    @Tyriar
    ContributorAuthor

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

  6. Tyriar commented on Nov 7, 2016

    @Tyriar
    ContributorAuthor

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

  7. Tyriar commented on Nov 11, 2016

    @Tyriar
    ContributorAuthor

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

  8. Tyriar commented on Nov 11, 2016

    @Tyriar
    ContributorAuthor

    Here's the plan:

  9. Tyriar commented on Jan 1, 2017

    @Tyriar
    ContributorAuthor

    0.3.1 itself is unstable due to rprichard/winpty#80

  10. be5invis commented on Jan 3, 2017

    @be5invis
    Contributor

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

  11. Tyriar commented on Jan 3, 2017

    @Tyriar
    ContributorAuthor

    Belleve (@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.

  12. added a commit that references this issue on Jan 7, 2017
    13457a0
  13. 1 remaining item

  14. Tyriar commented on Jan 12, 2017

    @Tyriar
    ContributorAuthor

    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.

  15. Tyriar commented on Jan 15, 2017

    @Tyriar
    ContributorAuthor

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

  16. Tyriar commented on Jan 15, 2017

    @Tyriar
    ContributorAuthor

    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! 🎉

  17. Tyriar commented on Jan 18, 2017

    @Tyriar
    ContributorAuthor

    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.

  18. added
    plan-item
    on Jan 23, 2017
  19. changed the title [-]Figure out what we're going to do with pty.js[/-] [+]Improve Windows support in integrated terminal[/+] on Jan 23, 2017
  20. locked and limited conversation to collaborators on Nov 18, 2017
  21. added 2 commits that reference this issue on Sep 6, 2026
    beccae9
    76c0b8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtplan-itemterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions