Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!ico!rcd From: rcd@ico.isc.com (Dick Dunn) Newsgroups: comp.unix.sysv386 Subject: Re: Sysv/386 and Daylight savings time Summary: yeah, but I'd like it cleaner... Message-ID: <1990Nov15.230434.2380@ico.isc.com> Date: 15 Nov 90 23:04:34 GMT References: <16354@s.ms.uky.edu> <1990Nov13.005923.24658@ico.isc.com> <1990Nov15.001314.29319@nusdecs.uucp> Distribution: na Organization: Interactive Systems Corporation, Boulder, CO Lines: 34 rwhite@nusdecs.uucp (0257014-Robert White(140)) writes: ...rcd@ico.isc.com (Dick Dunn) writes: > >I've often wished there were an option to keep the CMOS clock on GMT. > > [various babble] ... > Tisk tisk tisk, minus three points for not paying attention... > > To keep GMT in you CMOS clock but still get useful dates when > you log in, do the following: ...games with /etc/TIMEZONE, /etc/default/login, plus a note about cron... > ...You may want to reset TZ > for cron in it's startup script to mke you life easier, but other > than that this is a no-brainer... Yes, I know you can rig it, but... Oops, you lose one point; you didn't take care of remote login (which also doesn't go through /etc/default/login). It's not entirely a no-brainer, either (or else my state of no-brain-ness is at a lower level than yours:-), because I'd probably screw up every time I reset the clock by resetting it to local time instead of GMT. Natch, I don't reset the clock that often, only enough to compensate for drift (but then, that's exactly what would cause me to screw it up--I wouldn't do it often enough to remember). [Gripe digression: Whose &^%$#!! idea was it to use a 1.193182 MHz oscillator, anyway?!?!? If they'd chosen a sensible frequency on the AT, the 8254 could be programmed with a value that wouldn't drift noticeably.] Your suggestions are good, but I still wish there were a way to wire GMT into the CMOS clock handling without the timezone games. -- Dick Dunn rcd@ico.isc.com -or- ico!rcd Boulder, CO (303)449-2870 Cellular phones: more deadly than marijuana.