Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Some inputted characters skipped in Docker interactive terminal #41

Open
jelazos7 opened this issue Mar 22, 2017 · 1 comment
Open

Some inputted characters skipped in Docker interactive terminal #41

jelazos7 opened this issue Mar 22, 2017 · 1 comment

Comments

@jelazos7
Copy link

I've set up Docker for Windows to launch from cbwin via an alias wrun docker. Most docker commands work like a charm, but I see some issues with processing input in an interactive container:

image

As you can see, entering "echo hello" dropped various characters depending on how fast i type, seemingly. Really interesting is after i exit the container, the characters that were skipped get output to my prompt.

I've already had success with formatting Docker's stdout using the wcmd echo solution from #37. Could there be a similar workaround for this issue?

Great tool by the way... soon I won't have a use case for cygwin!

@xilun
Copy link
Owner

xilun commented Mar 25, 2017

Hello,

Thank you for your report!

Unfortunately, I have little control over which process the Windows Console directs the keyboard input to.
I've attempted a few hacks both on the WSL and on the Win32 side, and they did not improve the situation.

Please note that the incoming Windows 10 Creator Update will ship with a new version of WSL that is able to natively launch .exe, and also that seems to be somehow better in regard to keyboard input to interactive Win32 console process launched from WSL, although maybe not perfect. (And I'm not even 100% sure about that, because I did not retested recently, and all the tests I did where in a VM, so given how non-deterministic this looks the behavior can very well be different on a real machine)

Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants