It seems that screen was trying to flush the master pty, before the slave
tty was even open. We were lucky that this didn't crash our machines before
the dev_t changes, it only caused the console to be flushed instead. But
after the dev_t changes, it is fatal. Try this fix (band-aid only, better
fix should involve checking of TS_OPEN bit),

Index: tty_pty.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/tty_pty.c,v
retrieving revision 1.57
diff -u -r1.57 tty_pty.c
--- tty_pty.c   1999/05/08 06:39:43     1.57
+++ tty_pty.c   1999/05/14 16:51:58
@@ -336,6 +336,7 @@
        tp = &pt_tty[minor(dev)];
        if (tp->t_oproc)
                return (EIO);
+       tp->t_dev = dev;
        tp->t_oproc = ptsstart;
 #ifdef sun4c
        tp->t_stop = ptsstop;

-lq


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to