scompat(1XNX) (XENIX System Compatibility) scompat(1XNX)
NAME
scompat - (XENIX) set up XENIX system compatibility
environment for console applications
SYNOPSIS
scompat [-r interpretnumber] [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 STREAMS-based beginning with 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).
For COFF or ELF executables, scompat may be invoked with no
arguments to give you XENIX system ioctl interpretation [see
ioctl(2)]. In this case, a sub-shell is created. For the
lifetime of the shell, the compatibility environment is in
effect on the workstation.
The options and arguments for this command are:
-r interpretnumber, where interpretnumber is:
3 UNIX System V/386 Release 3.2 ioctl
interpretation for XENIX system
applications
4 STREAMS ioctl interpretation for COFF
executables or XENIX system applications
command_line a shell command line (for example,, scompat ls
-l). The command line will be executed with
the compatibility environment in effect. When
the command completes execution, the
compatibility environment is restored to its
previous state.
Copyright 1994 Novell, Inc. Page 1
scompat(1XNX) (XENIX System Compatibility) scompat(1XNX)
REFERENCES
ioctl(2), sh(1), uname(1)
NOTICES
For computers based on Intel microprocessors, if the shell
environment variable 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)].
Copyright 1994 Novell, Inc. Page 2