Open samdark opened 8 years ago
The arrows work nowhere. Not just nano. Just try getting your previous command with the arrow up on the prompt, won't work as well.
Updated description.
https://github.com/Maximus5/ConEmu/issues/629 https://conemu.github.io/en/BashOnWindows.html
(should search before posting i guess :p )
/edit: not that it's working for me though :(
/edit2: version of conemu was way too old that's why there is actually a ticket logged at mickeysoft by maximus: https://github.com/Microsoft/BashOnWindows/issues/111 tells you which version you're supposed to run
Actually I wonder what are you doing, folks? Arrow keys workaround was implemented few months ago in ConEmu. The bug of WSL (arrow processing) was documented, posted and accepted by MSFT (issue link is above).
I do not see any problems with arrows on my test Windows 10.
Umm... nothing in particular.
nano .bashrc
.nano .bashrc
.Was the workaround included in 160724 version of ConEmu? Do we need to change anything in settings in order for it to be applied?
Same issue here, also in v160724. Should we downgrade our conemu version ?
I doubt this is going to work if you don't start Bash For Windows from within ConEMU
Nevermind, looks like I had a wrong information coming from the cmder interface :/ Going to try vim workaround now
OK. I've found what's wrong and how to reproduce it.
Indeed, as @elangelo mentioned, it's fine if I start bash from within Conemu so the issue is w/ "Force ConEmu as default terminal for console applications" and launching "Bash on Ubuntu on Windows" via start menu.
Updated description.
@Maximus5 should be reproducible easily.
Actually "particular". Try this: ConEmu.exe -basic -run {bash}
ConEmu60.exe -basic -run bash
works well w/o issues. It's only "Force ConEmu as default terminal for console applications" and a launch via start menu which doesn't work.
I've just applied the "windows 10 anniversary update" (build 10.0.14393 shown for ver
command), the one that brings "bash on windows" (but I have not installed it) and the arrow keys stopped to work in bash through docker run ...
/ docker exec ...
.
I know that this issue is not about docker, but the problem seems related. I've found a lot of other (closed) issues related to arrow keys but no workaround fixed it for me. Would love to test any new workarounds or help in some way.
@paulodeleo try turning off "Force ConEmu as default terminal for console applications" in ConEmu settings and do what you did previously in a newly launched (via "Bash on Ubuntu on Windows", start menu) window. If it works well then it's ConEmu issue. If not — that's something different.
@samdark "Force ConEmu as default terminal for console applications" option is turned of and was never turned on.
Testing with docker like suggested here by @Maximus5 confirms that the arrow keys do not work. But they do work with the same test when using cmd
or RealConsole from cmder.
@paulodeleo then they don't work at all, no matter which terminal is used. Definitely not ConEmu issue...
Don't mix WSL and other subsystems issues. Docker is not a WSL application!
@paulodeleo
But they do work with the same test when using cmd or RealConsole from cmder.
Really? Cmder is ConEmu. So your problem is not a ConEmu problem, but rather the way you start the docker or your docker configuration!
@Maximus5, sorry, I know that Cmder is ConEmu. I don't think I made myself clear:
I understand that all this I am saying here can be seen as off-topic. Can you please, point me to the right direction If this can be better discussed opening other issue, on this project or docker project (as it looks like docker has some ConEmu specific patches)?
I just started using the windows bash and arrow keys, or any input in an application like nano, htop, or man do not work. I've been forced to revert back to window's cmd. If I go to debug->real console and type then the input is accepted. I do not have the "Force ConEmu as default terminal for console applications" options on.
same here but that trick seems to work
"%WINDIR%\System32\bash.exe ~" -new_console:p
Versions
ConEmu build: 160724 x64 OS version: Windows 10 1607 x64 Used shell version: Linux for Windows bash
Problem description
Linux for Windows bash doesn't react to arrow keys.
Steps to reproduce
Actual results
Cursor doesn't move down.
Expected results
Cursor moves down.