delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=AQlYTV5mcIvE80/7dnXtzrrOdBc4e9sXC17EYrwoPSzIXRaLUoe+I | |
7lRxbc961vCGnFh4A9Te8bLdxXkhDsea0lQ7ae7wO8cToFG0lqLxezCiyUMalNd9 | |
l8GUKW0wYwVeEu9xaxovLRsPrHBbmjD6dtY6YKhBEzc7/LaNlfpYXU= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=ugU/3giHqUz7QsweUaXutU4ucYQ=; b=mMgCn39OunEZAo0ujI+FEl7F2zV0 | |
vh5V19aRwFXK/RogpXmqbojkxdlkGq7ersIKazvRs2E8qrTOlX8tCoyqrET5t9lq | |
0mOBcvUiPY1zRuYWnF5PwAaD0G3Fc9xGd6cM7CQw5Ztk/+BaLOGTF9+ZDA/HLCqx | |
y3Fgma/N2nUI+nA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
X-Spam-SWARE-Status: | No, score=0.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1 |
Date: | Fri, 26 Jul 2013 18:35:08 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ptys - I give up |
Message-ID: | <20130726163508.GA25789@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20130726061334 DOT GA3780 AT ednor DOT casa DOT cgf DOT cx> <51F21AD0 DOT 5090107 AT dancol DOT org> <20130726152702 DOT GC4495 AT ednor DOT casa DOT cgf DOT cx> <51F2A21F DOT 60302 AT dancol DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <51F2A21F.60302@dancol.org> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On Jul 26 09:21, Daniel Colascione wrote: > On 7/26/2013 8:27 AM, Christopher Faylor wrote: > > On Thu, Jul 25, 2013 at 11:44:32PM -0700, Daniel Colascione wrote: > > > >> Ugly, only half-implemented, but better: a hook-based pseudoconsole > >> system for Windows. > > > > This is what I was holding out for. The last time it came up here, > > people seemed vehemently opposed to the idea since implementations that > > do this (like the Console app and a couple of libraries floating around) > > seem to have to poll the console looking for data and that could result > > in data loss. > > > > I have had code (not mine) sitting in my Cygwin directory for years > > which does this but I couldn't 100% convince myself that the detractors > > for this idea weren't right. Does your code work around this? > > I'm also against screen scrapers. That's why I wrote this library: it doesn't > poll. It actually intercepts console APIs and implements console handles as > pseudohandles, just like Windows <= 7 did, forwarding console API requests to a > server. Any console program that works with Windows 7 should work with this > library. Out of curiosity, can you expand what you mean here? I see a difference between Windows pre-7 and Windows 7 and later. Before Windows 7, the consoles seemed to be handled entirely by the csrss process. If you started bash directly, there was no other visible process involved. Starting with Windows 7 there's suddenly a "conhost" process for each console. Just as a side note, Windows 7's new conhost also broke the method to start an invisible console by creating it in a new, invisible WindowStation, and that still hasn't been fixed in Windows 8, despite my bug report during the W7 beta... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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 |