Technical article 125928

Console escape sequences that were working on Openserver 5.0.6 are no longer working when I migrate to Openserver 5.0.7

OpenServer 5.0.7

Written · Last revised

Problem

Some of the escape sequences I use for changing color on my console applications are not working after I moved to Openserver 5.0.7 from an earlier release. Additionally, no combination of mkdev scoansi fixes this problem either.

Specifically the console escape sequences such as:

echo "\033[2;3;4mThis color"
echo "\033[2;4;5mOr this other color"
are failing, while sequences such as:
echo "\033[0mNormal" - normal video
echo "\033[7mReverse" - reverse video
echo "\033[5mBlinking" - blinking video
are working.

Cause

There is a problem with the shipping console driver on SCO Openserver 5.0.7 where the driver does not recognize some of the color escape sequences.

Solution

This has been reported to SCO Engineering and is scheduled to be fixed in an upcomming release. Please contact your SCO service provider for further status on this problem.

See also

TA125751 "Line drawing and colour display have changed since moving my application to SCO OpenServer 5.0.6/5.0.7"

TA1112082 " The terminal type 'scoansi' is not behaving as expected and/or applications in scoansi dump core on OpenServer 5.0.6 and 5.0.7"

TA125752 "My legacy OpenServer applications do not work in a scoansi terminal as expected on SCO OpenServer Release 5.0.6/5.0.7"

From the Xinuos technical article database, record 125928. Reproduced with permission. The original is at www.sco.com/ta/125928, 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.