Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sysadcol(F) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sysadmsh(ADM)

terminfo(F)

terminfo(M)


 sysadmcolor(F)                  19 June 1992                  sysadmcolor(F)


 Name

    sysadmcolor - colors

 Description

    The files $HOME/.sysadmcolor and /usr/lib/sysadm/sysadmcolor describe
    what colors will be used within each window of sysadmsh(ADM).  This fea-
    ture will only come into effect on terminals which support color, and
    have the necessary information in their respective terminfo(M) defini-
    tions.  When sysadmsh(ADM) is started, it will first try to read the file
    .sysadmcolor in the user's home directory.  If that file does not exist,
    it will try to read the file /usr/lib/sysadm/sysadmcolor.  If neither
    file exists, a default color table stored within sysadmsh(ADM) is used.

    Each line in a sysadmcolor file must be in one of the following formats:

    Comment line
         The first character must be a ``#'' (number sign); the rest of the
         line is taken to be a comment and ignored.

    Blank line
         Any lines containing just tabs and spaces will be ignored.

    Window Color
         This line must have three fields, which can be separated by spaces
         or tabs;

         Sysadmsh.window:        foreground      background


         The window field is a label for one of the various windows that
         sysadmsh(ADM) can display, chosen from the following;

         menuwindow     which contains the menu bar, located on the second
                         line of the display.

         descwindow     which contains the description of the currently
                         available menu selections, located on the third line
                         of the display.

         contextwindow  which contains the name of the last selected menu
                         entry, located in the top right of the display.

         datewindow     which contains the current working directory and
                         date, located on the fourth line of the display.

         modewindow     which displays those editing modes which are in
                         effect, located in the middle of the top line of the
                         display.

         errorwindow    in which error messages display, located on the bot-
                         tom line of the display.

         pointwindow    which is used for pick-and-point lists.

         formwindow     in which forms are displayed.

         scanwindow     which is used to display scanned listings of data.

         editwindow     which is used to edit text, usually opened over a
                         field the user has selected for editing.

         The foreground and background fields contain the code numbers for
         the foreground and background colors used in that window.  The num-
         bers for each color are listed below;

         _____________________________________________
         Code   Color
         _____________________________________________
         0      Black
         1      Red
         2      Green
         3      Yellow
         4      Blue
         5      Magenta
         6      Cyan
         7      White

         Note that if the file does not contain a line for a particular win-
         dow construct, the default colors from the internal color table will
         be used.

 Examples

    Below is an example file, which shows the default colors used by
    sysadmsh(ADM).

       #
       # The standard colors used by sysadmsh(ADM).
       #
       Sysadmsh.menu_window:       7   0
       Sysadmsh.desc_window:       7   0
       Sysadmsh.context_window:    7   0
       Sysadmsh.date_window:       7   0
       Sysadmsh.mode_window:       7   0
       Sysadmsh.error_window:      7   0
       Sysadmsh.point_window:      7   0
       Sysadmsh.form_window:       7   0
       Sysadmsh.prompt_window:     7   0
       Sysadmsh.scan_window:       7   0
       Sysadmsh.edit_window:       7   0


 See also

    sysadmsh(ADM), terminfo(F), terminfo(M)

 Notes

    If the environment variable $SYSADM is set to other than the directory
    /usr/lib/sysadm, then this is where the system-wide version of the
    sysadmcolor file should be found by sysadmsh(ADM).

 Value added

    sysadmcolor is an extension of AT&T System V provided by The Santa Cruz
    Operation, Inc.


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