add PASS8: pass all 8 bits of input
authorJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Tue, 13 Aug 1985 20:38:51 +0000 (12:38 -0800)
committerJay Lepreau <lepreau@ucbvax.Berkeley.EDU>
Tue, 13 Aug 1985 20:38:51 +0000 (12:38 -0800)
SCCS-vsn: bin/stty/stty.c 5.2
SCCS-vsn: share/man/man4/tty.4 6.3
SCCS-vsn: bin/stty/stty.1 6.2
SCCS-vsn: bin/stty/stty.c 5.2

usr/src/bin/stty/stty.1
usr/src/bin/stty/stty.c
usr/src/share/man/man4/tty.4

index 3b457d3..028e314 100644 (file)
@@ -1,8 +1,8 @@
-.\" Copyright (c) 1980 Regents of the University of California.
+.\" Copyright (c) 1983 Regents of the University of California.
 .\" 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.
 .\"
-.\"    @(#)stty.1      6.1 (Berkeley) %G%
+.\"    @(#)stty.1      6.2 (Berkeley) %G%
 .\"
 .TH STTY 1 ""
 .UC 4
 .\"
 .TH STTY 1 ""
 .UC 4
@@ -383,15 +383,13 @@ Input is not pending.
 .br
 .ns
 .TP 10
 .br
 .ns
 .TP 10
-.B intrup
-Send a signal (SIGTINT) to the terminal control process group whenever
-an input record (line in cooked mode, character in cbreak or raw mode)
-is available for reading.
+.B pass8
+Passes all 8 bits through on input, in any mode.
 .br
 .ns
 .TP 10
 .br
 .ns
 .TP 10
-.B \-intrup
-Don't send input available interrupts.
+.B \-pass8
+Strips the 0200 bit on input except in raw mode.
 .br
 .ns
 .TP 10
 .br
 .ns
 .TP 10
index f27107f..0b262cb 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)stty.c     5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)stty.c     5.2 (Berkeley) %G%";
 #endif not lint
 
 /*
 #endif not lint
 
 /*
@@ -116,6 +116,8 @@ struct
        "-mdmbuf",      0, 0, 0, LMDMBUF,
        "litout",       0, 0, LLITOUT, 0,
        "-litout",      0, 0, 0, LLITOUT,
        "-mdmbuf",      0, 0, 0, LMDMBUF,
        "litout",       0, 0, LLITOUT, 0,
        "-litout",      0, 0, 0, LLITOUT,
+       "pass8",        0, 0, LPASS8, 0,
+       "-pass8",       0, 0, 0, LPASS8,
        "tostop",       0, 0, LTOSTOP, 0,
        "-tostop",      0, 0, 0, LTOSTOP,
        "flusho",       0, 0, LFLUSHO, 0,
        "tostop",       0, 0, LTOSTOP, 0,
        "-tostop",      0, 0, 0, LTOSTOP,
        "flusho",       0, 0, LFLUSHO, 0,
@@ -418,6 +420,7 @@ prmodes(all)
                lpit(LFLUSHO, "-flusho ");
                lpit(LMDMBUF, "-mdmbuf ");
                lpit(LLITOUT, "-litout ");
                lpit(LFLUSHO, "-flusho ");
                lpit(LMDMBUF, "-mdmbuf ");
                lpit(LLITOUT, "-litout ");
+               lpit(LPASS8, "-pass8 ");
                lpit(LNOHANG, "-nohang ");
                if (any) {
                        fprintf(stderr,"\n");
                lpit(LNOHANG, "-nohang ");
                if (any) {
                        fprintf(stderr,"\n");
index 5e85116..4829e54 100644 (file)
@@ -1,10 +1,10 @@
-.\" Copyright (c) 1980 Regents of the University of California.
+.\" Copyright (c) 1983 Regents of the University of California.
 .\" 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.4       6.1 (Berkeley) 5/15/85
+.\"    @(#)tty.4       6.3 (Berkeley) %G%
 .\"
 .\"
-.TH TTY 4 "May 15, 1985"
+.TH TTY 4 ""
 .UC 4
 .SH NAME
 tty \- general terminal interface
 .UC 4
 .SH NAME
 tty \- general terminal interface
@@ -767,7 +767,7 @@ LFLUSHO     000200  Output is being flushed
 LNOHANG        000400  Don't send hangup when carrier drops
 LETXACK        001000  Diablo style buffer hacking (unimplemented)
 LCRTKIL        002000  BS-space-BS erase entire line on line kill
 LNOHANG        000400  Don't send hangup when carrier drops
 LETXACK        001000  Diablo style buffer hacking (unimplemented)
 LCRTKIL        002000  BS-space-BS erase entire line on line kill
-LINTRUP        004000  Generate interrupt SIGTINT when input ready to read
+LPASS8 004000  Pass all 8 bits through on input, in any mode
 LCTLECH        010000  Echo input control chars as ^X, delete as ^?
 LPENDIN        020000  Retype pending input at next read or input character
 LDECCTQ        040000  Only ^Q restarts output after ^S, like DEC systems
 LCTLECH        010000  Echo input control chars as ^X, delete as ^?
 LPENDIN        020000  Retype pending input at next read or input character
 LDECCTQ        040000  Only ^Q restarts output after ^S, like DEC systems