delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1996CUCrW40X2wjTm1Doi8E |
Date: | Mon, 17 Sep 2012 09:43:10 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Win PTY library. |
Message-ID: | <20120917134310.GB16552@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CA+sc5mnmVykGQLMvf3GXnf5RUM3SHVP6C5PreJ+F4dSksX3+Sw AT mail DOT gmail DOT com> <20120915162136 DOT GB25529 AT ednor DOT casa DOT cgf DOT cx> <5057036D DOT 3080304 AT dancol DOT org> <5057254C DOT 4040405 AT cwilson DOT fastmail DOT fm> |
MIME-Version: | 1.0 |
In-Reply-To: | <5057254C.4040405@cwilson.fastmail.fm> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, Sep 17, 2012 at 09:27:40AM -0400, Charles Wilson wrote: >On 9/17/2012 7:03 AM, Daniel Colascione wrote: >> On 9/15/2012 9:21 AM, Christopher Faylor wrote: >>> On Sat, Sep 15, 2012 at 12:15:49PM -0400, Earnie Boyd wrote: >>>> I just discovered https://github.com/rprichard/winpty and thought >>>> Cygwin users and developers may be interested. The license is MIT >>>> style. >>> >>> Looks interesting. I've had something similar sitting around in my >>> Cygwin sandbox for a while. It would be nice to have a real console-based >>> pty implementation. >> >> Unfortunately, this program works by polling and scraping a hidden console >> window. Any approach of this type will lose data. (No, you can't synchronize >> your scraping by using console accessibility APIs because conhost calls out into >> accessibility with its locks held, and if you try to read the console buffer in >> this context, you deadlock.) > >Well, that's exactly what Console2 does, and it works pretty well. I've >never seen any "missing" data when using it. I don't know what they're >doing to work around the deadlock issue, but whatever it is it works. Ditto. cgf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |