"David Keegan" <[email protected]> writes:

> Michael,

Hi David,

> Thanks for your help. I think your analysis is correct. I
> was able to get it working with the following override in my
> emacs profile. I'll try your suggestion of upgrading to
> 2.1.18.
>
> What determines whether the shell is "echoing" or not?
> There's no stty in my profiles.

No idea. Maybe some system-wide settings ...

> (defun tramp-action-succeed (proc vec)
>  "This override disables echo on the remote host to avoid
>   a hang looking for the prompt."
>  (tramp-message vec 3 "Sending stty -echo...")
>  (tramp-send-string vec "stty -echo")
>
>  ; Wait for no echo.
>  (sleep-for 1)
>  (throw 'tramp-action 'ok))

Interesting, `tramp-action-succeed' has never been intended for sending
commands ...

Anyway, please keep me informed whether Tramp 2.1.18 solves the
issue. Otherwise, we could try to improve Tramp, handling your case as well.

> Regards,
> David.

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to