]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: console: Fix issues of apps which open pty.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Fri, 25 Feb 2022 07:23:58 +0000 (16:23 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Sat, 26 Feb 2022 06:59:20 +0000 (15:59 +0900)
commit32401ad98ec6f04534f6a60d47566f8c8e500605
tree20de0e3563cd3e97a28a8236193f9b691678c0bf
parent69d93f3121733c922d19a9ad99e2c4f076d93df3
Cygwin: console: Fix issues of apps which open pty.

- After some recent changes for special keys handling break the
  apps which open pty (such as script command). If the app which
  opens pty is executed in console, the following issues occur.
    1) If the script command was started from non-cygwin shell
       (such as cmd.exe), another cygwin app started in pty slave
       cannot receive Ctrl-C.
    2) If non-cygwin app is executed in pty slave, the app which
       opened the pty (e.g. script command) crashes by Ctrl-C.
  This patch fixes these issues.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fhandler_termios.cc
winsup/cygwin/fhandler_tty.cc
This page took 0.028402 seconds and 5 git commands to generate.