Subject: | |
From: | |
Reply To: | |
Date: | Tue, 24 Feb 1998 20:40:36 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> On Feb 24, 7:29pm, Jeff Kell wrote:
> ...
> > I would amend this to note that if you are using the posix shell,
you
> > also need to edit /etc/profile which has a hardcoded export TZ=GMT0.
> > This will override the ci variable (won't it?).
>
> The shell cannot override any CI variables. The shell inherits all CI
> variables as copy-by-value. The shell can modify a copy of the CI var
> but the modification is not seen by the CI -- not from within the
shell
> (as via callci) and not after the shell exits.
>
> /etc/profile has been changed in 6.0 to not override TZ if you have
> previously defined it (like in a logon UDC). However, prior to 6.0
> TZ in /etc/profile is hard coded to GMT.
>
> Regards,
> Jeff Vance, CSY
>
"Override" can be confused here, I think.
Within the Posix shell ("sh" command), TZ is currently overridden when
it is set by the script /etc/profile (unless you change it) when you run
the shell.
Within the MPE CI, or when using callci from the Posix shell, the
original CI variables take precedence.
My strategy (at least until MPE 6.x is on my machine) is to set both a
login UDC to TZ and set it in /etc/profile. I just have to remember to
fix /etc/profile after any HP update that might replace it (which is why
I keep notes on doing system updates and what things have to be locally
modified).
Hope I haven't made things worse.:-)
Richard Gambrell
|
|
|