Can A/UX tell time (correctly)?

Steve Lemke steve at ivucsb.UUCP
Sun Feb 5 16:40:36 AEST 1989


After reading the man page on setmactime, I was under the impression that
A/UX realized that the time in the (battery backed up) system clock in the
Mac II is my local (PST/PDT/whatever) time, and that it needed to adjust
according to the environment variable TZ to figure out GMT - which is what
it likes to tell time in.  Then, it should be able to use TZ to tell ME
what time it is in my local time.
 
Well, what happens in this:  Let's assume it's 2pm pacific time.  If I boot
A/UX, when "date" is executed as part of startup (or if I type it myself)
I get 6am PST.  A/UX obviously interpreted my system clock (2pm) as being
in GMT, and then subtracted eight hours and then announces that it's 6am
PST.

How do I fix this?  I thought typing setmactime would do the trick - it
seemed to, but when I finished using the machine and shut it down it must
have forgotten or something - this morning when I fired it up it was back
to the way described above.  If there is a simple (or even not so simple)
fix for this, or just something I'm doing wrong, I'd love to hear about it.

Thanks much, in advance!
 
----- Steve Lemke ------------------- "MS-DOS (OS/2, etc.) - just say no!"
----- Internet: lemke at apple.ucsb.edu                 AppleLink:  Lemke    
----- Or try:   pyramid!nessus!ivucsb!steve          CompuServe: 73627,570
----- Quote:    "What'd I go to college for?"   "You had fun, didn't you?"



More information about the Comp.unix.aux mailing list