Path: utzoo!utgpu!watserv1!watmath!att!att!linac!uwm.edu!rpi!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!jarthur!uunet!mcsun!cernvax!chx400!unizh!meyer From: meyer@ifi.unizh.ch (Urs Meyer) Newsgroups: comp.sys.sgi Subject: Re: Timezone problems Message-ID: <1990Nov2.132243.23507@ifi.unizh.ch> Date: 2 Nov 90 13:22:43 GMT References: <0FEA199CE71F601882@uqvax.cc.uq.edu.au> Organization: University of Zurich, Department of Computer Science Lines: 32 In article <0FEA199CE71F601882@uqvax.cc.uq.edu.au> CMRGIBBONS@uqvax.cc.uq.edu.au writes: >I seem to be having a problem setting our timezone. >When I put the line: > TZ = "EDT10EST11;78,300" >in our etc/TIMEZONE file the time reverts to GMT. >The examples in man timezone also default to GMT. We are running 3.2 on a >PI and a 4D/80GT, the 4D/80 being timeslaved to the PI - it keeps terrible >time on it's own! > >Richard Gibbons This has probably to do with an error in /etc/cshrc I reported months if not years ago in this newsgroup. The problem is that you must surround the timezone setting by double-quotes due to the semicolon. The /etc/cshrc as distributed by SGI reads the /etc/TIMEZONE file and extracts the timezone *including* the quotes. You can correct this by replacing the following line setenv TZ `sed -n -e '/^TZ=/s/TZ=//p' /etc/TIMEZONE` with setenv TZ `sed -n -e '/^TZ=/s/\"//g' -e '/^TZ=/s/TZ=//p' /etc/TIMEZONE` in /etc/cshrc. reboot. People from SGI, could this be corrected in the next release? Thank you. Urs Meyer ---------- meyer@ifi.unizh.ch, {uunet,...}!mcsun!cernvax!unizh!meyer University of Zurich, Dept of Computer Science, Multimedia Lab, CH-8057 Zurich