help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Tramp


From: Roger Mason
Subject: Re: Tramp
Date: Wed, 25 Sep 2002 12:55:40 -0230 (NDDT)

That fixed it.  Thanks.

Roger Mason

On Wed, 25 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Michael Albinus <Michael.Albinus@alcatel.de> writes:
> 
> > It's reproducible here with Tramp 2.0.23. Looks like the recent change
> > in acquiring the default method has side effects. For the time being
> > you should write the method explicitly like "/telnet:user@host:"
> 
> Does this patch fix it?
> 
> --- tramp.el.~2.227.~ Tue Sep 24 18:21:10 2002
> +++ tramp.el  Wed Sep 25 16:03:19 2002
> @@ -4331,13 +4331,14 @@
>  
>  (defun tramp-action-password (p multi-method method user host)
>    "Query the user for a password."
> +  (let ((pw-prompt (match-string 0)))
>    (when (tramp-method-out-of-band-p multi-method method user host)
>      (kill-process (get-buffer-process (current-buffer)))
>      (error (concat "Out of band method `%s' not applicable "
>                  "for remote shell asking for a password")
>          method))
>    (tramp-message 9 "Sending password")
> -  (tramp-enter-password p (match-string 0)))
> +  (tramp-enter-password p pw-prompt)))
>  
>  (defun tramp-action-succeed (p multi-method method user host)
>    "Signal success in finding shell prompt."
> 
> kai
> -- 
> ~/.signature is: umop 3p!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 





reply via email to

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