scompat(1xnx)
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 can 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 can 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.
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)].
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.