Subject: Re: bug#28066: eshell-tramp sudo ignores C-c

From: Michael Albinus <[email-masked]>
Date: Sun, 13 Aug 2017 10:39:57 +0200

Yegor Timoshenko <[email-masked]> writes:

Hi Yegor,

> To reproduce, you'll need to add eshell-tramp module to configuration.
> Add the following form to your Emacs configuration file:
>
> (eval-after-load 'esh-module
>   '(add-to-list 'eshell-modules-list 'eshell-tramp))
>
> Then, M-x eshell.
> $ which sudo
> eshell/sudo is a compiled Lisp function in ‘em-tramp.el’
> $ sudo sleep 10
>
> Now, if you try to leave interrupt `sleep` using C-c, it won't work.

Unfortunately, it is not possible to send signals to the remote process
Tramp is running on. This has been discussed already on the Tramp ML,
with no result.

See also the TODO list on the bottom of tramp-sh.el.

Best regards, Michael.