tramp-term.el icon indicating copy to clipboard operation
tramp-term.el copied to clipboard

Bricks Emacs on Windows Subsystem for Linux if invalid name or service is picked

Open computersarecool opened this issue 7 years ago • 3 comments

Hi, I love this package except for one thing. I have found that if I make a typo it freezes my session. For instance if i type tramp-term abc I get

sh: Could not resolve hostname abc: Name or service not known

and I can't exit out or kill that buffer (need to restart emacs). This could just be on my setup I guess, but could you take a look?

computersarecool avatar Aug 22 '17 03:08 computersarecool

If you get into this state you can use C-g to quit that process. I personally feel that this isn't too terrible because you have an opportunity to see what the error was. Do you have a suggestion (other than maybe documenting this somewhere) that would make this better?

randymorris avatar Aug 24 '17 13:08 randymorris

What is strange is on the Windows Subsystem for Linux, you can't get out of the state with C-g (nor C-k, nor anything else I tried). When I tried this on my Ubuntu machine however, C-g did quit the process. so it looks like it is their problem.

Anyway, I think documenting it is a good idea. Feel free to close this issue, I will just be extra careful when typing URLs.

Great package BTW.

computersarecool avatar Aug 29 '17 07:08 computersarecool

Interesting. I have no access to WSL so if you (or anyone) can find a solution I'd definitely accept it.

randymorris avatar Aug 29 '17 22:08 randymorris