[Xastir] Storing Objects

Curt Mills, WE7U archer at eskimo.com
Sat Feb 22 12:06:46 EST 2003


On Sat, 22 Feb 2003, Tom Robson wrote:

> Sorry for the delay. Finally got back at it. 
> Maybe I'm missing something here.  I create the objects, then some time later 
> use the 'Object/Item -Modify' and delete the object.  I then go to your new 
> menu and 'Reload' the objects.  Should this bring the object back?

Nope.  When you deleted an object, Xastir comments it out in the
object.log file.  This is to assure that if Xastir gets taken down/
restarted, that the object won't come back on its own.

You need to hand-edit the file currently and uncomment the last
instance of the object in the file.  Earlier instances might be
earlier positions of the object, etc.  Every time you modify an
object it should get another entry in the file.  When you delete
it, ALL lines referring to that object get commented out.


> 2 Objects Created    object.log
> ;BBY Digi *220755z4916.66N/12254.67WrProposed Digi
> ;DARS     *220755z4902.91N\12303.58WhDelta Club

> BBY deleted    objects.log
> #;BBY Digi *220755z4916.66N/12254.67WrProposed Digi
> ;DARS     *220755z4902.91N\12303.58WhDelta Club
> #;BBY Digi _220757z4916.66N/12254.67WrProposed DigiïZ

> object-tmp.log
> ;BBY Digi *220755z4916.66N/12254.67WrProposed Digi
> ;DARS     *220755z4902.91N\12303.58WhDelta Club
> ;BBY Digi _220757z4916.66N/12254.67WrProposed DigiïZ

Here's where the trouble lies.  You uncommented both the original
object and the killed object, so at this point you should be
transmitting both a live DARS object and a killed BBY object.
The BBY killed object actually does get transmitted, and knocks
the object off of anybody's screens that might still have that
object as "live".

To do this next time, uncomment those two lines and delete the
line with an underline after the name field.  Also try an Item
and get familiar with their format.

Eventually we need to code up a way to bring an object back again
from the View->My Objects dialog.

Curt, WE7U.				archer at eskimo.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