[Xastir-Dev] Re: New Directory Structure

Curt Mills, WE7U hacker at tc.fluke.com
Wed Jun 25 19:01:09 EDT 2003


On Wed, 25 Jun 2003, Jack Twilley wrote:

> Curt> User-defineable map directories.  As many as you'd like to
> Curt> define...
>
> What that produces is another directory layer.  I don't see that as a
> big win.

It doesn't have to, but I see advantages in this extra layer.

Your ideas and mine could be combined such that an input box is
provided in the GUI for entering map directories: Clicking on "Add"
creates a symlink from the user's area to the new map directory.
The actual implementation in the form of symlinks is hidden from the
user.

The map indexing/lookup code doesn't have to change, as it still
looks at ~/.xastir/<something> as it's root.  Below that could be
the various symlinks and directories that the user wishes to use.  I
still think that the extra level is useful, as it delineates the two
(or more) main areas that the maps are located, and helps the user
decide which path to go down to find the maps of interest.

Merging them all together into one tree doesn't help the user, it
just confuses the issue of which path to go down to find the proper
maps.


~/.xastir/MAP-ROOT/
~/.xastir/MAP-ROOT/public -> /usr/share/xastir/maps
~/.xastir/MAP-ROOT/private/
~/.xastir/MAP-ROOT/private/gps/
~/.xastir/MAP-ROOT/CDROM -> /mnt/cdrom


In the map chooser, you'd see:


    public
    private
    private/gps
    CDROM


-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list