HP3000-L Archives

March 1995, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Elmer <[log in to unmask]>
Reply To:
Steve Elmer <[log in to unmask]>
Date:
Thu, 9 Mar 1995 18:02:53 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
> Item Subject: Message text
> > With the 5.0 release, CI variables are inherited into the initial
> > environment of POSIX programs.  A simple way to set the proper TZ
> > value is to have a system-wide logon udc set it for everybody.
>
> Steve,
>
> Sorry but this information appears to be incorrect.  Let's look at my vanilla
> X.50.50 system...
>
> /etc/profile contains:
>
> # Set the following variable to the appropriate value for the timezone
> # you are in. Refer to the timezone manual page in section 5 of the
> # reference manual for more information.
> export TZ=GMT0
 
Well, _this_ is the problem!  If the profile (which you execute at
entering the shell (after the environment is created)) contains this
assignment then that's what you'll get.
 
If you delete this export from the profile _and_ set the CI variable
then you will get the results I intended.
 
 
> So....................
> /isaac
 
Of course, since you're using /etc/profile, it _might_ be better to
just fix it there and be done with it...
 
Steve

ATOM RSS1 RSS2