/[tramp]/tramp/lisp/tramp.el
ViewVC logotype

Diff of /tramp/lisp/tramp.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.147 by kai, Sat Jul 27 16:24:47 2002 UTC revision 2.148 by kai, Sat Jul 27 16:25:51 2002 UTC
# Line 4477  connection if a previous connection has Line 4477  connection if a previous connection has
4477        (set-buffer (tramp-get-buffer multi-method method user host))        (set-buffer (tramp-get-buffer multi-method method user host))
4478        (when (> (tramp-time-diff tramp-last-cmd-time (current-time)) 60)        (when (> (tramp-time-diff tramp-last-cmd-time (current-time)) 60)
4479          (process-send-string p (concat "echo hello" tramp-rsh-end-of-line))          (process-send-string p (concat "echo hello" tramp-rsh-end-of-line))
4480          (if (accept-process-output p 2)          (unless (accept-process-output p 2)
             (erase-buffer)  
4481            (delete-process p)            (delete-process p)
4482            (setq p nil))))            (setq p nil))
4483            (erase-buffer)))
4484      (unless (and p (processp p) (memq (process-status p) '(run open)))      (unless (and p (processp p) (memq (process-status p) '(run open)))
4485        (when (and p (processp p))        (when (and p (processp p))
4486          (delete-process p))          (delete-process p))

Legend:
Removed from v.2.147  
changed lines
  Added in v.2.148

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26