This is a flag bit that you can add to any of the above alternatives.
Its meaning is to inhibit alteration of the state of the terminal
hardware. It is a BSD extension; it is only supported on BSD systems
-and the GNU system.
+and @gnuhurdsystems{}.
Using @code{TCSASOFT} is exactly the same as setting the @code{CIGNORE}
bit in the @code{c_cflag} member of the structure @var{termios-p} points
been suspended with the STOP character. Otherwise, only the START
character restarts output.
-This is a BSD extension; it exists only on BSD systems and the GNU system.
+This is a BSD extension; it exists only on BSD systems and
+@gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
If this bit isn't set, the characters are transmitted as-is.
@end deftypevr
-The following three bits are BSD features, and they exist only BSD
-systems and the GNU system. They are effective only if @code{OPOST} is
-set.
+The following three bits are effective only if @code{OPOST} is set.
@comment termios.h
-@comment BSD
+@comment POSIX.1
@deftypevr Macro tcflag_t ONLCR
If this bit is set, convert the newline character on output into a pair
of characters, carriage return followed by linefeed.
@end deftypevr
-@comment termios.h
+@comment termios.h (optional)
@comment BSD
@deftypevr Macro tcflag_t OXTABS
If this bit is set, convert tab characters on output into the appropriate
-number of spaces to emulate a tab stop every eight columns.
+number of spaces to emulate a tab stop every eight columns. This bit
+exists only on BSD systems and @gnuhurdsystems{}; on
+@gnulinuxsystems{} it is available as @code{XTABS}.
@end deftypevr
-@comment termios.h
+@comment termios.h (optional)
@comment BSD
@deftypevr Macro tcflag_t ONOEOT
If this bit is set, discard @kbd{C-d} characters (code @code{004}) on
output. These characters cause many dial-up terminals to disconnect.
+This bit exists only on BSD systems and @gnuhurdsystems{}.
@end deftypevr
@node Control Modes
This specifies eight bits per byte.
@end deftypevr
-The following four bits are BSD extensions; this exist only on BSD
-systems and the GNU system.
+The following four bits are BSD extensions; these exist only on BSD
+systems and @gnuhurdsystems{}.
@comment termios.h
@comment BSD
character erased. Then, the next time you type a normal character, a
@samp{/} character is printed before the character echoes.
-This is a BSD extension, and exists only in BSD systems and the
-GNU system.
+This is a BSD extension, and exists only in BSD systems and
+@gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
@deftypevr Macro tcflag_t ECHOKE
This bit is similar to @code{ECHOK}. It enables special display of the
KILL character by erasing on the screen the entire line that has been
-killed. This is a BSD extension, and exists only in BSD systems and the
-GNU system.
+killed. This is a BSD extension, and exists only in BSD systems and
+@gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
for interactive input, because echoing a control character back to the
terminal could have some undesired effect on the terminal.
-This is a BSD extension, and exists only in BSD systems and the
-GNU system.
+This is a BSD extension, and exists only in BSD systems and
+@gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
POSIX.1 gives @code{IEXTEN} implementation-defined meaning,
so you cannot rely on this interpretation on all systems.
-On BSD systems and the GNU system, it enables the LNEXT and DISCARD characters.
+On BSD systems and @gnulinuxhurdsystems{}, it enables the LNEXT and
+DISCARD characters.
@xref{Other Special}.
@end deftypevr
attempt to write to the terminal. @xref{Access to the Terminal}.
@end deftypevr
-The following bits are BSD extensions; they exist only in BSD systems
-and the GNU system.
+The following bits are BSD extensions; they exist only on BSD systems
+and @gnuhurdsystems{}.
@comment termios.h
@comment BSD
While this bit is set, all output is discarded. @xref{Other Special}.
@end deftypevr
-@comment termios.h
+@comment termios.h (optional)
@comment BSD
@deftypevr Macro tcflag_t NOKERNINFO
Setting this bit disables handling of the STATUS character.
other.
The EOL2 character is a BSD extension; it exists only on BSD systems
-and the GNU system.
+and @gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
supports job control (@pxref{Job Control}). It sends a @code{SIGTSTP}
signal, like the SUSP character, but not right away---only when the
program tries to read it as input. Not all systems with job control
-support DSUSP; only BSD-compatible systems (including the GNU system).
+support DSUSP; only BSD-compatible systems (including @gnuhurdsystems{}).
@xref{Signal Handling}, for more information about signals.
@node Other Special
@subsubsection Other Special Characters
-These special characters exist only in BSD systems and the GNU system.
-
@comment termios.h
@comment BSD
@deftypevr Macro int VLNEXT
@kbd{C-q} command in Emacs. ``LNEXT'' stands for ``literal next.''
The LNEXT character is usually @kbd{C-v}.
+
+This character is available on BSD systems and @gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
discard-output flag. When this flag is set, all program output is
discarded. Setting the flag also discards all output currently in the
output buffer. Typing any other character resets the flag.
+
+This character is available on BSD systems and @gnulinuxhurdsystems{}.
@end deftypevr
@comment termios.h
The STATUS character is recognized only in canonical mode, and only if
@code{NOKERNINFO} is not set.
+
+This character is available only on BSD systems and @gnuhurdsystems{}.
@end deftypevr
@node Noncanonical Input
@comment sgtty.h
@comment BSD
-@deftypefun int stty (int @var{filedes}, struct sgttyb *@var{attributes})
+@deftypefun int stty (int @var{filedes}, const struct sgttyb *@var{attributes})
This function sets the attributes of a terminal.