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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=LD+Wp94vweE8UHj7
	+ZoKrxHt+6adJTOkn1lhJKUrgWrgrQt2q2Tq3I3ZInzftHDYq/eWf/8s+mOAHHbB
	AooSLJMJz41uQMB5APH+EoCeiQjNycqaZ8sdHFYIqY5mHcI5STafji8QFQRISylL
	JYOdiO3U/UZMbYEUWf0pNunU9Fw=
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:reply-to:subject:to:references:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=SVrdoL5CGyNhi0HgkXq6l1
	Mkbq4=; b=kRYDqZHjVPIdwzojxB2OvFWOmXhAcQTDXsypHf1EhsvMA9+N6styrc
	ge3fkLJM5sb2G/lGLQ3vfvsKd6mPfLOlaX1eA09PxmYsk2avtTFbgF0y1odmQjyd
	8q+fbphGMLFukMLJ943C6d7Dz2/XuIFqplOGXZXRw2A0awm9lr2nI=
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-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, Reader, PTY
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Subject: Re: Support for ConPTY?
To: cygwin@cygwin.com
References: <CAPunWhCDhf2ndBF-3qDoxgXeq8Y3bd0rrAPuDs+w6da6Q+caNA@mail.gmail.com> <882627903.20181003192309@yandex.ru> <CAPunWhBr7oVJKkZReBqN+CumYkPuOug7ut+frg5MKgNYYNcPuw@mail.gmail.com>
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Openpgp: preference=signencrypt
Message-ID: <89bc2e46-91c6-4877-e956-565705513edd@SystematicSw.ab.ca>
Date: Wed, 3 Oct 2018 12:39:03 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <CAPunWhBr7oVJKkZReBqN+CumYkPuOug7ut+frg5MKgNYYNcPuw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 2018-10-03 10:49, Nicolás Ojeda Bär wrote:
> On Wed, Oct 3, 2018 at 6:35 PM Andrey Repin wrote:
>>> I was wondering if it would be possible to use the recent ConPTY API
>>> https://blogs.msdn.microsoft.com/commandline/2018/08/02/windows-command-line-introducing-the-windows-pseudo-console-conpty/
>>> to improve the compatibility of Cygwin with native Windows console
>>> applications (especially interactive ones).
>> "Native Windows console applications" are not using that API, so, the point?
> Thanks for your email. I am rather ignorant about the technical
> issues, but if you take a look at the section titled
> ConHost - Investing in yesterday for tomorrow
> in the referenced blog post it seems to indicate quite clearly that
> the new API can be used to run *existing* Console applications so that
> they appear to be basically Unix terminal applications (doing I/O
> using VT codes, etc).

Someone using Cygwin on Windows 10 may be interested enough some day to research
and develop patches to map ConPTY API to Posix PTY API while not breaking legacy
support for Posix PTY API with older Windows ConHost.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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

