Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vswap(1) — OS/MP 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

troff(1)

vfont(5)

VSWAP(1)  —  USER COMMANDS

NAME

vswap − convert a foreign font file

SYNOPSIS

/usr/lib/vswap [ −r ]

AVAILABILITY

This command is available with the Versatec software installation option.  Refer to OS/MP Release Notes for information on how to install optional software. 

DESCRIPTION

Without the -r option, vswap translates its standard input (which must be a vfont(5) file in the reversed-byte order) into a locally correct vfont file on its standard output.  With the -r option, vswap translates its standard input (which must be a vfont file in the local-byte order) into a byte-reversed vfont file on its standard output. 

The UNIX system vfont representation for fonts is a binary file containing machine-dependent elements — short (16-bit) integers, in particular.  There are (at least) two common ways of representing a 16-bit integer.  A program compiled on a VAX will expect the VAX format, while the same program compiled on a machine using a Motorola 68000-family processor or a SPARC processor will expect the reverse format.  vswap can be used to convert font files created on a VAX to the format required to use them on Solbournes.  (All Solbournes use the same vfont format, regardless of the native byte order of the processor.  It can also convert Solbourne-format font files to VAX format (with the −r option). 

SEE ALSO

troff(1), vfont(5)

BUGS

A machine-independent font format should be defined. 

Solbourne Computer, Inc.  —  10 January 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026