Subject: Re: Problem with NetBSD 1.4_alpha with signals and persistent processes
To: None <buhrow@cats.ucsc.edu>
From: Charles M. Hannum <root@ihack.net>
List: tech-security
Date: 05/06/1999 03:24:14
The inheritance of the tty modes is actually done by window(1) itself.
It can trivially be made to inherit the `right' modes; i.e.:

Index: wwinit.c
===================================================================
RCS file: /cvsroot/src/usr.bin/window/wwinit.c,v
retrieving revision 1.13
diff -c -2 -r1.13 wwinit.c
*** wwinit.c	1998/12/20 15:03:15	1.13
--- wwinit.c	1999/05/06 07:25:06
***************
*** 114,117 ****
--- 114,119 ----
  #endif
  	wwwintty.ww_termios.c_oflag &= ~OXTABS;
+ 	wwwintty.ww_termios.c_cflag &= ~CLOCAL;
+ 	wwwintty.ww_termios.c_cflag |= HUPCL;
  	wwnewtty.ww_termios = wwoldtty.ww_termios;
  	wwnewtty.ww_termios.c_iflag &=

I've committed this to the trunk.