X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=O8HVKdk3iZ9Yamqx zZAn1zY2YWTj1p9HnADFc9Lmsst0ufLR2/2tL+ZOkuAoyBPcuWi/AmV1Qaq56A81 RJ/mQZxEP0zyLba3RmnN/qTL+X6W3rJ9kXodZ2fuNdttyen3VDrtfpXKkLl//IsJ zm4khiUKUN4KwmJY1xOP8CUwj6c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=gOVmp6DzkKB0k7zCJf5A7g 9KISs=; b=YMflgp6asL0tCnCrakvD8iNIyknNf1rgbzhFWD7rCmNksnHm1V0WQi oVdNgcwJ05FakSCDToNiunKXIBLh1wvhFOykQtn/75uSG+2tZWEgNzK93yFS0nLN fMMRplSOYUTeK3CO/LpTk3kjXNzRNrpYbB78HMR3897urWgTdO9lI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173025pub.verizon.net Message-id: <53710EC7.9000707@cygwin.com> Date: Mon, 12 May 2014 14:11:19 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: interactive hg (mercurial) using ssh is getting "authentication failures" to sourceforge References: <536ECFFA DOT 2030408 AT raelity DOT com> <3710125389 DOT 20140512152053 AT yandex DOT ru> <5370CADB DOT 6000808 AT raelity DOT com> In-reply-to: <5370CADB.6000808@raelity.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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