clear TTSTOP entering raw mode
authorKeith Bostic <bugs@ucbvax.Berkeley.EDU>
Mon, 6 Jul 1981 14:24:03 +0000 (06:24 -0800)
committerKeith Bostic <bugs@ucbvax.Berkeley.EDU>
Mon, 6 Jul 1981 14:24:03 +0000 (06:24 -0800)
SCCS-vsn: sys/kern/tty.c 4.7

usr/src/sys/kern/tty.c

index d57e691..563ac42 100644 (file)
@@ -1,4 +1,4 @@
-/*     tty.c   4.6     81/03/22        */
+/*     tty.c   4.7     81/07/05        */
 
 /*
  * TTY subroutines common to more than one line discipline
 
 /*
  * TTY subroutines common to more than one line discipline
@@ -343,6 +343,10 @@ caddr_t addr;
                tp->t_erase = iocb.sg_erase;
                tp->t_kill = iocb.sg_kill;
                tp->t_flags = iocb.sg_flags;
                tp->t_erase = iocb.sg_erase;
                tp->t_kill = iocb.sg_kill;
                tp->t_flags = iocb.sg_flags;
+               if (tp->t_flags & RAW) {
+                       tp->t_state &= ~TTSTOP;
+                       ttstart(tp);
+               }
                (void) spl0();
                break;
 
                (void) spl0();
                break;