* 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:
@@ -661,7 +661,7 @@ peek_console (select_record *me, bool)
|
||||
else
|
||||
{
|
||||
if (irec.EventType == WINDOW_BUFFER_SIZE_EVENT)
|
||||
kill_pgrp (fh->tc->getpgid (), SIGWINCH);
|
||||
fh->tc->kill_pgrp (SIGWINCH);
|
||||
else if (irec.EventType == MOUSE_EVENT &&
|
||||
(irec.Event.MouseEvent.dwEventFlags == 0 ||
|
||||
irec.Event.MouseEvent.dwEventFlags == DOUBLE_CLICK))
|
||||
|
Reference in New Issue
Block a user