HP-UX Reference (11i v3 07/02) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
s
sttyv6(7) sttyv6(7)
PARODD, INPCK (if both clear)
Sets the sgttyb ODDP and EVENP flags.
ONLCR (if set) Sets the sgttyb CRMOD flag; also, if CR1 is set, the
sgttyb CR1 flag is set, and if
CR2 is set, the
sgttyb CR2 flag is set.
ONLCR (if clear) If CR1 is set, the
sgttyb NL1 flag is set, and if CR2 is set, the
sgttyb NL2 flag is
set.
TAB3 (if set) Sets the
sgttyb XTABS flag.
TAB3 (if clear) Clears the
sgttyb XTABS flag.
TAB1 (if set) Sets the
sgttyb TBDELAY flag.
TAB1 (if clear) Clears the
sgttyb TBDELAY flag.
FFDLY (if set) Sets the
sgttyb VTDELAY flag.
FFDLY (if clear) Clears the
sgttyb VTDELAY flag.
BSDLY (if set) Sets the
sgttyb BSDELAY flag.
BSDLY (if clear) Clears the
sgttyb BSDELAY flag.
When using
TIOCGETP, the termio CBAUD field is mapped into the ispeed and ospeed entries of the
sgttyb structure. Also, the termio erase and kill characters are mapped into the erase and kill
sgttyb entries.
Note that, since there is not a one-to-one mapping between the sgttyb and termio structures, unex-
pected results may occur when using the older
TIOCSETP and TIOCGETP calls. Thus, the TIOCSETP
and TIOCGETP calls should be replaced in all future code by the current equivalents, TCSETA and
TCGETA, respectively.
WARNINGS
These facilities are included to aid in conversion of old programs, and should not be used in new code. Use
the interface described in termio. Note that these conversions do not work for programs ported from
UNIX Time-Sharing System, Seventh Edition (Version 7), because some V7 flags are defined differently.
SEE ALSO
stty(2), termio(7).
HP-UX 11i Version 3: February 2007 − 3 − Hewlett-Packard Company 203