Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



STTY(1)         DOMAIN/IX Reference Manual (SYS5)         STTY(1)



NAME
     stty - set the options for a terminal

USAGE
     stty [ -a ] [ -g ] [ options ]

DESCRIPTION
     Stty sets certain terminal I/O options for the device that
     is the current standard input.  Without arguments, it
     reports the settings of certain options.  With the -a argu-
     ment, it reports all of the option settings; with the -g
     argument, it reports current settings in a form that can be
     used as an argument to another stty command.

     Detailed information about the modes listed in the first
     five groups below may be found in termio (7).

     The options listed under COMBINATION MODE OPTIONS are imple-
     mented using options in the previous groups.  Note that many
     combinations of options make no sense, but stty does no san-
     ity checking.

CONTROL MODE OPTIONS
     parenb (-parenb)
               Enable (disable) parity generation and detection.

     parodd (-parodd)
               Select odd (even) parity.

     cs5 cs6 cs7 cs8
               Select character size.

     0         Hang up phone line immediately.

     50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb
               Set terminal baud rate to the number given, if
               possible.  All speeds are not supported by all
               hardware interfaces.

     hupcl (-hupcl)
               Hang up (do not hang up) phone connection on the
               last close.

     hup (-hup)
               Same as hupcl (-hupcl).

     cstopb (-cstopb)
               Use two (one) stop bits per character.

     cread (-cread)
               Enable (disable) the receiver.




Printed 6/10/85                                            STTY-1





STTY(1)         DOMAIN/IX Reference Manual (SYS5)         STTY(1)



     clocal (-clocal)
               Assume a line without (with) modem control.

     loblk (-loblk)
               Not supported in DOMAIN/IX.

INPUT MODE OPTIONS
     ignbrk (-ignbrk)
               Ignore (do not ignore) break on input.

     brkint (-brkint)
               Signal (do not signal) INTR on break.

     ignpar (-ignpar)
               Ignore (do not ignore) parity errors.

     parmrk (-parmrk)
               Mark (do not mark) parity errors.

     inpck (-inpck)
               Enable (disable) input parity checking.

     istrip (-istrip)
               Strip (do not strip) input characters to seven
               bits.

     inlcr (-inlcr)
               Map (do not map) NL to CR on input.

     igncr (-igncr)
               Ignore (do not ignore) CR on input.

     icrnl (-icrnl)
               Map (do not map) CR to NL on input.

     iuclc (-iuclc)
               Map (do not map) uppercase alphabetics to lower-
               case on input.

     ixon (-ixon)
               Enable (disable) START/STOP output control.  Out-
               put is stopped by sending an ASCII DC3 and started
               by sending an ASCII DC1.  This is the default in
               DOMAIN/IX.

     ixany (-ixany)
               Not supported in DOMAIN/IX.

     ixoff (-ixoff)
               Request that the system send (not send) START/STOP
               characters when the input queue is nearly
               empty/full.



STTY-2                                            Printed 6/10/85





STTY(1)         DOMAIN/IX Reference Manual (SYS5)         STTY(1)



OUTPUT MODE OPTIONS
     opost (-opost)
               Postprocess output (do not postprocess output;
               ignore all other output modes).

     olcuc (-olcuc)
               Map (do not map) lowercase alphabetics to upper-
               case on output.

     onlcr (-onlcr)
               Map (do not map) NL to CR-NL on output.

     ocrnl (-ocrnl)
               Map (do not map) CR to NL on output.

     onocr (-onocr)
               Do not (do) output CRs at column zero.

     onlret (-onlret)
               Force the terminal NL to perform (not perform) the
               CR function.

     ofill (-ofill)
               Use fill characters (use timing) for delays.

     ofdel (-ofdel)
               Fill characters are DELs (NULs).

     cr0 cr1 cr2 cr3
               Not supported in DOMAIN/IX.

     nl0 nl1   Select the style of delay for line feeds.

     tab0 tab1 tab2 tab3
               Not supported in DOMAIN/IX.

     bs0 bs1   Not supported in DOMAIN/IX.

     ff0 ff1   Not supported in DOMAIN/IX.

     vt0 vt1   Not supported in DOMAIN/IX.

