Many thanks Michael,

I had upgraded Tramp incorrectly -- now working thanks to your help.

(ensure that  --with-lispdir and --infodir options are set correctly
when running configure)

Alec 

-----Original Message-----
From: Michael Albinus [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 14 May 2008 5:42 PM
To: Clews, Alec
Cc: [EMAIL PROTECTED]
Subject: Re: how to troubleshoot tramp on windows

Alec Clews <[EMAIL PROTECTED]> writes:

> I seem to have a different problem with plink if I use a non-standard
port. 
> Plink expects the port number to be supplied  using the -P option. 
> However Tramp uses -p. Is there some way to re-configure this
behaviour please?

This is fixed in Tramp's CVS already (I assume you are using Tramp
2.1.x). The "pscp" entry in `tramp-methods' must look like this:

    ("pscp"  (tramp-login-program        "plink")
             (tramp-login-args           (("%h") ("-l" "%u") ("-P" "%p")
                                          ("-ssh")))
             (tramp-remote-sh            "/bin/sh")
             (tramp-copy-program         "pscp")
             (tramp-copy-args            (("-P") ("%p") ("-scp") ("-p"
"%k")))
             (tramp-copy-keep-date       t)
             (tramp-password-end-of-line "xy") ;see docstring for "xy"
             (tramp-default-port         22))

Will be available with Tramp 2.1.14.




"This e-mail and any attachments to it (the "Communication") is, unless 
otherwise stated, confidential,  may contain copyright material and is for the 
use only of the intended recipient. If you receive the Communication in error, 
please notify the sender immediately by return e-mail, delete the Communication 
and the return e-mail, and do not read, copy, retransmit or otherwise deal with 
it. Any views expressed in the Communication are those of the individual sender 
only, unless expressly stated to be those of Australia and New Zealand Banking 
Group Limited ABN 11 005 357 522, or any of its related entities including ANZ 
National Bank Limited (together "ANZ"). ANZ does not accept liability in 
connection with the integrity of or errors in the Communication, computer 
virus, data corruption, interference or delay arising from or in respect of the 
Communication."


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to