[PATCH] Cygwin: pty: Inherit typeahead data between two input pipes.

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Feb 10 10:05:00 GMT 2020


On Feb  9 23:46, Takashi Yano wrote:
> - PTY has a problem that the key input, which is typed during
>   windows native app is running, disappear when it returns to shell.
>   (Problem 3 in https://cygwin.com/ml/cygwin/2020-02/msg00007.html)
>   This is beacuse pty has two input pipes, one is for cygwin apps
>   and the other one is for native windows apps. The key input during
>   windows native program is running is sent to the second input pipe
>   while cygwin shell reads input from the first input pipe.
>   This patch realize transfering input data between these two pipes.
> ---
>  winsup/cygwin/fhandler.h      |  12 +-
>  winsup/cygwin/fhandler_tty.cc | 400 ++++++++++++++++++++++++++--------
>  winsup/cygwin/select.cc       |   2 +
>  winsup/cygwin/tty.cc          |   3 +
>  winsup/cygwin/tty.h           |   3 +
>  5 files changed, 329 insertions(+), 91 deletions(-)

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20200210/c626ec33/attachment.sig>


More information about the Cygwin-patches mailing list