[PATCH v3 0/4] Improve pseudo console support.

Takashi Yano takashi.yano@nifty.ne.jp
Mon Jan 25 09:39:46 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.

The disadvantage:
 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.
 --> Respecting Corinna's opinion, we decided not to implement this.

v3: Fix typeahead input issue in GDB. Several other bugs have also
    been fixed.

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
    simultaneously.

 winsup/cygwin/fhandler.h      |   18 +-
 winsup/cygwin/fhandler_tty.cc | 1016 +++++++++++++++++++++++++++------
 winsup/cygwin/select.cc       |   18 +-
 winsup/cygwin/select.h        |    8 +-
 winsup/cygwin/spawn.cc        |  102 ++--
 winsup/cygwin/tty.cc          |   11 +-
 winsup/cygwin/tty.h           |   18 +-
 7 files changed, 956 insertions(+), 235 deletions(-)

-- 
2.30.0



More information about the Cygwin-patches mailing list