Technical article 105906

Using the miscellaneous 5x8 font with scoterm(XC) displays garbage characters.

OpenServer 5.0.4

Written · Last revised

Problem

After invoking a scoterm(XC) or xterm(XC) using the miscellaneous 5x8 font, all typed characters will appear as garbage. For example:

# scoterm -fn 5x8 &

Cause

The 5x8 font file is located in /usr/lib/X11/fonts/misc/5x8.pcf. The fonts.dir file in this directory describes this font as:

5x8.pcf -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso646.1991-irv
This is incorrect. It should be:
5x8.pcf -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1

so that it can agree with the 5x8 entry in the fonts.alias file:

5x8       -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1

An iso646.1991-irv font file has been included in the product instead of an iso8859-1 font.

Solution

This problem has been fixed in SCO OpenServer 5.0.5.

As a workaround for SCO OpenServer 5.0.4, change the entry for the 5x8 font in the /usr/lib/X11/fonts/misc/fonts.alias file to:

5x8       -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso646.1991-irv

Restart the X Desktop for this to take effect. This workaround will provide a 5x8 font.

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