[Top][All Lists]

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

Re: Tramp and NT-Emacs with plink

From: Kai Großjohann
Subject: Re: Tramp and NT-Emacs with plink
Date: Wed, 25 Sep 2002 16:27:37 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Douglas Gray Stephens <address@hidden> writes:

> Kai,
> I've noticed another error that sometimes crops up when accessing a
> file on a machine that I've used plink on before (e.g. find file),
> when the system returns an error
>  Buffer *tramp/plink address@hidden has no process
> If I repeat the command, tramp kicks off a new session, asking for the
> password etc. as normal.

Please try this patch and tell me if it helps.

--- tramp.el.~2.228.~   Wed Sep 25 16:06:05 2002
+++ tramp.el    Wed Sep 25 16:26:38 2002
@@ -5393,7 +5393,8 @@
       (set-buffer (tramp-get-buffer multi-method method user host))
       (when (and tramp-last-cmd-time
-                (> (tramp-time-diff (current-time) tramp-last-cmd-time) 60))
+                (> (tramp-time-diff (current-time) tramp-last-cmd-time) 60)
+                p (processp p) (memq (process-status p) '(run open)))
         multi-method method user host "echo are you awake" nil t)
        (unless (tramp-wait-for-output 10)

~/.signature is: umop 3p!sdn    (Frank Nobis)

reply via email to

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