Web lists-archives.com

Re: Support for ConPTY?




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