From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23644 invoked by alias); 3 Oct 2018 18:39:09 -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 23635 invoked by uid 89); 3 Oct 2018 18:39:09 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Oct 2018 18:39:07 +0000 Received: from [192.168.1.114] ([24.64.240.204]) by shaw.ca with ESMTP id 7m35gGbAg5Hxq7m36gpg8v; Wed, 03 Oct 2018 12:39:05 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Support for ConPTY? To: cygwin@cygwin.com References: <882627903.20181003192309@yandex.ru> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <89bc2e46-91c6-4877-e956-565705513edd@SystematicSw.ab.ca> Date: Wed, 03 Oct 2018 18:39:00 -0000 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 X-SW-Source: 2018-10/txt/msg00029.txt.bz2 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