BSD 4_4_Lite1 release
[unix-history] / usr / src / share / man / man4 / termios.4
index a3dba15..72e9710 100644 (file)
@@ -1,11 +1,37 @@
 .\" Copyright (c) 1991, 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
 .\" Copyright (c) 1991, 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
-.\" %sccs.include.redist.roff%
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"    @(#)termios.4   8.2 (Berkeley) %G%
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
 .\"
 .\"
-.Dd 
+.\"    @(#)termios.4   8.4 (Berkeley) 4/19/94
+.\"
+.Dd April 19, 1994
 .Dt TERMIOS 4
 .Os BSD 4
 .Sh NAME
 .Dt TERMIOS 4
 .Os BSD 4
 .Sh NAME
@@ -63,7 +89,7 @@ A job control shell
 operating interactively (that is, reading commands from a terminal)
 normally groups related processes together by placing them into the
 same process group.  A set of processes in the same process group
 operating interactively (that is, reading commands from a terminal)
 normally groups related processes together by placing them into the
 same process group.  A set of processes in the same process group
-is collectively refered to as a "job". When the foreground process
+is collectively referred to as a "job". When the foreground process
 group of the terminal is the same as the process group of a particular
 job, that job is said to be in the "foreground".  When the process
 group of the terminal is different than the process group of
 group of the terminal is the same as the process group of a particular
 job, that job is said to be in the "foreground".  When the process
 group of the terminal is different than the process group of
@@ -79,7 +105,7 @@ be started in the background (as denoted by the shell operator "&"),
 it never changes the process group of the terminal and doesn't
 wait for the job to complete (that is, it immediately attempts to read the next
 command).  If the job is started in the foreground, the user may
 it never changes the process group of the terminal and doesn't
 wait for the job to complete (that is, it immediately attempts to read the next
 command).  If the job is started in the foreground, the user may
-type a key (ususally
+type a key (usually
 .Ql \&^Z )
 which generates the terminal stop signal
 .Pq Dv SIGTSTP
 .Ql \&^Z )
 which generates the terminal stop signal
 .Pq Dv SIGTSTP
@@ -200,7 +226,7 @@ when this limit is exceeded depends on the setting of the
 flag in the termios
 .Fa c_iflag .
 If this flag is set, the terminal
 flag in the termios
 .Fa c_iflag .
 If this flag is set, the terminal
-is sent an
+is sent an
 .Tn ASCII
 .Dv BEL
 character each time a character is received
 .Tn ASCII
 .Dv BEL
 character each time a character is received
@@ -926,8 +952,7 @@ characters are transmitted are implementation defined.
 .Pp
 If
 .Dv IMAXBEL
 .Pp
 If
 .Dv IMAXBEL
-is set and the input queue is full, subsequent input
-shall causes an
+is set and the input queue is full, subsequent input shall cause an
 .Tn ASCII
 .Dv BEL
 character to be transmitted to the
 .Tn ASCII
 .Dv BEL
 character to be transmitted to the