Path: utzoo!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!jay From: jay@mips.com (Jay McCauley) Newsgroups: comp.sys.mips Subject: Re: Setting timezone in sendmail 5.61 Message-ID: <1092@spim.mips.COM> Date: 18 Mar 91 17:01:26 GMT References: <344@ptcburp.ptcbu.oz.au> <1991Mar14.123437.12239@cs.nott.ac.uk> <352@ptcburp.ptcbu.oz.au> Sender: news@mips.COM Organization: MIPS Computer Systems, Sunnyvale, California Lines: 43 Nntp-Posting-Host: winchester.mips.com In article <352@ptcburp.ptcbu.oz.au> michi@ptcburp.ptcbu.oz.au (Michael Henning) writes: >cczdao@mips.nott.ac.uk (David Osborne) writes: <<<< original request and answer deleted >>>> > >Can you tell us what 'zic' does ? First thing I ever heard of it... zic is the Zone Information Compiler from the 4.3 BSD Tahoe baseline. Programs compiled with -systype bsd43 wind up using libraries that use the compiled timezone information processed by zic. This is more flexible and elegant than the System V support of timezones. There is a man page for zic, and I believe there was some brief discussion of it in the Release Notes. As has been discussed here before, when you are unlucky enough not to be in the US/Pacific timezone (the default), you must change both the System V and BSD 4.3 notions of what timezone you're in. The System V one is set from the contents of the file /etc/TZ which is "classic" system V, XXXNYYY where: XXX - three letter standard time abbreviation N - offset from GMT YYY - three letter daylight savings time abbrev The BSD 4.3 timezone is set using "zic -l ZONENAME" where, unfortunately, the ZONENAMES are not obvious to the casual user. Look in /etc/zoneinfo/SOURCES for their values. I suppose that in a perfect world, we'd settle on one mechanism. Fears of hidden compatibility problems and the perennial resource crunch have not yet allowed this to happen. Work for another day! I'd expect our Customer Support Hotline can fill in any missing details about this if anybody is having trouble. They're usually quite helpful. Jay > > Michi. >-- > -m------- Michael Henning +61 75 950255 > ---mmm----- Pyramid Technology +61 75 522475 FAX > -----mmmmm--- Research Park, Bond University michi@ptcburp.ptcbu.oz.au >-------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA uunet!munnari!ptcburp.oz!michi -- Jay McCauley MIPS Computer Systems, 928 E. Arques, Sunnyvale, CA 94086 (408)524-8211 {decwrl,pyramid,ames}!mips!jay jay@mips.com