Problem
When I type uname(C) on an SCO UNIX Release 3.2v4.x, the node name of the machine is returned. The same command on an SCO OpenServer Release 5.0 returns "SCO_SV" and not the machine node name.
Cause
The behavior of uname(C) in SCO UNIX Release 3.2v4.x did not comply with the ISO/IEC DIS 9945-2:1992 POSIX standard. The behavior of of uname(C) has been changed in OpenServer Release 5.0.0 to comply with this standard.
Solution
You can use the UNAME_OLD environment variable to force uname(C) to exhibit the obsolete behavior on a per process basis as follows.
For the sh(C) and ksh(C) use:UNAME_OLD=1; export UNAME_OLDFor the csh(C) use:setenv UNAME_OLD 1 See also
hostname(ADMN)