--- On Thu, 3 Jun 1999 15:23:51 -0700 (PDT)  Guy Harris <guy@xxxxxxxxxx> 
wrote:
>The APIs for *updating* the resources database look a tad primitive;
>about all I can see for *persistently* updating the database is
>"XrmPutFileDatabase()" (and the Qt-interest thread I mention below
>discusses some problems with that).
>
Maybe I use things differently than other folks.  I set my resource file to 
whatever values I want.  I let this override the system values.  Sometimes I 
even put them on the command line (if I am putting a command in a menu, say). 
Sometimes I use the system defaults or when a sysadmin I configure the system 
defaults to something I think the user community might like.
My only use for XrmPutFileDatabase() is if we create a dialog box for the user 
to change colors or whatever in the program and then the user wants to save 
that persistently.  We could use XrmPutFileDatabase to write to the 
~/.etherealrc or whatever.  I'd probably put my defaults in my .Xdefaults, 
though.
Anyway, I just suggested the resources because it was pretty ubiquitous, I 
like it and it means that all the parsing and searching is already written.  
Is there some other library with that already done (I don't like to re-invent 
wheels if they work well)?
--john
-------------------------------------
Name: John McDermott
VOICE: +1 505/377-6293 FAX +1 505/377-6313
E-mail: John McDermott <jjm@xxxxxxxxxx>
Writer and Computer Consultant
-------------------------------------