first pass for new make
[unix-history] / usr / src / bin / stty / stty.1
index af5a560..a406f25 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.
 .\"
-.\"    @(#)stty.1      5.1 (Berkeley) %G%
+.\"    @(#)stty.1      6.4 (Berkeley) %G%
 .\"
 .\"
-.TH STTY 1 "11 May 1981"
+.TH STTY 1 ""
 .UC 4
 .SH NAME
 stty \- set terminal options
 .UC 4
 .SH NAME
 stty \- set terminal options
@@ -17,10 +17,23 @@ sets certain I/O options on the current output terminal,
 placing its output on the diagnostic output.
 With no argument, it reports the speed of the terminal and the
 settings of the options which are different from their defaults.
 placing its output on the diagnostic output.
 With no argument, it reports the speed of the terminal and the
 settings of the options which are different from their defaults.
-With the argument ``all'', all normally used option settings are reported.
-With the argument ``everything'', everything
+Use of one of the following options modifies the output as described:
+.TP 10
+.B all
+All normally used option settings are reported.
+.TP 10
+.B everything
+Everything
 .I stty
 knows about is printed.
 .I stty
 knows about is printed.
+.TP 10
+.B speed
+The terminal speed alone is printed on the standard output.
+.TP 10
+.B size
+The terminal (window) sizes are printed on the standard output,
+first rows and then columns.
+.sp
 The option strings are
 selected from the following set:
 .TP  10
 The option strings are
 selected from the following set:
 .TP  10
@@ -191,7 +204,7 @@ set end of file character to
 set break character to
 .I c
 (default undefined.)
 set break character to
 .I c
 (default undefined.)
-This character is an extra wakeup causing character.
+This character is an additional character causing wakeup.
 .br
 .ns
 .TP 10
 .br
 .ns
 .TP 10
@@ -270,6 +283,20 @@ hang up phone line immediately
 .br
 Set terminal baud rate to the number given, if possible.
 (These are the speeds supported by the DH-11 interface).
 .br
 Set terminal baud rate to the number given, if possible.
 (These are the speeds supported by the DH-11 interface).
+.TP 10
+.BI rows \ n\fR
+The terminal size is recorded as having
+.I n
+rows.
+.TP 10
+.BI columns \ n\fR
+The terminal size is recorded as having
+.I n
+columns.
+.TP 10
+.BI cols \ n\fR
+is an alias for
+.IR columns .
 .PP
 A teletype driver which supports the job control processing of
 .IR csh (1)
 .PP
 A teletype driver which supports the job control processing of
 .IR csh (1)
@@ -383,15 +410,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