Skip to content
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

Wrong Keyboard input when using ssh into Azure VM #3938

Closed
timlod opened this issue Mar 26, 2019 · 3 comments
Closed

Wrong Keyboard input when using ssh into Azure VM #3938

timlod opened this issue Mar 26, 2019 · 3 comments
Labels

Comments

@timlod
Copy link

timlod commented Mar 26, 2019

Microsoft Windows [Version 10.0.17134.648]

When using ssh from WSL to remote into an Azure DSVM (Ubuntu 16.04), certain key combinations do not work.
Specifically, CTRL-Backspace (or ALT-Backspace) do not work as intended.
CTRL-Backspace gives CTRL-H instead.
ALT-Backspace gives CTRL-ALT-H instead.
This was discovered in GNU emacs.

ssh user@hostname
$ emacs

Then try to use backward-kill-word using C-Backspace or M-Backspace; it generates C(-M)-h instead.

  • What's wrong / what should be happening instead:
    The correct combinations should be input.
@timlod
Copy link
Author

timlod commented Mar 26, 2019

Update:
Issue doesn't require ssh, emacs from WSL terminal experiences the same problem.
Not sure now if it's an emacs from Windows Console problem, as in general I can delete a word in WSL bash using ALT-Backspace.

@WSLUser
Copy link

WSLUser commented Mar 26, 2019

Any Console-related issues should be filed at https://github.com/Microsoft/Console/issues. WSL uses conhost (well technically ConPTY now but that's Insider builds) just like CMD or PS.

@therealkenc
Copy link
Collaborator

Yeah, punting only because you'll get a much better response over there. WSL proper doesn't know you have a CTRL key. As a work around you can try an alternative terminal emulator like wsltty or ttyd.

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

No branches or pull requests

3 participants