From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Tramp Date: Wed, 25 Sep 2002 16:03:45 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032963442 16682 127.0.0.1 (25 Sep 2002 14:17:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2002 14:17:22 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17uCyf-0004Ku-00 for ; Wed, 25 Sep 2002 16:17:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uCyk-0005zA-00; Wed, 25 Sep 2002 10:17:26 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:6OHProTYC1dPLccCTyZdmnj1Jxo= Original-Xref: nntp.stanford.edu gnu.emacs.help:105287 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1840 Michael Albinus 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)