[Xastir] Time

Curt, WE7U archer at eskimo.com
Fri Jun 12 17:08:29 EDT 2009


On Fri, 12 Jun 2009, Keith Kaiser wrote:

> On the other hand, adding the time to the upper or lower, right hand side of 
> the title bar would not exactly be intrusive would it. I wasn't thinking of a 
> watermark but a clock running on in Xastir and showing the time in one of the 
> title bars.

I agree that it wouldn't be intrusive.  It would however:

*) Cause more screen changes for those running VNC, which causes
more network traffic to try to replicate those changes on the remote
display.

*) Open the door to many more "little" changes that would end up
integrating facilities into Xastir that are already available in
Linux/Unix as separate apps.  This is against the Unix philosophy of
chaining small tools together to get the job done.  Not that we
_always_ follow this philosophy with Xastir, but we try to!

The code for creating snapshots is in maps.c:snapshot_thread().  I'd
suggest either adding the timestamp code there using GM/IM (inside
the "#ifdef HAVE_CONVERT" block near the end), or creating a script
that monitors the snapshot directory and processes any snapshot file
found, putting the modified version in a new directory.  The latter
would be the easiest/fastest to get running.

I'd be happy to help as time permitted, but the suggested first
activity would be a search through the list archives to see if it's
already been done and code posted.  We could add the script to the
xastir/scripts/ directory also so that others could benefit.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
   Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list