Darned clock watchers!

Joe Chasan joe at magnatechonline.com
Thu Dec 11 10:16:15 PST 2008


on Unix, in a terminal session, i need a way to constantly display system
time (hms) on a screen.

i can put it on screen and have a loop to display or video-sync either
@entsel or @wef - problem is that while in middle of typing characters
in a field, i can't force update.

Background:  timeclock application - users have to swipe a card or type
some info to clock in/out - they watch until last second possible to get
whatever maximum benefit is is for themselves - some of them type info into
field and are waiting until clock strikes certain time before pressing 
<enter>

i can't see it worth replacing all input fields on screen (even though
there's only a few) with inkey or waitkey loops and concatenating to
reassemble data back into fields, but maybe i'm overthinking this and
missing some obvious method.

i also note <DRAW> key code does not force update of time, i guess that's
an fp design decision.

FWIW, the server is syncronized to an NTP server on internet - most users
are on PC's, but windows time syncronization is not as reliable so
apparently just looking at windows clock wasn't doing it for them.

--
-Joe Chasan-                           Magnatech Business Systems, Inc.
joe - at - magnatechonline -dot- com   Hicksville, NY - USA
http://www.MagnatechOnline.com         Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list