Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setcolor(1) — Interactive 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

display(7)



          setcolor(1)          INTERACTIVE UNIX System          setcolor(1)



          NAME
               setcolor - set screen color

          SYNOPSIS
               setcolor [ -brgfopcs ] argument [ ,argument ]

          DESCRIPTION
               The setcolor utility allows the user to set various parame-
               ters on a color display, including foreground and background
               colors, overscan and reverse video colors, bell characteris-
               tics, and hardware scrolling.  A range of 16 colors can be
               used for the foreground color; a range of 8 colors can be
               used for the background color.  Invoking setcolor with no
               arguments produces a usage message and displays the 16
               available colors.

               The available colors that can be specified to setcolor are:

                            blue    magenta    brown    black
                            lblue   lmagenta   yellow   grey
                            cyan    white      green    red
                            lcyan   lwhite     lgreen   lred

               Arguments:


               -b color   Set the background to the specified color where
                          color is a string taken from the above list.

               -r color [, color]
                          Set the reverse video characters' foreground
                          color to the first color.  If a second choice is
                          specified, set the reverse video characters'
                          background to the specified color.

               -g color [,color]
                          Set the graphics characters' foreground color to
                          the first color.  If a second choice is speci-
                          fied, set the graphics characters' background to
                          the second color.

               -f color [,color]
                          Set the foreground to the first color.  If a
                          second choice is specified, set the background to
                          the second color.

               -o color   Set the overscan (screen border) color to the
                          specified color.

               -p frequency duration
                          Set the frequency and duration of the bell.  The
                          duration is specified in 1/10th-second incre-
                          ments.  The frequency is the period in


          Rev. 1.2                                                   Page 1





          setcolor(1)          INTERACTIVE UNIX System          setcolor(1)



                          microseconds.

               -c top bottom
                          Set the top and bottom scan lines of the cursor.
                          Depending on the font being displayed, the size
                          of the cursor could be 8, 14, or 16 scan lines.

               -s on/off  Set the hardware scrolling feature to be on or
                          off.  The display(7) driver provides for
                          hardware-assisted scrolling on CGA, EGA, and VGA
                          displays for better output performance.  The
                          standard system is shipped with hardware scrol-
                          ling turned off.  This option to setcolor allows
                          the user to turn hardware scrolling on when
                          desired.



             Notes
               The setcolor utility functions only on display devices capa-
               ble of supporting the ANSI escape sequences for color codes.
               It generally displays the message:

                    setcolor:  unsupported terminal type

               when run on unsupported hardware.

          SEE ALSO
               display(7).

          ADDED VALUE
               This entry, supplied by INTERACTIVE Systems Corporation, is
               an extension of UNIX System V.






















          Rev. 1.2                                                   Page 2



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