[PATCH v8 0/1] Pseudo console support in PTY (v8)

Thomas Wolff towo@towo.net
Fri Aug 23 22:30:00 GMT 2019

Am 21.08.2019 um 17:42 schrieb Takashi Yano:
> Changes from v7:
> Make the programs work which call WIN32 APIs such as WriteConsole()
> directly despite being linked with cygwin1.dll. This is realized
> by hooking some WIN32 APIs and switching I/O to the pseudo console
> if console access is detected.
> ...
I've retested my cases, and also checked WriteConsole and WriteFile 
cases. These work fine now, amazing!

Character set conversion for non-cygwin programs in a non-UTF-8 terminal 
still does not work for me. But that is a minor issue, at least it's not 
worse than before.

Switching to the alternate screen buffer and back via escape sequence is 
now completely disabled while running a non-cygwin program like cmd.exe. 
This is effectively fine, I just wonder how much effort you put into 
handling that (it seemed to work well already in v7 when switching was 
still possible); you can still force-switch from the mintty extended 
context menu and see it forced back on further interaction...

After all, I'm looking forward to the integration of your patch in 
cygwin, so I can close long-standing mintty issue #56 :)
Many thanks

More information about the Cygwin-developers mailing list