[sword-devel] New AugmentPath= support [was: Enviornment Variable?]

Joachim Ansorg sword-devel@crosswire.org
Sat, 10 Aug 2002 10:44:22 +0200


Troy,
this sounds really cool!

Thank you!
Joachim

> David,
> 	Hey.  In building the next release of qpsword for the Zaurus, I found it
> would really be beneficial to add this support to the engine.  So....
>
> a sword.conf file can include entries like this:
>
> [Install]
> DataPath=/usr/share/sword
> AugmentPath=/mnt/cf/usr/share/sword
> AugmentPath=/mnt/card/usr/share/sword
>
> This is what the new qpsword includes to allow searching both CF and SD
> memory slots for books.
>
> We can also use this on the windows frontend to allow extra CD books
> with an entry such as:
>
> AugmentPath=D:/
>
> which will only show up if the CD is in the drive.
>
> Hope this is useful.
>
> 	-Troy.
>
> David's Mailing-list and Spam Reciever wrote:
> > On Wednesday 07 August 2002 04:18 pm, Troy A. Griffitts wrote:
> >>David,
> >>	Well, it that works, I didn't write the code :)  Your specific example,
> >>however, WILL work, not because of the 2 entries in the /etc/sword.conf
> >>file, but because $HOME/.sword is a special location that sword always
> >>looks for extras modules for augmenting its systemwide module set.
> >>
> >>We talked about adding multiple paths to the systemwide module path, but
> >>haven't yet finished any work on that.  Wanna do it? :)
> >
> > Hmmmm.... That explains something. But I had thought bibletime wasn't
> > recognizing the personal module in ~/.sword until I did that hmmmm....
> > must have been mistaken. And well I'd love too but I don't know c or c++
> > yet. Though I'm sure this is an easy enough project to learn with.