<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I completey agree that it is better to have local config files. I think
that everything that belongs to a certain program should stay in that
directory. The windows concept of spreading your seed in as many places
as possible doesn't work. I have been using windows computers for more
than a decade now and this has always been a problem. I love programs
(usually freeware) that doesn't need to be installed such as Virtual
dub or Wavesurfer. Wavesurfer is another example of a Tcl application
that is available for all three platforms (including source files). It
is a audio software for in particular speech analysis. Now I am not to
familiar with how it works but I think it keeps the setting files in
the user directory. There is no need to alter the registry and the user
doesn't&nbsp; notice the difference. I you want you can save several config
files each specifying a certain environment. The only thing missing is
that you can't find in on the start menu and there is no file types
associated with it. I can easily live with that. Also, if you want to
modify the default configuration of a program it should be local to the
user and not applied to all users on the same computer. If it is not a
professional program I think it is much better sticking to the simplest
solution possible since a "proper" integration into the windows
environment seems to be a full-time work in itself.<br>
In the case of pd it is even more problematic since there exist several
parallel versions. Life would have been easier for me at least if it
was possible to have different pd-extended installed at the same time.
And as has been pointed out, the registry should not be touched other
than in emergency. A text file works equally good. What do you think
the system guys at the university answer when I say that my computer is
not working and I have been messing with the registry?<br>
A windows user<br>
/Anders<br>
<br>
Mathieu Bouchard wrote:
<blockquote
 cite="midPine.LNX.4.64.0609142335190.6020@localhost.localdomain"
 type="cite">On Thu, 14 Sep 2006, <a class="moz-txt-link-abbreviated" href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a> wrote:
  <br>
  <br>
  <blockquote type="cite">As long as the 'xml' is kept simple (no
nesting, no dtd lookups) a parser should be doable in tcl, maybe a tcl
xml parser already exists(?)
    <br>
  </blockquote>
  <br>
DesireData has two config files, the client-only options being in a
file called ".ddrc", which is in Tcl list format, pretty-printed. It
works using key-value pairs. It would support any kind of nesting, if
any option needed to be stored as a nested-list. This is rather close
to the LISP style. It looks like this:
  <br>
  <br>
<a class="moz-txt-link-freetext" href="http://pure-data.cvs.sourceforge.net/*checkout*/pure-data/pd/src/defaults.ddrc?pathrev=devel_0_39">http://pure-data.cvs.sourceforge.net/*checkout*/pure-data/pd/src/defaults.ddrc?pathrev=devel_0_39</a>
  <br>
  <br>
and this is arguably easier to read and write than XML.
  <br>
  <br>
&nbsp;_ _ __ ___ _____ ________ _____________ _____________________ ...
  <br>
| Mathieu Bouchard - t&eacute;l:+1.514.383.3801 - <a class="moz-txt-link-freetext" href="http://artengine.ca/matju">http://artengine.ca/matju</a>
  <br>
| Freelance Digital Arts Engineer, Montr&eacute;al QC Canada<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
---------------------
Anders Friberg
Associate Professor
Speech, Music and Hearing, KTH
Lindstedtsv&auml;gen 24
S-100 44 Stockholm
<a class="moz-txt-link-freetext" href="http://www.speech.kth.se/~andersfr/">http://www.speech.kth.se/~andersfr/</a>
work: +46 8 7907876
mobile: +46 70 7746287</pre>
</body>
</html>