*BSD News Article 24249


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-stuttgart.de!delos!luva!migieger
From: migieger@luva.stgt.sub.org (Michael Giegerich)
Subject: Re: TimeZone question.
Organization: private 386bsd site
References: <2c9n3o$ola@terminator.rs.itd.umich.edu>
Message-ID: <CGnu19.7E@luva.stgt.sub.org>
Date: Wed, 17 Nov 1993 23:46:07 GMT
Lines: 22

In article <2c9n3o$ola@terminator.rs.itd.umich.edu> altitude@css.itd.umich.edu (Alex Tang) writes:
>Hi folks, I was wondering...do i have to recompile my kernel again to
>get the new timezone be in effect.  It seems that everytime I crash my
>machine (which happens a lot these days), my timezone is off by an hour.
>Am i missing something simple here?

Leave your kernel at GMT (``timezone 0'') and use
TZ=<your timezone><offset from GMT> w/ your shell
(e.g. in middle Europe: TZ=MET-1).

This approach has the advantage that you havn`t to
recompile the kernel when changing timezone - and
the disadvantage that you need a shell which supports
the TZ env variable (like bash or tcsh, don't know
for others).

Bye,
Michael.
-- 
------------------------------+------------------------------
Michael Giegerich             | migieger@luva.stgt.sub.org
------------------------------+------------------------------