DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

scompat(1)


scompat -- set up system compatibility environment for console applications

Synopsis

   scompat -r interpretnumber
   

scompat 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).

The options and arguments for this command are:


-r
interpretnumber, where interpretnumber is:

3
UNIX System V/386 Release 3.2 ioctl interpretation

4
STREAMS ioctl interpretation for COFF executables

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)].


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004