set DECCTLQ on specifc lines with getty (from muller@nprdc.arpa)
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 8 Jan 1986 07:10:07 +0000 (23:10 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 8 Jan 1986 07:10:07 +0000 (23:10 -0800)
SCCS-vsn: libexec/getty/init.c 5.2
SCCS-vsn: libexec/getty/gettytab.h 5.2
SCCS-vsn: libexec/getty/subr.c 5.4

usr/src/libexec/getty/gettytab.h
usr/src/libexec/getty/init.c
usr/src/libexec/getty/subr.c

index 75b8935..677a07c 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.
  *
- *     @(#)gettytab.h  5.1 (Berkeley) %G%
+ *     @(#)gettytab.h  5.2 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -104,6 +104,7 @@ struct gettyflags {
 #define        HC      gettyflags[17].value
 #define UB     gettyflags[18].value
 #define AB     gettyflags[19].value
 #define        HC      gettyflags[17].value
 #define UB     gettyflags[18].value
 #define AB     gettyflags[19].value
+#define DX     gettyflags[20].value
 
 int    getent();
 long   getnum();
 
 int    getent();
 long   getnum();
index c3cbbfb..79a66f8 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)init.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)init.c     5.2 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -87,5 +87,6 @@ struct        gettyflags gettyflags[] = {
        { "hc", 1 },                    /* don't set hangup on close */
        { "ub", 0 },                    /* unbuffered output */
        { "ab", 0 },                    /* auto-baud detect with '\r' */
        { "hc", 1 },                    /* don't set hangup on close */
        { "ub", 0 },                    /* unbuffered output */
        { "ab", 0 },                    /* auto-baud detect with '\r' */
+       { "dx", 0 },                    /* set decctlq */
        { 0 }
 };
        { 0 }
 };
index 9527bb5..7ca1295 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)subr.c     5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)subr.c     5.4 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -189,6 +189,9 @@ setflags(n)
        if (XC)
                f |= CTLECH;
 
        if (XC)
                f |= CTLECH;
 
+       if (DX)
+               f |= DECCTQ;
+
        return (f);
 }
 
        return (f);
 }