delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/26/12:22:21

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:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=lTqHGi
4sWaeHsJZ8l9rCQC5z90y2Dw8lsT+K4rGCio2LNlATXOpCAynD2LtIGN4BHhg0Be
fhq8XApYDhb7rIKXZz64G7/VXXS8pDOEgErBYOYaulzYHGuWKSxJyZiJOckUftCP
FhiCERXjUJifzHI3wcyQNXWUyjQhWy4Y7VZ8M=
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:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=vpDPcOgD2jSb
IE8B8xVirDSqHjY=; b=bz6YAT+0yDZZzexpDg4tF83W8oEUom67OIves2Nhhlad
giWG0fcwV4GfllLTBqiV6wF9zUR8WNmwCnaxKYTMJro7KlOI4FhTexKebvWMTL0h
7qfS/6iJ7ghKwS0f9j187YEwAml6DcTnRKyq/cR/0Ud/pSCL91vqHJ5Nb/meVnw=
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=-5.7 required=5.0 tests=AWL,BAYES_50,KHOP_PGP_SIGNED,KHOP_THREADED,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1
Message-ID: <51F2A21F.60302@dancol.org>
Date: Fri, 26 Jul 2013 09:21:51 -0700
From: Daniel Colascione <dancol AT dancol DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ptys - I give up
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>
In-Reply-To: <20130726152702.GC4495@ednor.casa.cgf.cx>
X-Virus-Found: No

------enig2SHTUARILMPBWXSCUSJKU
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 7/26/2013 8:27 AM, Christopher Faylor wrote:
> On Thu, Jul 25, 2013 at 11:44:32PM -0700, Daniel Colascione wrote:
>=20
>> Ugly, only half-implemented, but better: a hook-based pseudoconsole
>> system for Windows.
>=20
> 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.
>=20
> 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 <=3D 7 did, forwarding console API request=
s to a
server. Any console program that works with Windows 7 should work with this
library.

I'm not aware of any other implementations that use this approach. There's =
no
chance of data loss.



------enig2SHTUARILMPBWXSCUSJKU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHyoiIACgkQ17c2LVA10VvlkwCeJNQOvfllQB0EHT/rLpifKFZw
4aIAnReSKsH4b7lYK+BMfM/nJua+WEic
=BSfE
-----END PGP SIGNATURE-----

------enig2SHTUARILMPBWXSCUSJKU--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019