🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ba.windows.x
Article #70

Re: Multi Timezone Clock?

#70
From: Roger B.A. Klorese
Date: Fri, 12 Mar 1993 05:47
32 lines
2071 bytes
In article <C3qJ0F.D0I@news.fai.com> luisg@hadar.fai.com (Luis Galleguillos) writes:
>In article <C3pI1A.E5@queernet.org>, rogerk@queernet.org (Roger B.A.
> Klorese) writes:
>|> Why not use multiple xclocks?
>|> 
>|> TZ=EST5EDT xclock -geometry =100x100+300+0 -n ET &
>|> TZ=CST6CDT xclock -geometry =100x100+200+0 -n CT &
>|> TZ=MST7MDT xclock -geometry =100x100+100+0 -n MT &
>|> TZ=PST8PDT xclock -geometry =100x100+0+0 -n PT &
>
>
>running..
>xclock -geometry =100x100+300+0 -n ET &
>
>gives me the same time as PST, all the other do the same.
>WHat am I doing wrong? I do not run motif. I run twm window manager and X11R5
>on a Sun Sparc 1.

I gave Bourne shell (or Korn shell) syntax, which allows you to set the
environment variables for each execution before the command.

If you are using the C shell, this would be:

(setenv TZ EST5EDT;xclock -geometry =100x100+300+0 -n ET) &
(setenv TZ CST6CDT;xclock -geometry =100x100+200+0 -n CT) &
(setenv TZ MST7MDT;xclock -geometry =100x100+100+0 -n MT) &
(setenv TZ PST8PDT;xclock -geometry =100x100+0+0 -n PT) &
-- 
ROGER B.A. KLORESE                                              +1 415 ALL-ARFF
rogerk@unpc.QueerNet.ORG              {ames,decwrl,pyramid}!sgiblab!unpc!rogerk
"Sometimes you wake up.  Sometimes the fall kills you.  And sometimes, when
you fall, you fly."                                                -- N. Gaiman
Technical Details
Message-ID: <C3rHEM.1s6@queernet.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!sgiblab!unpc!rogerk
References: <1993Mar11.004507.10895@pony.Ingres.COM> <C3pI1A.E5@queernet.org> <C3qJ0F.D0I@news.fai.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e286,6a14db6b6420d4aa
X-Google-Attributes: gid10e286,public
X-Google-ArrivalTime: 1993-03-11 23:12:09 PST
Newsgroups: ba.windows.x
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!sgiblab!unpc!rogerk
From: rogerk@queernet.org (Roger B.A. Klorese)
Subject: Re: Multi Timezone Clock?
Message-ID: <C3rHEM.1s6@queernet.org>
Date: Fri, 12 Mar 1993 05:47:08 GMT
Distribution: ba
References: <1993Mar11.004507.10895@pony.Ingres.COM> <C3pI1A.E5@queernet.org> <C3qJ0F.D0I@news.fai.com>
Organization: QueerNet
Keywords: clock timezones motif
Lines: 32