delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/03/19/21:02:37

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: FW: wierder & wierder
19 Mar 1998 21:02:37 -0800 :
Message-ID: <01BD5362.34D1D870.cygnus.cygwin32.developers@gater.krystalbank.msk.ru>
To: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>


----------
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 -


  webmaster     delorie software   privacy  
  Copyright ╘ 2019   by DJ Delorie     Updated Jul 2019