move IEXTEN; cbreak has IEXTEN
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Mon, 4 Sep 1989 09:10:07 +0000 (01:10 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Mon, 4 Sep 1989 09:10:07 +0000 (01:10 -0800)
SCCS-vsn: sys/kern/tty_compat.c 1.5

usr/src/sys/kern/tty_compat.c

index 6503d89..d60f782 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)tty_compat.c        1.4 (Berkeley) %G%
+ *     @(#)tty_compat.c        1.5 (Berkeley) %G%
  */
 
 /* 
  */
 
 /* 
@@ -262,11 +262,11 @@ ttcompatsetflags(tp, t)
        if (flags & RAW) {
                iflag &= IXOFF;
                oflag &= ~OPOST;
        if (flags & RAW) {
                iflag &= IXOFF;
                oflag &= ~OPOST;
-               lflag &= ~(ECHOCTL|ISIG|ICANON);
+               lflag &= ~(ECHOCTL|ISIG|ICANON|IEXTEN);
        } else {
        } else {
-               iflag |= BRKINT|IXON|IEXTEN|IMAXBEL;
+               iflag |= BRKINT|IXON|IMAXBEL;
                oflag |= OPOST;
                oflag |= OPOST;
-               lflag |= ISIG;
+               lflag |= ISIG|IEXTEN;
                if (flags & XTABS)
                        oflag |= OXTABS;
                else
                if (flags & XTABS)
                        oflag |= OXTABS;
                else