kernel - More tty/pty fixes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Sep 2010 18:28:21 +0000 (11:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Sep 2010 18:28:21 +0000 (11:28 -0700)
commit470b5de8bab672e9f29c78eb9f41807d3310fa3d
tree18bf6e1732f0b87cad6193b4c9d7c7e5316a49b7
parent1c4e9d25bea317b57a1528cce7cafaeff43923de
kernel - More tty/pty fixes

* Notify the pty master when the slave closes.

* Fix the zombie state stuff.  Clear the zombie state on initial open of
  either side, prior to running any modem controls.

* This appears to fix screen and tmux.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>, Antonio Huete Jimenez <tuxillo@crater.dragonflybsd.org>
sys/kern/tty_pty.c