scompat(1) UNIX System V(Application Compatibility Package) scompat(1)
NAME
scompat - set up compatibility environment for console applications
SYNOPSIS
scompat [-r interpretnumber] [UNIX System command line]
DESCRIPTION
COFF- or ELF-based applications developed for SCO UNIX System V/386 3.2
(or later releases) that use graphics may not work correctly on the
system VGA/EGA/CGA console or Fiber Optic Workstations, which are now
STREAMS-based in UNIX System V/386 Release 4.
The scompat command sets up the workstation environment so that these
applications may function correctly. While the environment is in effect,
access to the workstation as a STREAMS device will not work correctly
unless the -r option is used with the argument 4 (see below).
OPTIONS
For COFF or ELF executables, scompat may be invoked with no arguments to
give you XENIX ioctl interpretation [see ioctl(2) in the Programmer's
Reference Manual]. In this case, a sub-shell is created. For the
lifetime of the shell, the compatibility environment is in effect on the
workstation.
scompat may also be invoked with the -r interpretnumber option, where
interpretnumber is:
3 UNIX System V/386 Release 3.2 ioctl interpretation for XENIX
applications
4 STREAMS ioctl interpretation for COFF executables or XENIX
applications
scompat also accepts as arguments a shell command line (that is, scompat
ls -l). This results in the command line being executed with the
compatibility environment in effect. When the command completes
execution, the compatibility environment is restored to its previous
state.
NOTES
For computers based on Intel microprocessors, if SCOMPAT is set to 3.2,
uname -a gives a value of 3.2 for release and a value of 2 for version.
To set SCOMPAT to any other version, use the syntax
SCOMPAT=release:version
To return to the beginning state, unset SCOMPAT.
In all cases, when SCOMPAT is set, it must be exported [see sh(1) in the
User's Reference Manual].
10/89 Page 1
scompat(1) UNIX System V(Application Compatibility Package) scompat(1)
SEE ALSO
ioctl(2) in the Programmer's Reference Manual
sh(1) and uname(1) in the User's Reference Manual
Page 2 10/89