mskyaxl / wsl-terminal

Terminal emulator for Windows Subsystem for Linux (WSL)
MIT License
3.12k stars 160 forks source link

CTRL in emacs does not work #165

Closed AddictArts closed 4 years ago

AddictArts commented 4 years ago

It prints into the editor ;5u for example. This does not happen in wsl bash via the ubuntu launcher.

mskyaxl commented 4 years ago

Sorry, I am more a vim user than an emacs user. In fact I have never used emacs. Can you please help me with a set of steps to reproduce?

Thanks!

AddictArts commented 4 years ago

$ emacs .bashrc

Hit CTRL, you will see it

Can't CTRL-D, etc. You'll have to kill wsl-terminal to exit emacs and everything else.

nanjj commented 4 years ago

My emacs works well with CTRL-d, but not ALT-d. In fact it's not emacs setting problem. You can reproduce the same problem on bash, type something and type ALT - d(delete the whole word), you can see it, no response. But you can do it via shift - alt - d, to delete the whole word. The workaround works in emacs, also.

nanjj commented 4 years ago

And I just found Alt -D may not be related with wsl-terminal. WSL has this problem too.

mskyaxl commented 4 years ago

CTRL working on 0 9 0 I don't think it's a wsl-terminal problem. I just tested on a freshly installed Ubuntu in wsl and wsl-terminal 0.9.0

Are you using the latest version of wsl-terminal?

Alt-D also works for me.

mskyaxl commented 4 years ago

any feedback?

AddictArts commented 4 years ago

Thanks for asking and thanks for the updates. I'm back on a Mac for the moment, so I don't have any feedback. Thanks again. Cheers