-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
arrow navigation doesn't work with 'docker run' #183
Comments
If this is a docker issue why do you report it here? |
For me, it is working okay in the windows default terminal but not in ConEmu. |
What does that mean: "unable to use the arrow keys"? |
For example: If I am using bash and I have am typing a command, I cannot use the left key to change what I was typing before or the up key to go back into history. |
And how exactly you are running bash in that case? |
docker run --rm -ti debian:jessie /bin/bash |
I'm coming across the same issue. I posted the original bug in docker/docker. I noticed @tmds mentioned it only happened in ConEmu and I tried it in a normal cmd, and I could use the keys. I'm running If I'm in cmd or bash with or without ConEmu and to a If from ConEmu cmd or bash I run |
I believe the key is that when you run "bash" in ConEmu tab you run it with mandatory switches |
Just tried |
@Maximus5, can you follow the issue in the docker repository (moby/moby#13817)? Then we can all follow it up there. |
I believe the issue is with conemu and doesn't communicate the terminal to the server. I had the same sort of issue with vagrant ssh. Git-Bash and cynwin both worked fine but conemu and cmder both had issues with arrow keys and backspace. ctl-shift + V + backspace gave the proper ^$. My solution which returned full arrow navigation and backspace:
Here is a quick screen cast of the bug and then behavior after the fix. |
@mtelesha If your solution is working, the issue can't be with ConEmu at all. ConEmu do not relate to |
I don't have to do this with any other tool I use for ssh. Putty, Moba Xterm, git-bash, cygwin all work out of the box. If this is an SSH issue then none of them should work? BTW I loved ConEmu and am really excited I can use it for ssh. |
Putty and Moba Xterm - are remote terminals, they implement their own commucation protocols. Windows applications have to run properly in Windows, haven't they? But ConEmu implements (actually reuses) real Windows console window. Absolutely the same behavior you'll see if you run your shell or ssh from Win+R. How many times I have to say that, I wonder? |
In the other words, Putty and Moba Xterm are doing the same work, which actually |
I listed out TOOLS that I use with SSH that works (I didn't say that they were the same just I use SSH in Windows because I have to and these TOOLS work). You treated me like an ignorant child with your bold and "How Many Times I have to Say That." ConEmu does NOT work with ssh into Vagrant or to SSH servers unless the user communicates their terminal with TERM or use stty. You could put this in FAQ or the README and then people would know how to get ConEmu and cmder to work in ssh, BUT I guess I wasted your time. So this exchange has left a bitter taste in mouth (and I certainly won't be bothering you again.) Also guess you didn't look at my video to see the behavior and the change this was a SOLUTION for my issue with backspace and arrows but I wasted you and my time. |
@mtelesha I took a look at your video. However it's not quite clear what was working and what wasn't. If console application (which is ssh.exe) fails in standard Windows terminal (which ConEmu utilizes and extends in fact), I can make only one conclusion: something wrong with this console application. How about you? Anyway, thanks for sharing your experience, it may help other users. |
I'll make another video which also shows that arrows and backspace and delete work for SSH in Window's cmd, PowerShell and git-bash. When i use those inside ConEmu for some reason all those inside SSH my arrow, backspace and delete to not work as expected. ctl-shift + V then Backspace gives me ^$. When I echo TERM all keys work as expected again. The video shows my keystrokes and what happens in Windows cmd. Backspace types a space in ConEmu but it actually still deletes on the SSH server side. Right arrow paste the prompt and up arrow does not go through my history. |
You mentioned several times I'm not quite sure, what happens when you execute Anyway, ConEmu do not change posting sequences when you execute |
Close per moby/moby#13817 |
I am starting docker containers in conemu and I am unable to use the arrow keys. On the default windows terminal the arrow keys work fine.
There is a similar issue reporter on the docker project which is: arrow keys not working on the default windows terminal (moby/moby#13817).
The text was updated successfully, but these errors were encountered: