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
Strange terminal behavior with special characters over SSH from WSL to Ubuntu server #139
Comments
God bless you this is a great bug writeup ❤️ I'll file a bug and take a look. |
Hey sorry for the delays in investigating, I have a pretty long bug backlog. Any chance I could get the output of On the bright side, I don't think your |
I did some more testing that I probably should have done up front. I experimented using different PS1, no difference. You mentioned infocmp on remote machine with TERM=xterm-color (problem)
infocmp on remote machine without TERM=xterm-color (no problem)
|
Fantastic! Glad to hear I could help! It must have been unhappy with emitting 256 colors while not set in |
Short description
Whenever I connect to a Ubuntu server from my Windows machine, inside of of Ubuntu installed in Windows Subsystem for Linux the terminal is acting very strangely.
Whenever I try to edit a line which contains dash (-) or plus (+) and possibly also other similar special characters then the terminal seems to be unable to insert any text prior to that character.
Let me show you. In this case I go back in command history using up-arrow, but that is not needed. Same thing happens if I just go back to start of line, either with CTRL-A or by means of arrow keys.
This happens when I go WSL (Ubuntu 16.04) -> SSH -> (Ubuntu 16.04) (tried against two different remote Ubuntu hosts).
It does not happen if I go from for example Git Bash in Windows over SSH to the same server. Nor does it happen if I go from a computer with Mac OS over SSH to the same server.
Example
Build and setup
PS and Locale
Local machine
Remote machine
The text was updated successfully, but these errors were encountered: