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

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

tramp, emacs, xp, putty


From: MitchellCowen
Subject: tramp, emacs, xp, putty
Date: 5 Jan 2007 08:50:03 -0800
User-agent: G2/1.0

Hi all.

I've been browsing through the list archives but I still don't
understand how to install tramp to work with normal emacs [not xemacs
or emacsW32] on XP.  Someone says that emacs22 already has tramp but I
don't see the binary at http://ftp.gnu.org/gnu/emacs/windows/ .

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?

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/")
(add-to-list 'load-path "C:/Program
Files/emacs/emacs-21.3/tramp-2.1.7/")
(require 'tramp)
(setq tramp-debug-buffer t) ;; optional
(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)))
(setq tramp-default-method "plink")


#######

Thanks,
Mitch



reply via email to

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