LOCAL MODE OPTIONS
     isig (-isig)
               Enable (disable) the checking of characters
               against the special control characters INTR, QUIT,
               and SWTCH.

     icanon (-icanon)
               Enable (disable) canonical input (ERASE and KILL
               processing).




Printed 6/10/85                                            STTY-3





STTY(1)         DOMAIN/IX Reference Manual (SYS5)         STTY(1)



     xcase (-xcase)
               Use canonical (unprocessed) upper/lowercase
               presentation.

     echo (-echo)
               Not supported in DOMAIN/IX.  Echo back (do not
               echo back) every character typed.

     echoe (-echoe)
               Echo (do not echo) the ERASE character as a
               backspace-space-backspace string.  Note: this mode
               erases the ERASEed character on many CRT termi-
               nals; however, it does not keep track of column
               position and, as a result, may be confusing on
               escaped characters, tabs, and backspaces.

     echok (-echok)
               Echo (do not echo) NL after the KILL character.

     lfkc (-lfkc)
               Same as echok (-echok); this option is obsolete.

     echonl (-echonl)
               Echo (do not echo) NL.

     noflsh (-noflsh)
               Disable (enable) flush after INTR, QUIT, or SWTCH.

     stwrap (-stwrap)
               Disable (enable) truncation of lines longer than
               79 characters on a synchronous line.

     stflush (-stflush)
               Enable (disable) flush on a synchronous line after
               every write(2).

     stappl (-stappl)
               Use the application mode (use line mode) on a syn-
               chronous line.

CONTROL ASSIGNMENT OPTIONS
     control character c
               Set control character to c, where control charac-
               ter is erase, kill, intr, quit, swtch, eof, ctab,
               min, or time.  Ctab is used with -stappl.  Min and
               time are used with -icanon.  If c is preceded by a
               caret (^) to escape the Shell, then the value of
               the corresponding CTRL character is used.  A
               ``^?'' is interpreted as DEL and ``^-'' is inter-
               preted as undefined.

     line i    Not supported in DOMAIN/IX.



STTY-4                                            Printed 6/10/85





STTY(1)         DOMAIN/IX Reference Manual (SYS5)         STTY(1)



COMBINATION MODE OPTIONS
     evenp or parity
               Enable parenb and cs7.

     oddp      Enable parenb, cs7, and parodd.

     -parity, -evenp, or -oddp
               Disable parenb, and set cs8.

     raw (-raw or cooked)
               Enable (disable) raw input and output (no ERASE,
               KILL, INTR, QUIT, SWTCH, EOT, or output postpro-
               cessing).

     nl (-nl)  Unset (set) icrnl, onlcr.  In addition -nl unsets
               inlcr, igncr, ocrnl, and onlret.

     lcase (-lcase)
               Set (unset) xcase, iuclc, and olcuc.

     LCASE (-LCASE)
               Same as lcase (-lcase).

     tabs (-tabs or tab3)
               Preserve (expand to spaces) tabs when printing.

     ek        Reset the ERASE and KILL characters back to normal
               # and @.

     sane      Reset all modes to some reasonable values.

     term      Set all modes suitable for the terminal type term,
               where term is one of tty33, tty37, vt05, tn300,
               ti700, or tek.

CAUTIONS
     In a Display Manager pad, only the echo (-echo) and raw
     (-raw or cooked) options are immediately effective.  All
     other settings are remembered for use when a window is run-
     ning under control of a VT100 emulator.

RELATED INFORMATION
     tabs (1), ioctl (2), termio (7).












Printed 6/10/85                                            STTY-5



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026