unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arni Magnusson <arnima@hafro.is>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 21727@debbugs.gnu.org
Subject: bug#21727: Tramp hangs in Windows
Date: Thu, 22 Oct 2015 19:08:39 +0000 (UTC)	[thread overview]
Message-ID: <alpine.LRH.2.20.1510221841050.27648@hafurtask.hafro.is> (raw)
In-Reply-To: <877fmelvqq.fsf@gmx.de>

>> 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 <https://sourceforge.net/projects/emacs-bin/>.

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





  reply	other threads:[~2015-10-22 19:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 18:24 bug#21727: Tramp hangs in Windows Arni Magnusson
2015-10-22  8:00 ` Michael Albinus
2015-10-22 12:10   ` Arni Magnusson
2015-10-22 16:21     ` Michael Albinus
2015-10-22 19:08       ` Arni Magnusson [this message]
2015-10-22 20:56         ` Michael Albinus
2015-10-22 14:55 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.20.1510221841050.27648@hafurtask.hafro.is \
    --to=arnima@hafro.is \
    --cc=21727@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).