Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stty(HW) — Xenix 2.3.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

console(M)

ioctl(S)

keyboard(HW)

screen(HW)

stty(C)

tty(M)



     STTY(HW)                 XENIX System V                  STTY(HW)



     Name
          stty - Sets the options for the video monitor.

     Syntax
          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 option, stty
          reports all of the option settings; with the -g option, it
          reports current settings in a form that can be used as an
          argument to another stty command.  The following options
          describe control modes for the video monitor and other
          display devices attached to a display adapter.  This
          information is hardware specific; refer to stty(M) for
          options generic to this utility. Additional details on the
          modes described here can be found in screen(HW) and
          keyboard(HW).

        Control Modes for the Video Monitor
          mono    Selects the monochrome display as the output device
                  for the console screen.  This mode is valid if a
                  standard monochrome adapter is present or if a
                  standard enhanced graphics adapter (EGA) is present
                  and the EGA is currently in one of the monochrome
                  display modes.

          color   Selects a standard regular color display as the
                  output device for the console screen.  This mode is
                  valid if a color graphics adapter is present or if a
                  standard EGA is present and is currently in one of
                  the color graphics compatibility modes.

          enhanced
                  Selects the enhanced color display as the output
                  device for the console screen.  This mode is valid
                  if an EGA is present and is currently in a non-
                  monochrome display mode.

          herc    Selects the monochrome display as the output device
                  for the console screen.  This mode is valid if a
                  Hercules monochrome graphics adapter is present and
                  is currently in a full monochrome graphics mode.

          pro     Selects the professional color display for the
                  output device for the console screen.  This mode is
                  valid if a standard professional graphics adapter is
                  present.

          Note that on systems with more than one display adapter, the
          keyboard multiscreen switchings only work on the current



     Page 1                                           (printed 8/7/87)





     STTY(HW)                 XENIX System V                  STTY(HW)



          primary screen display adapter.

          Control Modes for the Attached Display Devices

          B80x25  Selects 80x25 black and white text display mode.

          C80x25  Selects 80x25 color display text mode.

          BG320   Selects 320x200 black and white graphics display
                  mode.

          CG320   Selects 320x200 color graphics display mode.

          BG640   Selects 640x200 black and white graphics display
                  mode.

          The keyboard and display control modes above are valid for
          the following configurations:  standard color graphics
          adapter (CGA) attached to an standard regular color display,
          standard enhanced graphics adapter (EGA) (modes 0-6)
          attached to a standard regular color display or an standard
          enhanced color display, and an standard professional
          graphics adapter (PGA) attached to a standard professional
          graphics display.

          CG320_D Selects EGA support for 320x200 graphics display
                  mode (EGA mode D).

          CG640_E Selects EGA support for 640x200 graphics display
                  mode (EGA mode E).

          The two options above are only valid when an EGA is attached
          to a standard regular color display or an enhanced color
          display.

          EGAMONO80x25
                  Selects EGA Mode 7 as the display mode.  Emulates
                  the support provided by the standard monochrome
                  display adapter.

          EGAMONOAPA
                  Selects EGA support for 640x350 graphics display
                  mode (EGA mode F).

          ENHMONOAPA2
                  Selects EGA mode F*.

          The three options above are only valid when a standard EGA
          is attached to an IBM monochrome display.

          ENH_B80x25
                  Selects enhanced EGA support for 80x25 black and



     Page 2                                           (printed 8/7/87)





     STTY(HW)                 XENIX System V                  STTY(HW)



                  white text display mode (EGA mode 2*).

          ENH_C80x25
                  Selects enhanced EGA support for 80x25 color text
                  display mode (EGA mode 3*).

          CG640x350
                  Selects EGA support for 640x350 graphics display
                  mode (EGA mode 10).

          ENH_CG640
                  Selects EGA mode 10*.

          The six options above are only valid when a standard EGA is
          attached to a standard enhanced color display.

          MCAMODE Reinitializes the monochrome graphics adapter.

          Warning:  If invalid options are used for any of these
          display modes, the behavior of the attached device(s) may be
          erratic.

     See Also
          console(M), ioctl(S), keyboard(HW), screen(HW), stty(C),
          tty(M)

     Notes
          Many combinations of options make no sense, but no checking
          is performed.


























     Page 3                                           (printed 8/7/87)



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