From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88057 invoked by alias); 8 Jun 2015 11:49:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 88049 invoked by uid 89); 8 Jun 2015 11:49:27 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Jun 2015 11:49:26 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 40C9AA807C8; Mon, 8 Jun 2015 13:49:24 +0200 (CEST) Date: Mon, 08 Jun 2015 11:49:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Cc: Rich Eizenhoefer 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 References: <20150502133833.GB12723@calimero.vinschen.de> <1433098286892-118602.post@n5.nabble.com> <20150601082456.GG4308@calimero.vinschen.de> <556E01FC.6060004@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-06/txt/msg00151.txt.bz2 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1527 On Jun 2 14:49, Warren Young wrote: > On Jun 2, 2015, at 1:20 PM, Eric Blake 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 Content-length: 819 -----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--