]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Inherit typeahead data between two input pipes.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sun, 9 Feb 2020 14:46:59 +0000 (23:46 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 10 Feb 2020 09:19:38 +0000 (10:19 +0100)
commit29431fcb5b14d4c5ac3b3161a076eb1a208349d9
tree5f61378c4f94322b9014dba50b3a21b53b3e4516
parenta4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390
Cygwin: pty: Inherit typeahead data between two input pipes.

- 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
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/select.cc
winsup/cygwin/tty.cc
winsup/cygwin/tty.h
This page took 0.031127 seconds and 5 git commands to generate.