To many Pd users, any text config file will be arcane. How often to
you directly edit text files for your Mail program? Your word
processor? Any GUI app? Pd is a GUI-based program, any kind of
config editing should be possible via the GUI. Then we would have to
think about the underlying storage format.
Of course. The configuration is usually done in the GUI. In Pd the GUI is implemented in tcl/tk. Reading and writing the configuration is done by c code that's platform-specific. I think it makes more sense if that code works with human-readable text files ('simple' xml is human-readable). Maybe the path to the config file would be different according to platform but the file format doesn't need to be different. Isn't OSX already using xml for its own config files?
Martin
On Sep 14, 2006, at 1:23 PM, martin.peach@sympatico.ca wrote:
To many Pd users, any text config file will be arcane. How often to you directly edit text files for your Mail program? Your word processor? Any GUI app? Pd is a GUI-based program, any kind of config editing should be possible via the GUI. Then we would have to think about the underlying storage format.
Of course. The configuration is usually done in the GUI. In Pd the
GUI is implemented in tcl/tk. Reading and writing the configuration
is done by c code that's platform-specific. I think it makes more
sense if that code works with human-readable text files ('simple'
xml is human-readable). Maybe the path to the config file would be
different according to platform but the file format doesn't need to
be different. Isn't OSX already using xml for its own config files?
Unfortunately Apple uses a binary format for .plists now. The XML
plists still work too.
.hc
I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits. - Martin
Luther King, Jr.
On Thu, 2006-09-14 at 14:11 -0400, Hans-Christoph Steiner wrote:
Unfortunately Apple uses a binary format for .plists now. The XML
plists still work too.
wouldn't that be a reason not to use .plists for preset saving?
-- tim@klingt.org ICQ: 96771783 http://www.mokabar.tk
Life is really simple, but we insist on making it complicated. Confucius