From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Date: Sun, 30 Apr 2006 19:11:55 +0300 Message-ID: References: <8764krsgja.fsf_-_@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1146413541 19884 80.91.229.2 (30 Apr 2006 16:12:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 16:12:21 +0000 (UTC) Cc: emacs-devel@gnu.org, drew.adams@oracle.com, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 18:12:19 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FaEWr-0001JO-AL for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 18:12:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaEWq-0007ni-OE for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 12:12:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaEWf-0007nS-0P for emacs-devel@gnu.org; Sun, 30 Apr 2006 12:12:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaEWc-0007mP-6E for emacs-devel@gnu.org; Sun, 30 Apr 2006 12:11:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaEWc-0007mM-0t for emacs-devel@gnu.org; Sun, 30 Apr 2006 12:11:58 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FaEaC-0002nQ-Ak; Sun, 30 Apr 2006 12:15:40 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-45-104.inter.net.il [80.230.45.104]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DFZ55935 (AUTH halo1); Sun, 30 Apr 2006 19:11:53 +0300 (IDT) Original-To: Michael Albinus In-reply-to: <8764krsgja.fsf_-_@gmx.de> (message from Michael Albinus on Sun, 30 Apr 2006 08:50:49 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53668 Archived-At: > From: Michael Albinus > Date: Sun, 30 Apr 2006 08:50:49 +0200 > Cc: Drew Adams , emacs-devel@gnu.org > > > There are "plink" methods for working with PuTTY's command-line > > terminal. I think Cygwin's ssh port expects to be run from an > > interactive Cygwin bash shell, so doesn't work well under Emacs. > > I've spent several weeks trying to make Tramp running with Cygwin's > ssh. Finally I gave up, because I didn't find a way to cooperate with > their pseudo tty. Starting Cygwin's bash first, and afterwards ssh > from there, doesn't work either, IIRC. > [...] > Because this belongs to the top list of "Tramp's annoyances", I would > appreciate any new idea what to do. What's wrong with advising Windows users to use the plink methods, mentioned by Jason above? PuTTY (which Plink is part of) is free software, and AFAIK it is the only good native Windows SSH client. Why fight an uphill battle with Cygwin pty's when a free solution is readily available? My suggestion is to recommend the Cygwin ssh for users of the Cygwin build, and plink for users of the native Windows build. (I assume that the plink method does work for an average Windows user; at least for me it ``just works'', I just tried with a recent CVS. If there are known problems with Plink, please tell what they are, or point me to some URL where I could read about them.)