]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pty: Inherit typeahead data between two input pipes.
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Thu, 28 Jan 2021 03:26:11 +0000 (12:26 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 28 Jan 2021 10:21:12 +0000 (11:21 +0100)
commit10d083c745dd89e824adc960d555975afc26b785
tree28c338138c0dd5786d1e5693633dcccf6c876ace
parent5b941f21b51d511e2dd853db51b521979d00454e
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, disappears when it returns to shell. 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 issue had been
  fixed once by commit 29431fcb, however, the new implementation of
  pseudo console support by commit bb428520 could not inherit this
  feature. This patch realize transfering input data between these
  two pipes bidirectionally by utilizing cygwin-console-helper process.
  The helper process is launched prior to starting the non-cygwin app,
  however, exits immediately unlike previous implementation.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/spawn.cc
winsup/cygwin/tty.cc
winsup/cygwin/tty.h
This page took 0.034366 seconds and 5 git commands to generate.