unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp, emacs, xp, putty
Date: Sun, 07 Jan 2007 14:30:46 +0100	[thread overview]
Message-ID: <87tzz37ym1.fsf@gmx.de> (raw)
In-Reply-To: <1168015803.195812.40590@q40g2000cwq.googlegroups.com> (MitchellCowen's message of "5 Jan 2007 08\:50\:03 -0800")

"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.

      parent reply	other threads:[~2007-01-07 13:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-05 16:50 tramp, emacs, xp, putty MitchellCowen
2007-01-05 19:04 ` 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 [this message]

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=87tzz37ym1.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /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).