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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 To: cygwin AT cygwin DOT com Cc: Rich Eizenhoefer Subject: Re: From Microsoft: Windows 10 Console and Cygwin Message-ID: <20150608114924.GA3005@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com, Rich Eizenhoefer References: <20150502133833 DOT GB12723 AT calimero DOT vinschen DOT de> <1433098286892-118602 DOT post AT n5 DOT nabble DOT com> <20150601082456 DOT GG4308 AT calimero DOT vinschen DOT de> <556E01FC DOT 6060004 AT redhat DOT 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) --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 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--