From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roger Mason Newsgroups: gmane.emacs.help Subject: Re: Tramp Date: Wed, 25 Sep 2002 12:55:40 -0230 (NDDT) 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=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: main.gmane.org 1032967639 1569 127.0.0.1 (25 Sep 2002 15:27:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2002 15:27:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org 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 17uE4L-0000PB-00 for ; Wed, 25 Sep 2002 17:27:17 +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 17uE4Q-0000fJ-00; Wed, 25 Sep 2002 11:27:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17uE39-0000Zu-00 for help-gnu-emacs@gnu.org; Wed, 25 Sep 2002 11:26:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17uE36-0000Za-00 for help-gnu-emacs@gnu.org; Wed, 25 Sep 2002 11:26:02 -0400 Original-Received: from minnie.esd.mun.ca ([134.153.118.19]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17uE35-0000Yh-00 for help-gnu-emacs@gnu.org; Wed, 25 Sep 2002 11:25:59 -0400 Original-Received: from localhost (rmason@localhost) by minnie.esd.mun.ca (8.8.7/8.8.7) with ESMTP id MAA03837; Wed, 25 Sep 2002 12:55:43 -0230 X-Authentication-Warning: minnie.esd.mun.ca: rmason owned process doing -bs Original-Newsgroups: gnu.emacs.help X-Sender: rmason@minnie.esd.mun.ca Original-To: Kai =?iso-8859-15?q?Gro=DFjohann?= In-Reply-To: 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:1848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1848 That fixed it. Thanks. Roger Mason On Wed, 25 Sep 2002, Kai [iso-8859-15] Gro=DFjohann wrote: > Michael Albinus writes: >=20 > > 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:" >=20 > Does this patch fix it? >=20 > --- tramp.el.~2.227.~=09Tue Sep 24 18:21:10 2002 > +++ tramp.el=09Wed Sep 25 16:03:19 2002 > @@ -4331,13 +4331,14 @@ > =20 > (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 " > =09=09 "for remote shell asking for a password") > =09 method)) > (tramp-message 9 "Sending password") > - (tramp-enter-password p (match-string 0))) > + (tramp-enter-password p pw-prompt))) > =20 > (defun tramp-action-succeed (p multi-method method user host) > "Signal success in finding shell prompt." >=20 > kai > --=20 > ~/.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 >=20