Technical article 114842

Inverse escape sequences do not work as expected in OpenServer 5.0.6.

OpenServer 5.0.6

Written · Last revised

Problem

On releases prior to OpenServer 5.0.6, it was easy to change the background and letter color of a console screen through a shell script. For instance, the following script will print the text "Inverse" with red letters on a green background:

# Red on Green Sample
echo " [7;4;2m"
echo " [7m"
echo "Inverse\r\r"
echo " [m"
echo "Normal\r\r"

This does not work as expected on OpenServer Release 5.0.6, with or without rs506a installed on the system.

Solution

This has been reported to SCO Engineering and will be addressed in a future release of the product.

As a workaround, you can run the command "mkdev scoansi" and select pre-5.0.6 emulation. You will have to relink and reboot after making this change.

From the Xinuos technical article database, record 114842. Reproduced with permission. The original is at www.sco.com/ta/114842, which is reachable but blocked from search engines.

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.