From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: tramp, emacs, xp, putty Date: Sun, 07 Jan 2007 14:30:46 +0100 Message-ID: <87tzz37ym1.fsf@gmx.de> References: <1168015803.195812.40590@q40g2000cwq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168176679 10215 80.91.229.12 (7 Jan 2007 13:31:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Jan 2007 13:31:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 07 14:31:17 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H3Y7I-0001nY-GJ for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jan 2007 14:31:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3Y7I-0006ss-0H for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jan 2007 08:31:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3Y6u-0006qK-3P for help-gnu-emacs@gnu.org; Sun, 07 Jan 2007 08:30:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3Y6s-0006pp-BO for help-gnu-emacs@gnu.org; Sun, 07 Jan 2007 08:30:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3Y6r-0006pi-NP for help-gnu-emacs@gnu.org; Sun, 07 Jan 2007 08:30:49 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1H3Y6r-0002ep-7X for help-gnu-emacs@gnu.org; Sun, 07 Jan 2007 08:30:49 -0500 Original-Received: (qmail invoked by alias); 07 Jan 2007 13:30:47 -0000 Original-Received: from p54BDAD98.dip0.t-ipconnect.de (EHLO arthur.local) [84.189.173.152] by mail.gmx.net (mp030) with SMTP; 07 Jan 2007 14:30:47 +0100 X-Authenticated: #3708877 Original-To: "MitchellCowen" In-Reply-To: <1168015803.195812.40590@q40g2000cwq.googlegroups.com> (MitchellCowen's message of "5 Jan 2007 08\:50\:03 -0800") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40173 Archived-At: "MitchellCowen" 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.