[Top][All Lists]

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

Re: Tramp hangs setting up remote shell prompt.

From: David Keegan
Subject: Re: Tramp hangs setting up remote shell prompt.
Date: Sun, 11 Jul 2010 22:04:38 +0100


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

What determines whether the shell is "echoing" or not?
There's no stty in my profiles.

(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))

[David Keegan address@hidden 353 1 2988743]
[56 Roebuck Downs Dublin 14 IRELAND]

reply via email to

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