The original query:
------------------------------------------------------------------------
G'day,
Our hosts all run xntpd and keep nice accurate time - very close to an
atomic clock. What I want is some software (preferably something nice
and graphical and pretty) that displays the system clock *accurately*.
Various software that exists already (e.g. digital clock on the CDE
desktop) display the time every second, but the ticking over of seconds
start from the instant the application started and not as the actual
real time second click over. (Start a number of them up if you don't
believe me)
The closest quick thing I can get is under csh:
while(1)
date
end
Any ideas?
------------------------------------------------------------------------
The only reply was from "Kevin Oberman" <oberman_at_es.net> who provided
this perl script:
#!/usr/local/bin/perl
require 'ctime.pl';
my ($time, _at_ctime);
$| = 1;
while(1)
{
$time = time;
until ($time != time)
{next;}
_at_ctime = split (' ', &ctime(time));
print "\007", $ctime[3], "\r";
select (undef, undef, undef, .95);
}
which does the job effectively. Unfortunately it seems that no pretty
clock programs out there have such a concept in their code.
If I have time (hah!), I may whip one up...
Jim
--
________________________________________________________________________
Jim Palfreyman Information Management Branch _--_|\ I have a
jim_at_jim.ecc.tased.edu.au Department of Education / \ PGP key
phone: +61 3 6233 6900 2nd Floor 73 Murray Street \_.--._/ and I be
fax: +61 3 6233 6969 Hobart TAS 7000 Australia v <-- 'ere
________________________________________________________________________
Received on Fri Mar 19 1999 - 00:30:18 NZDT