public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: interactive hg (mercurial) using ssh is getting "authentication failures" to sourceforge
Date: Mon, 12 May 2014 18:11:00 -0000	[thread overview]
Message-ID: <53710EC7.9000707@cygwin.com> (raw)
In-Reply-To: <5370CADB.6000808@raelity.com>

On 05/12/2014 09:21 AM, Ernie Rael wrote:
> On 5/12/2014 4:20 AM, Andrey Repin wrote:
>> Greetings, Ernie Rael!
>>
>>> At the end of this post, there is experimental evidence that the ssh is
>>> disasociated from the tty in the when spawned by hg.
>>> NOTE: hg is a Win7 command, not compiled with the cygwin dll.
>> Don't you see anything suspicious here?
>>
> Right you are. After I posted, I realized I hadn't clearly stated my
> questions. This could be something about my setup, but... I've only just
> joined this mailing list; I don't have an historical perspective.
>
> Is this expected behavior? If so, any idea what changed over the last 6 - 9
> months? Was this a conscious change in behavior?
>
> I'd been using this setup for years; the old behavior, which gives a higher
> degree of interoperability (at least in this case), is certainly natural. If
> the Win program didn't do anything explicit to disassociate from the tty,
> why shouldn't it work? Does windows have a concept of controlling tty? Is
> there something mercurial/python could, as a native app, that would get this
> to work?
>
> I know little about windows' internals. I understand that even though it
> used to work, that it may have been a 'fortunate" accident.

I believe the point that Andrey's making is that 'hg' being a Windows
native app is significant in your workflow.  When you wander into the
area that involves ttys, there are more restrictions on what will work.
Windows doesn't have ttys and Cygwin emulates them.  Mixing tools
which don't understand ttys with those that emulate them is not a
recipe for success, even if things work OK in some situations.  Your
simplest route to a solution may be to just use the Cygwin version
of 'hg'.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2014-05-12 18:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-11  1:21 Ernie Rael
2014-05-12 12:20 ` Andrey Repin
2014-05-12 14:37   ` Ernie Rael
2014-05-12 18:11     ` Larry Hall (Cygwin) [this message]

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

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

  git send-email \
    --in-reply-to=53710EC7.9000707@cygwin.com \
    --to=reply-to-list-only-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    /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.
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).