Technical article 110981

How to access a scoterm(XC) OpenServer client from an XFree86 X server.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

scoterm(XC) looks for IBM437 line-draw fonts on the X server where it displays its output. If it fails to find them, possible side effects may include line-draw characters appearing as foreign language characters and Font Sizes in the Options pull-down menu being greyed-out.

Solution

Use the following command to allow the OpenServer host on which the scoterm client is running to share its fonts with remote X servers:

# /etc/fontserv enable

The OpenServer host should then either be rebooted to make this change effective, or the following command may be used to start the font server directly:

# /etc/fontserv start

The X server then needs to have this host added to its font path. Check the X server documentation on your system for details of how to do this.

Here is an example of how to add a remote host to the font path for the XFree86 v3.3.5 X server supplied with SUSE 6.3 Linux.

Create a backup of the X server configuration file /etc/XF86Config, and then edit the original as follows. Locate the "Files" section, then add a new FontPath entry. This is how the section might look before editing:

Section "Files"
  RgbPath       "/usr/X11R6/lib/X11/rgb"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/URW"
  FontPath      "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection

Here is the same section with the new font path added:

Section "Files"
  RgbPath       "/usr/X11R6/lib/X11/rgb"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath      "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath      "/usr/X11R6/lib/X11/fonts/URW"
  FontPath      "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath      "/usr/X11R6/lib/X11/fonts/misc"
  FontPath      "/usr/X11R6/lib/X11/fonts/75dpi"
  FontPath      "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath      "tcp/scof:7000"
EndSection

"scof" is the host name of the OpenServer system, and 7000 is the port on which the font server listens by default. (See the XF86Config(5x) manual page for full details of the FontPath syntax.)

Restart the X server to make this change effective. Note that if a display manager such as kdm or xdm is being used, the X server can be restarted by logging out and then logging in again.

See also

Graphical Environment Guide Chapter 7

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