From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arni Magnusson Newsgroups: gmane.emacs.bugs Subject: bug#21727: Tramp hangs in Windows Date: Thu, 22 Oct 2015 19:08:39 +0000 (UTC) Message-ID: References: <87pp07qqn1.fsf@gmx.de> <877fmelvqq.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1445540970 3564 80.91.229.3 (22 Oct 2015 19:09:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 19:09:30 +0000 (UTC) Cc: 21727@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 22 21:09:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpLEg-0006SU-4U for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 21:09:14 +0200 Original-Received: from localhost ([::1]:34011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpLEf-0000qb-3T for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Oct 2015 15:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpLEa-0000oQ-MJ for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 15:09:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpLEV-0001Pn-JI for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 15:09:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpLEV-0001Pi-Fa for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 15:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZpLEV-00071S-1B for bug-gnu-emacs@gnu.org; Thu, 22 Oct 2015 15:09:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arni Magnusson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Oct 2015 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21727 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21727-submit@debbugs.gnu.org id=B21727.144554092326960 (code B ref 21727); Thu, 22 Oct 2015 19:09:02 +0000 Original-Received: (at 21727) by debbugs.gnu.org; 22 Oct 2015 19:08:43 +0000 Original-Received: from localhost ([127.0.0.1]:33213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpLEB-00070m-CJ for submit@debbugs.gnu.org; Thu, 22 Oct 2015 15:08:43 -0400 Original-Received: from hafgarpur.hafro.is ([130.208.64.48]:46686) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpLE9-00070d-5L for 21727@debbugs.gnu.org; Thu, 22 Oct 2015 15:08:42 -0400 X-Virus-Scanned: amavisd-new at hafro.is Original-Received: from hafurtask.hafro.is (hafurtask.hafro.is [130.208.61.60]) by hafgarpur.hafro.is (8.14.4/8.14.4/hafro-2.48) with ESMTP id t9MJ8dEe013917; Thu, 22 Oct 2015 19:08:39 GMT Original-Received: from hafurtask.hafro.is (localhost [127.0.0.1]) by hafurtask.hafro.is (8.14.4/8.14.4/hafro-1.6) with ESMTP id t9MJ8dLU028251; Thu, 22 Oct 2015 19:08:39 GMT Original-Received: from localhost (arnima@localhost) by hafurtask.hafro.is (8.14.4/8.14.4/hafro-0.3) with ESMTP id t9MJ8dGP028247; Thu, 22 Oct 2015 19:08:39 GMT X-Authentication-Warning: hafurtask.hafro.is: arnima owned process doing -bs In-Reply-To: <877fmelvqq.fsf@gmx.de> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107865 Archived-At: >> Alas, I'm not able to determine what is improper about my DNS settings, >> if that is the case. Okay, after more experiments I have found out that the problem is not related to DNS settings, after all. > Well, I don't run Windows personally, so my advice might be wrong. But > you could open a cmd.exe window, and try > > # ssh -o ControlPath=%C host.does.not.exist > > Likely, it will hang for you. Yes, indeed, that was a useful test. The problem is that Windows XP and Windows 7 do not have a built-in ssh command. What happens when I type ssh on my Windows machines is that it invokes some random ssh program that happens to be on my machines, but doesn't support the options that Linux users might expect. In other words, calling 'ssh' on a Windows machine with some options will result in an undefined and unpredictable behavior - in my case, hanging. > An alternative could be to install Emacs 25.0.50. This works pretty > stable, and Tramp has changed its test to be used w/o DNS. You find > weekly snapshots at . That's it. Emacs 25 loads Tramp without getting tangled up in the random ssh program that's installed on my machines. I'm sold. Thanks for your help in identifying and solving the problem, Arni