unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "MitchellCowen" <mitchell.verter@gmail.com>
Subject: tramp, emacs, xp, putty
Date: 5 Jan 2007 08:50:03 -0800	[thread overview]
Message-ID: <1168015803.195812.40590@q40g2000cwq.googlegroups.com> (raw)

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	other threads:[~2007-01-05 16:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 16:50 MitchellCowen [this message]
2007-01-05 19:04 ` tramp, emacs, xp, putty Eli Zaretskii
2007-01-07 13:56   ` Michael Albinus
2007-01-07 20:42     ` Eli Zaretskii
2007-01-07 21:09       ` Michael Albinus
     [not found] ` <mailman.2786.1168023856.2155.help-gnu-emacs@gnu.org>
2007-01-05 23:57   ` MitchellCowen
2007-01-06  2:10     ` Lennart Borgman (gmail)
2007-01-06 20:37     ` martin
2007-01-07 13:30 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1168015803.195812.40590@q40g2000cwq.googlegroups.com \
    --to=mitchell.verter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).