help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: tramp, emacs, xp, putty


From: Michael Albinus
Subject: Re: tramp, emacs, xp, putty
Date: Sun, 07 Jan 2007 14:30:46 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

"MitchellCowen" <mitchell.verter@gmail.com> writes:

> Hi all.

Hi,

> This is what I've tried so far:
> 1.  Downloaded cygwin
> 2.  Downloaded tramp
> 3.  Unpacked tramp to C:\Program Files\emacs\emacs-21.3\tramp-2.1.7
> 4.  change directory to the tramp-2.1.7 directory
> 5.  ./configure --with-contrib --with-lispdir='C:/Program
> Files/Emacs/site-lisp'  --infodir='C:/Program Files/Emacs/info'
>
> I get the response
> : command not found4:
> ./configure: line 24: syntax error near unexpected token 'newline'
> ./configure: line 24 'case set -o 2> /dev/null' in *posix *>set -o
> posix;;' sac
>
> I am assuming this is some problem with cygwin.  Any ideas how to do
> this correctly?

You need to run ./configure from Cygwin's bash. Looks like you have
started it from a Windows CMD box.

> If I do get tramp installed, is this what I need to put in .emacs?
>
>
> ; tramp stuff
> (add-to-list 'load-path "C:/Program
> File/emacs/emacs-21.3/tramp-2.1.7/lisp/")

OK. But when you have executed `make install', you should use
'C:/Program Files/Emacs/site-lisp' as given in your configure call.

> (add-to-list 'load-path "C:/Program
> Files/emacs/emacs-21.3/tramp-2.1.7/")

Not necessary.

> (require 'tramp)
> (setq tramp-debug-buffer t) ;; optional

This variable has been removed in Tramp 2.1.

> (add-to-list
>  'tramp-methods
>  '("plink"
>    (tramp-connection-function  tramp-open-connection-rsh)
>    (tramp-rsh-program          "plink")
>    (tramp-rcp-program          nil)
>    (tramp-remote-sh            "/bin/sh")
>    (tramp-rsh-args             ("-v" "-ssh")) ;; "-v" optional
>    (tramp-rcp-args             nil)
>    (tramp-rcp-keep-date-arg    nil)
>    (tramp-su-program           nil)
>    (tramp-su-args              nil)
>    (tramp-encoding-command     "uuencode xxx")
>    (tramp-decoding-command     "uudecode -p")
>    (tramp-encoding-function    nil)
>    (tramp-decoding-function    uudecode-decode-region)
>    (tramp-telnet-program       nil)
>    (tramp-telnet-args          nil)))

Why that? "plink" is defined in `tramp-methods', and the list variable
names have been changed manwhile. So don't do this.

> (setq tramp-default-method "plink")

That is the fefault under w32 (but it doesn't hurt).

> Thanks,
> Mitch

Best regards, Michael.




reply via email to

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