Technical article 126702

Curses applications compiled on OpenServer 6.0.0 don't draw vertical and horizontal lines correctly on the console

OpenServer 6.0.0

Written · Last revised

Problem

I have a curses based application that I am porting to OpenServer 6. I have compiled the source code but the vertical and horizontal line drawing functions do not work. Instead of a vertical line I get "3" and instead of a horizontal line I get a "D".

Cause

There is a bug in the OpenServer 6 SVR5 Curses Library.

Solution

This problem has been reported to engineering and will be fixed in future maintenance.

To workaround the problem please either:

1) Compile the application using the OSR5 ABI as follows:

cc -Kosr foobar.c

2) Compile the application on an OpenServer 5 machine

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