From owner-freebsd-questions Sun Nov 4 16:32:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id F01E537B405 for ; Sun, 4 Nov 2001 16:32:53 -0800 (PST) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 160Xh6-000Oyj-00; Mon, 05 Nov 2001 13:32:52 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id fA50WpP26280; Mon, 5 Nov 2001 13:32:51 +1300 (NZDT) (envelope-from jonc) Date: Mon, 5 Nov 2001 13:32:51 +1300 From: Jonathan Chen To: Randy Bush Cc: Mike Meyer , questions@freebsd.org Subject: Re: digital clock Message-ID: <20011105133251.A26239@jonc.itouch> References: <28912339@toto.iv> <15331.12298.236449.253690@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from randy@psg.com on Sun, Nov 04, 2001 at 02:19:53PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 04, 2001 at 02:19:53PM -0800, Randy Bush wrote: > >> i am looking for an x-based (fvwm2) 24-hour digital clock. i want to > >> display what time it is > >> o locally > >> o japan > >> o europe > > What's wrong with xclock, running it (in bash) as > > xclock -d & > > TZ=MET xclock -d & > > TZ=JST xclock -d & > > aside from xclock not being widget-aware in digital mode, and lots of other > stoopid problems about the digital clocks in ../ports/x11-clocks > > % TZ=JST date > Sun Nov 4 22:18:09 GMT 2001 That should be: jonc-~,1:29pm> env TZ=Asia/Tokyo date Mon Nov 5 09:30:02 JST 2001 Set the TZ to be whatever timzone file to use relative to /usr/share/zoneinfo Cheers. -- Jonathan Chen ----------------------------------------------------------------------- "One, with God, is always a majority, but many a martyr has been burned at the stake while the votes were being counted." -- Thomas B. Reed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message