[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1611.0. "Multiple clock displays?" by DOCU2::NAYLOR (Purring on all 12 cylinders) Fri Oct 20 1989 07:27

    Is it possible to display multiple clocks?  The reason I ask is that
    it is occasionally useful to have two clocks available, one on UK time
    and one on US with alarms set differently on each.
    
    Brian

T.RTitleUserPersonal
Name
DateLines
1611.1MU::PORTERmisuse a milk crate today!Fri Oct 20 1989 09:5710
I don't mean to be rude, but it took me all of 10 seconds to start
up two clock processes and find out that the answer was "yes".   Wouldn't
it have been easier to try it yourself?  :-)

A more interesting question is, how do you plan to get one clock
to display non-local time?  Unless you mean you're going to run each
clock on a different client (in which case, the "two clocks" issue
is a bit of a red herring, since there is no machine that is running
two clocks).

1611.2resource consumption -- especially memoryVMSDEV::BALLOUIt's not slow, it's careful!Tue Oct 24 1989 13:2818
Since I usually have trouble keeping myself from putting in my 2�:

While the response in .1 is correct (in that one can just start a second clock
process), might I suggest that it is perhaps just a tiny bit glib?  In parti-
cular, I can imagine that on a VAXstation 2000 with 6 Mb memory, one might well
want to avoid creation of a separate process just to display another clock.
Consider that, unless an image is installed, each process executing an image will
receive a private copy of that image's sections, even if those sections are
position-independent and read-only.  (Of course, DECW$CLOCK is a small image, so
in this particular case it is a moot point.)  Then also, there is the memory
consumption for the VMS process data structures and the page tables.

I believe it is perfectly reasonable to ask whether the one process running
CLOCK can do a bit more work and display two clocks, rather than incur the cost
of another process.

                                        - Ken

1611.3different question I thinkNORGE::CHADIch glaube Ich t�te Ich h�tteTue Oct 24 1989 14:025
And also, I think that .0 was wondering if the second clock can display a 
different time zone...  Not just wondering if two clocks will run.

Chad

1611.4MU::PORTERmisuse a milk crate today!Wed Oct 25 1989 10:4716
OK, didn't mean to be TOO glib... no offense intended.  The fact
that we now have 3 different interpretations of the question suggests
that a clarification from the original author is needed.

However, unless there's some undocumented magic, there's no way
to make a CLOCK display more than one clock, or to display other than
the time on the system on which it was running.

---

Wouldn't it be nice if CLOCK sources were given away on the kit
as an example of a real application?  [I don't eat meat, and I'm
English, so "DECburger" is doubly incomprehensible to me! :-)]
It's complicated enough to be interesting, and simple enough to
give it away for free.

1611.5Clarification?AYRMIS::NAYLORPurring on all 12 cylindersWed Oct 25 1989 11:4312
    OK, I thought the original question was simple but here goes again :
    
    	How can I display two separate clocks :-
    		Clock 1 shows Greenwich Mean Time
    		Clock 2 shows US Eastern STandard Time
    
    Two clocks showing the same time should take less than 10 seconds to
    figure out!  Cover the screen with them in all different shapes and
    sizes if you want - but how do you display two separate time zones?
    
    Brian (also a non meat-eater)

1611.6Each computer has one timeMELTIN::dickGvriel::SchoellerWed Oct 25 1989 12:2411
The only way to do this (with DECW$CLOCK) is run each of the clocks on a
different machine which had it's clock set to a different time zone.  There
are several ways you can go about starting a remote clock (see various
notes on starting remote applications).  The key is having access to machines
in different time zones.

Now, if what you want is 2 clocks, running locally, displaying time from
different time zones, you will have to write your own.  It's a SMOP  8^{).

Dick

1611.7Multi Zone clock ??TALLIS::ZANZERKIAWed Oct 25 1989 12:265
    So how about writing an improved clock (multiple displays for each time
    zone selected) ?? Is there sources of plain clock availbale ??
    
    Robert

1611.8AYRMIS::NAYLORPurring on all 12 cylindersFri Oct 27 1989 09:257
    Should be relatively easy to modify the source to allow addition or
    subtraction of hours from one of the displays.  Here's a thought : have
    the analogue part displaying the local system time and the digital
    portion displays system +/- "n" hours?
    
    Brian	(waiting for the new source ....)

1611.9I'll give it a shotRIPPLE::FARLEE_KEInsufficient Virtual...um...er...Fri Oct 27 1989 17:356
I'd be willing to give it a go if someone could make
the sources to clock available.

Thanks,
Kevin

1611.10VIA::FINNEGANAll of the best intentions are less than one good act.Fri Nov 10 1989 16:2218
This has been mentioned before but I will state it again...

If you want a suggestion to be added to the wish list you should QAR it as a
suggestion.

I can not always keep up with the notes conferences and see these ideas.

This should be a "hard" to change the clock this way.  There are some interface
issues to define but overall its not difficult.

There have been discussion on including the ootbs (clock, puzzle, calculator,
and cardfiler) as examples but there is a massive support issue involved.

AS you may have noticed, there is no way of doing this in the V2.0 clock.

I will add it to the V3.0 wish list.

Neal