Technical article 125751

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

OpenServer 5.0.7

Written · Last revised

Problem

I have upgrade my system to SCO OpenServer 5.0.7 (or OpenServer 5.0.6), but now one or more of my applications do not behave correctly. Problems with the applications include:

1) Lines within the application being drawn incorrectly or otherwise corrupted.

2) Changes to colors displayed within the application

Cause

The scoansi terminal emulation was updated in SCO OpenServer Release 5.0.6 to improve conformance to the ANSI X5.64-1979 escape sequence standard. This can result in problems for applications that expect the older (pre OpenServer 5.0.6) scoansi terminal emulation and have hardcoded the control of the terminal into their application.

Solution

There are two areas that may need to be addressed to fix this problem.

1) If you are running the application on the SCO OpenServer system console then you will need to change the in-kernel scoansi terminal emulator. To do this, as root, run the command:

# mkdev scoansi

and choose option 4) from the menu that is presented.

Choosing this option will rebuild your kernel and you will need to reboot your system for these changes to take effect.

2)If you are running the application from any device (including a PC running an ansi terminal emulator) then you will need to do one of the following:

a) At login time get the user to set their TERM type to either:

scoansi-old
or
ansi

or set this up automatically as part of the default profile for the users.

b) As root, run the command
# mkdev scoansi

and select item 2) from the menu. This will set the scoansi TERM type to it pre -OpenServer 5.0.6 behavior

See also

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

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

mkdev(ADM)

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