Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

environment variable differences (CrCh156)

CMD Impacts SHL Impacts

Problem description

Some environment variables available on Tru64 UNIX are not supported on HP-UX. If they are supported on HP-UX they might expect different values.

Environment variables such as USER and LOCPATH are supported on Tru64 UNIX, but are not available on HP-UX.

The default or system-supported values for variables such as PATH, MANPATH, NLSPATH, LANG, LC_ALL, and other LC_* environment variables are different on Tru64 UNIX and HP-UX. These environment variables often are used in shell scripts or shell configuration files.

Identifiers

Command ArgumentsLANG Command ArgumentsLOCPATH Command ArgumentsNLSPATH Command ArgumentsUSER  
Command ArgumentsLC_ALL Command ArgumentsMANPATH Command ArgumentsPATH    

See also

Solution description

See HP-UX documentation for more information about environment variable differences on Tru64 UNIX and HP-UX.

The most commonly used of these environment variables is USER, which is the user's login name. Use LOGNAME instead on both platforms. On Tru64 UNIX, the login command sets USER and LOGNAME to the same value. On HP-UX, the login command only sets LOGNAME.

Details on the differences in how some environment variables are supported, and recommendations for changes you can make to shell scripts and configuration files, are described in the Migrating from Tru64 UNIX to HP-UX Shells white paper.

See also


Problem summary

classifications source types OS release severity type
CMD, SHL C, C++, Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.