From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Tramp & Cygwin (was: Emacs unconditionally loads tramp.el) Date: Sun, 30 Apr 2006 07:19:47 -0700 Message-ID: References: <8764krsgja.fsf_-_@gmx.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146406845 2129 80.91.229.2 (30 Apr 2006 14:20:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 14:20:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 16:20:39 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 1FaCms-0002SL-4D for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 16:20:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaCmr-0003Yy-FJ for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 10:20:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FaCmD-0003Bg-7h for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:19:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FaCmC-0003As-A3 for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:19:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FaCmC-0003Am-6R for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:19:56 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FaCpn-000265-BQ for emacs-devel@gnu.org; Sun, 30 Apr 2006 10:23:39 -0400 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k3UEJs7Q010651 for ; Sun, 30 Apr 2006 09:19:54 -0500 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-31.vpn.oracle.com [141.144.80.31]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k3UEJrtD031833 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sun, 30 Apr 2006 08:19:53 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <8764krsgja.fsf_-_@gmx.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:53658 Archived-At: > 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. A "cygwinized Emacs", i.e. built under Cygwin, doesn't suffer from this problem. I'm in the first category (Emacs not built under Cygwin, but using Cygwin as shell), and my experience reflects what you report (IIRC). Another workaround is ssh-agent, because the only hurdle to pass is the interactive passphrase handover to the shell starting ssh. Note that I'm neither an expert in MS Windows nor in Cygwin, just a very occasional user. Some people tried to help, also w/o success. Because this belongs to the top list of "Tramp's annoyances", I would appreciate any new idea what to do. I appreciate your working on this. It's not a problem that Tramp is not yet 100% for Windows users; the problem I see is that it is now the Emacs default.