[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.0.14); Tramp 2.0.14: endless loop queries password again an
From: |
Kai Großjohann |
Subject: |
Re: tramp (2.0.14); Tramp 2.0.14: endless loop queries password again and again |
Date: |
Wed, 28 Aug 2002 18:45:03 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Rainer Thiel <address@hidden> writes:
> I am still trying to connect with <applin.hrz.uni-marburg.de> without
> success. Now, I get asked the password again and again. Apparently
> Tramp gets trapped in a loop. Transcripts from the relevant buffers
> are enclosed as an attachment.
Does it help to put an (erase-buffer) statement into the function
tramp-action-password, like so?
(defun tramp-action-password (p multi-method method user host)
"Query the user for a password."
(when (tramp-method-out-of-band-p multi-method method)
(kill-process (get-buffer-process (current-buffer)))
(error (concat "Out of band method `%s' not applicable "
"for remote shell asking for a password")
method))
(erase-buffer) ; THIS LINE NEW
(tramp-enter-password p (match-string 0)))
After making this change, position point inside the defun and hit
C-M-x. Then try again.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)