1753802 Members
8013 Online
108805 Solutions
New Discussion юеВ

Re: Use of UNIX95

 
SOLVED
Go to solution
Vibhor Kumar Agarwal
Esteemed Contributor

Use of UNIX95

Hi,

I am seeing this in a lot of posts.

What is exactly this.

Thanks
Vibhor Kumar Agarwal
5 REPLIES 5
Ralph Grothe
Honored Contributor
Solution

Re: Use of UNIX95

Setting the environment variable UNIX95 advises many programs to obey certain rules/recommendations set forth in the XOpen Portibilty Guide V4.

http://docs.hp.com/en/5971-2270/ch05s01.html

For the most time you will see it in conjunction with the ps command.
There it gives you anhanced features such as internal parsing or hirarchy display of processes.
I think it was once better explained by Bill Hassle (hope I wrote his name correct)
Just browse the forum.
Madness, thy name is system administration
Alex Lavrov.
Honored Contributor

Re: Use of UNIX95

it's just enables commands to behave as in XPG4 environment. When you see in man page - XPG4 only - it means, that you can use this option, when UNIX95 flag is enabled.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Dietmar Konermann
Honored Contributor

Re: Use of UNIX95

Some commands behave differently (i.e. according to XPG4 standards) when UNIX95 is set. Usually that is documented in the man pages, see section EXTERNAL INFLUENCES.

e.g. ps(1):

EXTERNAL INFLUENCES
Environment Variables
UNIX95 specifies to use the XPG4 behavior for this command. The
changes for XPG4 include support for the entire option set specified
above and include the following behavioral changes:

...

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Joseph Loo
Honored Contributor

Re: Use of UNIX95

hi,

man ps and look under Environment Variables which describes what UNIX95 is about.

u may like to read this post as well:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=732366

regards.
what you do not see does not mean you should not believe
Joshua Scott
Honored Contributor

Re: Use of UNIX95