Mail Archives: cygwin-developers/1998/03/19/21:02:37
----------
From: Sergey Okhapkin
Sent: 19 марта 1998 г. 17:08
To: 'Andy Piper'
Cc: 'Gnu-Win32 developers'
Subject: RE: wierder & wierder
Geoffrey,
It's definitely my bug. Would you like to fix do_input() in tty.cc?
Andy Piper wrote:
> So isn't it an error that tty.cc in cygwin generates SIGTSTP in this
> instance? Shouldn't the code in tty.cc look like this:
>
> if (c == ttyp->termios.c_cc[VINTR] || // interrupt chars
> c == ttyp->termios.c_cc[VQUIT] ||
> c == ttyp->termios.c_cc[VSUSP])
> {
> termios_printf ("got interrupt %d\n", c);
> _kill (-ttyp->getpgid (),
> c == ttyp->termios.c_cc[VINTR]? SIGINT:
> (c == ttyp->termios.c_cc[VQUIT]? SIGQUIT: SIGTSTP));
> ttyp->termios.c_lflag &= ~FLUSHO;
> goto restart_output;
> }
It seems to me you're right...
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
- Raw text -