* fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp

method.
* select.cc (peek_console): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to
entire process group as dictated by SUSv3.
* termios.cc (tcsetattr): Detect when stopped signal sent and force a stop
before setting anything.
This commit is contained in:
Christopher Faylor
2002-07-29 03:18:41 +00:00
parent efd34df5a5
commit eb5720f255
6 changed files with 61 additions and 16 deletions

View File

@@ -416,7 +416,7 @@ fhandler_console::read (void *pv, size_t buflen)
break;
case WINDOW_BUFFER_SIZE_EVENT:
kill_pgrp (tc->getpgid (), SIGWINCH);
tc->kill_pgrp (SIGWINCH);
continue;
default: