Comments (6)
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.
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.
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.
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.
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.
Ok, so I've solved this radically: fell back to ubuntu for development
from cbwin.
Related Issues (20)
- wrun: can't translate a WSL VolFs path to a Win32 one HOT 7
- Default command handler HOT 10
- some win32 console programs "sometimes" do line feed instead of new line, but a workaround seems possible HOT 1
- a cmd-like behavior distinguishing between console / GUI target programs might be useful HOT 1
- backgrounded & force redirected caller => SIGTTIN
- Use double quotes to prevent word splitting may be better HOT 12
- Problem with arguments containing the character "&" HOT 1
- wcmd cmd no longer laggy, but eats characters HOT 1
- Let cbwin in session mode launch multiple wcmd instances in parallel HOT 11
- sockets for redirections are not using any security HOT 6
- wstart /mnt/c/windows does not work HOT 7
- Not work inside zsh HOT 14
- behavior of environment variable inconsistent in regards to case sensitivity HOT 1
- Vagrant output doesn't wrap correctly HOT 4
- interactive win32 console programs are broken (input and output) HOT 5
- Native Windows support for launching Windows applications HOT 1
- Some inputted characters skipped in Docker interactive terminal HOT 1
- Starting parameters for bash.exe
- Can't remove cbwin from my pc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbwin.