Technical article 110842

How can I change the default colors used by SCOadmin Audit Manager in SCO OpenServer?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

I would like to be able to modify the colors that are used by SCOadmin Audit Manager, which has a sysadmsh(ADM) interface.

Solution

The colors used by sysadmsh(ADM) are held in:

/usr/lib/sysadm/sysadmcolor
The file contains the foreground and background color definitions
for the various windows that make sysadmsh.  The colors are:

0 = black 1 = red 2 = green 3 = brown 4 = magenta 5 = pink 6 = light blue 7 = white

For example, if you wanted to change the colors of the SCOadmin Audit Manager from red on black to white on black, change the first column to all 7s:

#       Colors used by sysadmsh and its sub-shells.
#
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

See also

ta104228, "How can I change the colors used by custom(ADM) and sysadmsh(ADM)?"

Additional details can be found in manual pages: sysadmcolor(F), sysadmsh(ADM), terminfo(F), terminfo(M)

From the Xinuos technical article database, record 110842. Reproduced with permission. The original is at www.sco.com/ta/110842, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.