[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp
From: |
Kai Großjohann |
Subject: |
Re: Tramp |
Date: |
Wed, 25 Sep 2002 16:03:45 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
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)
- Re: tramp, Kai Großjohann, 2002/09/24
- Tramp, Roger Mason, 2002/09/25
- Re: Tramp,
Kai Großjohann <=
- Re: tramp, Michael P. Soulier, 2002/09/26
- Re: tramp, Kai Großjohann, 2002/09/27
- Re: tramp, Roger Mason, 2002/09/27
- Re: tramp, Carsten Dominik, 2002/09/27
- Re: tramp, Kai Großjohann, 2002/09/27
- w3 again,, Roger Mason, 2002/09/27
- Message not available
- Re: w3 again,, Kevin Rodgers, 2002/09/27
- Message not available
- Re: w3 again,, Kai Großjohann, 2002/09/28