Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines
From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse)
Subject: Re: Clock widget for different timezones
Message-ID: <9106262212.AA05366@lightning.McRCIM.McGill.EDU>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Date: Wed, 26 Jun 1991 22:12:44 GMT

>> Even less hackery should suffice on modern UNIX systems that
>> understand the TZ environment variable [...]

> Guy, I suspect that you are an accomplished Unix programmer, given
> your use of the adverb "just" in the above sentence :-).

I don't think there's much doubt of Guy's experience :-)

> I much prefer a straight offset from current local time, although I
> opted for specifying minutes instead of hours, so I can make up for
> skewed system times and also set my desk xclock ten minutes fast on
> meeting days.

My clock specifies the offset in seconds, and allows the value to be
floating-point.

It also allows much more elaborate configuration.  Pick up a copy from
132.206.1.1 (X/mclock.shar) and look it over.

> TZ is useful, but try to figure out that it even exists, let alone
> how to specify it, if you're a new or infrequent user...

True.  UNIX is generally not very good at helping such users to figure
things out.  (Once you know where to look (ctime(3) on our systems, for
example), it's easy - but try to find that "where" cold....)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu
