Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on July 20, 2024

I've also noticed that if I start cmd.exe, it works properly(except for ctrl-c), but if I run wrun vagrant ssh -- -t -t that forces terminal allocation, it seems to be broken like it does not send back some escape sequence

from cbwin.

xilun avatar xilun commented on July 20, 2024

I don't know vagrant, but I will attempt to give it a try.
From which environment did you tried wrun vagrant ssh or wrun ssh? Directly from console created by outbash.exe (without extra screen/tmux involved) or from anything else?

from cbwin.

 avatar commented on July 20, 2024

Well usually using tmux, with pure outbash console situation is slightly different, as it correctly detects STDIN as terminal, and ssh session starts. However, it is not usable, as for example, if I type command, it hangs, no output can be seen. Ctrl-C terminates the session(instead of passing it down to ssh)

from cbwin.

xilun avatar xilun commented on July 20, 2024

In a tmux you don't have access to the windows console API (stdin/out/err are redirected), so the only way to support it would be something like injecting a DLL into all spawned processes that would convert the windows console API calls to VT stuff (if that's possible at all, I'm not even sure). I'm almost certain that I'm not going to do that, but if anybody want to contribute that kind of craziness I'll look at the patch :)

For the directly in a console scenario, I'll soon add some GetConsoleMode() and SetConsoleMode() calls, that, I think, will improve the situation.

from cbwin.

xilun avatar xilun commented on July 20, 2024

I've not tested directly with vagrant but the result with wrun cmd in a console after commit ab86dc8 is quite good... on the last insider build - but not really usable on the Anniversary Update :/

So I'm unsure something usable can be achieved on the Anniversary Update, in which WSL is a beta version anyway.

from cbwin.

 avatar commented on July 20, 2024

Ok, so I've solved this radically: fell back to ubuntu for development

from cbwin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.