tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.0); scp method stopped working


From: Ted Stern
Subject: Re: tramp (2.1.0); scp method stopped working
Date: Tue, 18 May 2004 10:08:42 -0700
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

On 17 May 2004 at 15:18 PDT, Ted Stern wrote:
> I updated my anonCVS tramp checkout last friday, and a simple scp method edit
> no longer works.  I updated again today, still no change.
>
> The problem may be the new handling for ':' in filenames when called through
> gnuserv.  I'm using the gnuserv-compat package with Emacs 21.3.

Further debugging -- the error is in tramp.el.

I'm attaching the diffs between the working and non-working versions.

I tried changing the regexp for file matching (the first difference) back to
the earlier version, but that did not fix the bug.  So one of the other diffs
is the problem.

I hope that helps localize things a bit ... to reproduce, try using the scp
method to edit a shell script on a remote host with bash as the remote login
shell.  Directory listings on the remote host work fine, the problem is
actually loading the file.

Ted
-- 
 Ted Stern                                 Applications Group
 Cray Inc.                               office: 206-701-2182
 411 First Avenue South, Suite 600         cell: 206-383-1049
 Seattle, WA 98104-2860                     FAX: 206-701-2500

 Frango ut patefaciam -- I break that I may reveal
 (The Paleontological Society motto, equally apropos for debugging)

Index: tramp.el
===================================================================
RCS file: /cvsroot/tramp/tramp/lisp/tramp.el,v
retrieving revision 2.359
retrieving revision 2.362
diff -r2.359 -r2.362
1149c1149
<   "^/[^/]*$"
---
>   "^/$\\|^/[^/:][^/]*$"
1329c1329,1330
<   '("unset correct"
---
>   '("unset HISTORY"
>     "unset correct"
5027a5029,5030
>       (unless (memq (process-status p) '(run open))
>         (throw 'tramp-action 'process-died))
5064a5068,5069
>       (unless (memq (process-status p) '(run open))
>         (throw 'tramp-action 'process-died))
5468a5474,5475
>                (unless (memq (process-status proc) '(run open))
>                  (error "Process has died"))
5474a5482,5483
>            (unless (memq (process-status proc) '(run open))
>              (error "Process has died"))
5624,5626c5633,5636
<    9 "Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'")
<   (tramp-send-command-internal multi-method method user host
<                              "HISTFILE=$HOME/.tramp_history; HISTSIZE=1")
---
>    9 "Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export 
> HISTFILE; export HISTSIZE'")
>   (tramp-send-command-internal
>    multi-method method user host
>    "HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export HISTFILE; export 
> HISTSIZE")
6081a6092,6093
>                  (unless (memq (process-status proc) '(run open))
>                    (error "Process has died"))
6087a6100,6101
>              (unless (memq (process-status proc) '(run open))
>                (error "Process has died"))





reply via email to

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