all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tramp, emacs, xp, putty
@ 2007-01-05 16:50 MitchellCowen
  2007-01-05 19:04 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: MitchellCowen @ 2007-01-05 16:50 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-05 16:50 tramp, emacs, xp, putty MitchellCowen
@ 2007-01-05 19:04 ` Eli Zaretskii
  2007-01-07 13:56   ` Michael Albinus
       [not found] ` <mailman.2786.1168023856.2155.help-gnu-emacs@gnu.org>
  2007-01-07 13:30 ` Michael Albinus
  2 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-01-05 19:04 UTC (permalink / raw)


> From: "MitchellCowen" <mitchell.verter@gmail.com>
> Date: 5 Jan 2007 08:50:03 -0800
> 
> 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/ .

Emacs 22 was not yet released, but you can find the binary on the same
site as emacsW32: there's an unpatched binary there.

> 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?

I suggest to get a native Windows binary of Emacs 22, it all works
there out of the box, no customizations in .emacs are necessary.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
       [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
  0 siblings, 2 replies; 9+ messages in thread
From: MitchellCowen @ 2007-01-05 23:57 UTC (permalink / raw)


Where do you get the binary?

Eli Zaretskii wrote:
> > From: "MitchellCowen" <mitchell.verter@gmail.com>
> > Date: 5 Jan 2007 08:50:03 -0800
> >
> > 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/ .
>
> Emacs 22 was not yet released, but you can find the binary on the same
> site as emacsW32: there's an unpatched binary there.
>
> > 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?
>
> I suggest to get a native Windows binary of Emacs 22, it all works
> there out of the box, no customizations in .emacs are necessary.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-05 23:57   ` MitchellCowen
@ 2007-01-06  2:10     ` Lennart Borgman (gmail)
  2007-01-06 20:37     ` martin
  1 sibling, 0 replies; 9+ messages in thread
From: Lennart Borgman (gmail) @ 2007-01-06  2:10 UTC (permalink / raw)
  Cc: help-gnu-emacs

http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl

The unpatched version is available as a zip file there. (Or as an 
installer, which you can also use to just install the binaries if you 
make the appropriate choices at installation.)



MitchellCowen wrote:
> Where do you get the binary?
> 
> Eli Zaretskii wrote:
>>> From: "MitchellCowen" <mitchell.verter@gmail.com>
>>> Date: 5 Jan 2007 08:50:03 -0800
>>>
>>> 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/ .
>> Emacs 22 was not yet released, but you can find the binary on the same
>> site as emacsW32: there's an unpatched binary there.
>>
>>> 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?
>> I suggest to get a native Windows binary of Emacs 22, it all works
>> there out of the box, no customizations in .emacs are necessary.
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-05 23:57   ` MitchellCowen
  2007-01-06  2:10     ` Lennart Borgman (gmail)
@ 2007-01-06 20:37     ` martin
  1 sibling, 0 replies; 9+ messages in thread
From: martin @ 2007-01-06 20:37 UTC (permalink / raw)




>>>>> MitchellCowen writes:
> Date: 5 Jan 2007 15:57:48 -0800
> 
> Where do you get the binary?

http://sourceforge.net/projects/ntemacs/

Martin
-- 
parozusa at web dot de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-05 16:50 tramp, emacs, xp, putty MitchellCowen
  2007-01-05 19:04 ` Eli Zaretskii
       [not found] ` <mailman.2786.1168023856.2155.help-gnu-emacs@gnu.org>
@ 2007-01-07 13:30 ` Michael Albinus
  2 siblings, 0 replies; 9+ messages in thread
From: Michael Albinus @ 2007-01-07 13:30 UTC (permalink / raw)
  Cc: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-05 19:04 ` Eli Zaretskii
@ 2007-01-07 13:56   ` Michael Albinus
  2007-01-07 20:42     ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Albinus @ 2007-01-07 13:56 UTC (permalink / raw)
  Cc: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

> I suggest to get a native Windows binary of Emacs 22, it all works
> there out of the box, no customizations in .emacs are necessary.

Emacs 22 carries Tramp 2.0. The OP wants to install Tramp 2.1, which
is different.

Best regards, Michael.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-07 13:56   ` Michael Albinus
@ 2007-01-07 20:42     ` Eli Zaretskii
  2007-01-07 21:09       ` Michael Albinus
  0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2007-01-07 20:42 UTC (permalink / raw)


> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: help-gnu-emacs@gnu.org
> Date: Sun, 07 Jan 2007 14:56:16 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I suggest to get a native Windows binary of Emacs 22, it all works
> > there out of the box, no customizations in .emacs are necessary.
> 
> Emacs 22 carries Tramp 2.0. The OP wants to install Tramp 2.1, which
> is different.

I rather gathered that the OP wants a _working_ Tramp, in which case
trying to use the latest and greatest instead of a version that works
out of the box is something I wouldn't recommend.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: tramp, emacs, xp, putty
  2007-01-07 20:42     ` Eli Zaretskii
@ 2007-01-07 21:09       ` Michael Albinus
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Albinus @ 2007-01-07 21:09 UTC (permalink / raw)
  Cc: help-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

>> Emacs 22 carries Tramp 2.0. The OP wants to install Tramp 2.1, which
>> is different.
>
> I rather gathered that the OP wants a _working_ Tramp, in which case
> trying to use the latest and greatest instead of a version that works
> out of the box is something I wouldn't recommend.

Eli, I don't want to mess with you :-)

Tramp 2.1 is an experimental release, that's true. But the OP was
explicitely speaking about Tramp 2.1.7, and I'm happy about every
tester. This will change its experimental status faster into a
reliable one.

Best regards, Michael.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-07 21:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.