[PATCH v2 0/4] Improve pseudo console support.
Thu Jan 21 20:58:48 GMT 2021
The new implementation of pseudo console support by commit bb428520
provides the important advantages, while there also has been several
disadvantages compared to the previous implementation.
These patches overturn some of them.
1) The cygwin program which calls console API directly does not work.
is supposed to be able to be overcome as well, however, I am not sure
it is worth enough. This will need a lot of hooks for console APIs.
Takashi Yano (4):
Cygwin: pty: Inherit typeahead data between two input pipes.
Cygwin: pty: Keep code page between non-cygwin apps.
Cygwin: pty: Make apps using console APIs be able to debug with gdb.
Cygwin: pty: Allow multiple apps to enable pseudo console
winsup/cygwin/fhandler.h | 15 +-
winsup/cygwin/fhandler_tty.cc | 805 ++++++++++++++++++++++++++--------
winsup/cygwin/spawn.cc | 102 +++--
winsup/cygwin/tty.cc | 11 +-
winsup/cygwin/tty.h | 18 +-
5 files changed, 730 insertions(+), 221 deletions(-)
More information about the Cygwin-patches