X-Recipient: archive-cygwin@delorie.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:cc:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=hWMtXYgEFdp3sgANweLpSRAnw5xjoWW4qnIaj6XhpiVf/qHExHtmV
	hd9LI+DERihfWRijzI7FD9jsVaSNK9qTIPaHF9zWzAykel1/aGOQlJysqp72z8EF
	p3tuQq4BPdfxoYxHL5TCbFjzHj70kceHx2gmrI+xSEaXcJGtR/isu0=
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:cc:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=EDqY2W+ne2AUhVLcmbz41FKdlLQ=; b=REETZN2M9IQSZnqYuaB0IyiRhmXx
	gqiwZMlpeAjEqi0H7w2akt7r4qGdrBzgAf+tMoISDrLQtqSjm6WTJ4wmTMwcxipt
	HW/NsG/xv8Ghos1NdoyWLB+XOiBU1DpNHFwfeP6eAPt7/HGgMV5xVX0vF1nZXZCm
	8NEafMzYCop91/w=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 8 Jun 2015 13:49:24 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Cc: Rich Eizenhoefer <riche@microsoft.com>
Subject: Re: From Microsoft: Windows 10 Console and Cygwin
Message-ID: <20150608114924.GA3005@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, Rich Eizenhoefer <riche@microsoft.com>
References: <BN3PR03MB1430B88AED4339821C7D95BEB4D50@BN3PR03MB1430.namprd03.prod.outlook.com> <20150502133833.GB12723@calimero.vinschen.de> <BN3PR03MB1430C0816A9D41BB051687A4B4D20@BN3PR03MB1430.namprd03.prod.outlook.com> <1433098286892-118602.post@n5.nabble.com> <20150601082456.GG4308@calimero.vinschen.de> <BN3PR03MB14303BAD46376DED807CFA2CB4B60@BN3PR03MB1430.namprd03.prod.outlook.com> <CAJ1KOAiG-VV2heqYSNSjwCb=s_pjxoxKaGY3SnDiy4E20yvOWw@mail.gmail.com> <BN3PR03MB1430F49F8839B66558779F3AB4B50@BN3PR03MB1430.namprd03.prod.outlook.com> <556E01FC.6060004@redhat.com> <CAB2911B-10C9-409F-B0A4-A88C3C9EB0BD@etr-usa.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe"
Content-Disposition: inline
In-Reply-To: <CAB2911B-10C9-409F-B0A4-A88C3C9EB0BD@etr-usa.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jun  2 14:49, Warren Young wrote:
> On Jun 2, 2015, at 1:20 PM, Eric Blake <eblake@redhat.com> wrote:
> >=20
> > On 06/02/2015 10:37 AM, Rich Eizenhoefer wrote:
> >> Can you provide more detail on changing isatty function to support Cyg=
win PTY's? I need to be able to support the request in our backlog.
> >=20
> > As long as we are wishing, it would be awesome if Windows natively
> > supported ptys as actual objects, instead of making cygwin have to
> > emulate them on top of other objects.
>=20
> In my ignorance of how ptys map to Windows console objects, I held off fr=
om asking for this when Mr. Eizenhoefer solicited ideas, but this is what I=
 thought of at that time, too.
>=20
> In other words, this notion of =E2=80=9Cvirtual terminals=E2=80=9D is alr=
eady implemented multiple times, following a standard that specifies the ex=
pected semantics =E2=80=94 POSIX =E2=80=94 so why not just do that?
>=20
> Why, in the end, can Windows *not* have ptys?

That's a good question.=20

Basically Windows console handles are kind of one half of the equation.
They don't follow the expected semantics but they are what native
Windows tools know and expect.

Opening up the other half of the equation, the server side, without
forcing to start conhost, might be enough to allow emulating POSIX ptys.

But I agree, real ptys with POSIX semantics would be cool.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVdYFEAAoJEPU2Bp2uRE+g3a0QAJLGa2j5nkjQZ4WzL9AKJvmo
XPFWnJ2OpiHMh7W4RvWJPj309ig63Kb/bjTUtRwJLKsrgVGgt+Oz6y7pzUO+fayj
p1t41cr6OJ7gxQVTmOQi0YcPQqJ8E3JX5n9Yn26KINdxHk8M4lofG5HOrORhfqg4
aUY1JdxuJCbiQGXI+DYxSIYfoxDTXQ2LP0mQVIA5AgzTaXZ8B+v5cz5v+xu+f4kv
d8hB6FdiyGH7knHohhS0aH/kToiNmeJkA0yj2rv54pnMTPD8exPSdgoPiESRM9H7
e2EpDg7hSuk/LpY/7D1CozkiveiET0Qv/tS6nK273ccCAh434krxkGpEGzkw/5F2
y51C31pEUysKtGBw8b70FaGNpOdTwxNABFIAH0+LA1WFdf3LE/ddZcPM9kD3kfoT
mDzKjD1/yDP/Ubn55ILCxyAmHz3m5jv9zhKPJ0FNbFWPD1sqPG4jHX9B/mfk6VDV
qQxLEqcyTBqb2/RU1wZ5M3PVt6l1kfJZB3Ef8xw6TGR1LpHXaeDQpPbeqA4uIOFo
ESX7WVzUZ0HhJZsQbjNAG0PZ0pV+5Dt+fysDbCVm9n6KF5C2xlal6dDT2bOtMCSB
gUabVb2LHp0Jhn1E0lN8qPRkbvMlCMjwkJnOB93/FxgX5WCIqUqxPmDddn2U3LOA
nlhy7VTixohumSfSYTyg
=JyUO
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--
