tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp hangs setting up remote shell prompt.


From: Michael Albinus
Subject: Re: Tramp hangs setting up remote shell prompt.
Date: Mon, 12 Jul 2010 15:34:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"David Keegan" <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]