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: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 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-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 DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Support for ConPTY? To: cygwin AT cygwin DOT com References: <882627903 DOT 20181003192309 AT yandex DOT ru> From: Brian Inglis 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: 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