Time Zone trouble...

Mahboud Zabetian buzz at phoenix.Princeton.EDU
Thu Apr 7 11:23:34 AEST 1988


In article <7848 at apple.Apple.Com> jackie at Apple.COM (Hernan'Jackie' Macapanpan) writes:
>
>Here's an excerpt from the file README from A/UX release 1.0. Hope it helps.
>
>Time zone handling
....
>
>	The TZ variable is currently being set in a number of A/UX files.
>	You must edit these files, either removing or changing the setting
>	of TZ. Edit the following files: /.profile, /.login, /etc/bcheckrc,
>	/etc/profile, /etc/rc, /etc/sysinitrc, and /users/start/.login.
>

Included in this posting is a letter I sent myself from faux-pas, our A/UX
computer.  Notice the Date line in the mail header.  Also I have included the
output of 'date' and 'grep TZ /etc/*'.


>From root at faux-pas Wed Apr  6 21:02:25 1988
Date: Tue, 5 Apr 88 18:01:42 PDT
From: root at faux-pas (System Operator)
To: buzz
Subject: Time Zone test
Status: R
This is what 'date' outputs:

	Wed Apr  6 21:00:23 EDT 1988

This is what 'grep TZ /etc/*' gave me:

	bcheckrc:TZ=EST5EDT
	bcheckrc:export TZ
	cshrc:setenv TZ EST5EDT
	profile:TZ=EST5EDT
	profile:export LOGNAME TZ MAILCHECK MAILPATH
	rc:TZ=EST5EDT; export TZ
	rc.orig:TZ=PST8PDT
	rc.orig:export TZ
	sysinitrc:TZ=EST5EDT; export TZ

These are the files that have occurrences of TZ in them.  They all seem correct
to me (rc.orig is what rc looked like before I changed it).  But as you can see
in the mail header, the time is in PDT.  This is similar to the messages of
'shutdown' and some other system utilities.  Anyone know why?
-- 
Mahboud Zabetian	buzz at phoenix.princeton.edu	      (609) 520-1271
183 Little Hall	    root at faux-pas.princeton.edu (A/UX!)    Princeton U. NJ 08544
<<<THIS SPACE FOR RENT>>>(Was: Need a soon-to-graduate hard/soft-ware engineer?)
<<<                   >>>>>>  ( But I'll still consider good offers though :-)



More information about the Comp.unix.aux mailing list