From: Jim I. <ji...@ap...> - 2002-03-13 18:38:55
|
Andreas, On Wednesday, March 13, 2002, at 12:50 AM, Andreas Otto wrote: > Am Dienstag 12 M=E4rz 2002 22:07 schrieb Jack Jansen: >> On dinsdag, maart 12, 2002, at 07:21 , macnerd wrote: >>> I was taking a look at MacPerl, and in their preferences, they >>> maintain preferences for Libraries, Environment variables. >>> >>> However, I thought of something better, and I wanted to see >>> what people think. How about creating a tool, or modifying >>> Internet Config, that will maintain Library and Environment >>> variables for all programs that would ike to use a similar >>> facility. >> >> The question is: is it worth it? You would be investing work >> into an operating system that (a) never needed environment >> variables and (b) is on the way out anyway. >> >> It's a much better idea (IMNSHO) to invest in opening up >> CFPreferences. That's a very nice preferences mechanism with >> inheritance and all, much better than what environment vars will >> ever give you. > > > Hi, > > there is one answer ... > > environment variables are standart and ??? not > this mean if you adress more than one OS you'll > have to follow the standart -> that's the trick First off, environment variables are NOT standard on classic MacOS, they=20= may or may not be in Tcl, but the are not on the Mac. And in all the=20 years I have been supporting Tcl on the Mac, yours is the first serious=20= request I have gotten to support them more fully than is currently=20 done. So while you are free to work on whatever you need to for your=20 own work, I don't think that you will find lots of other people excited=20= by this project... On MacOS X, of course, you get them for free - it's Unix after all. I think Jack's point is that rather than spending effort foisting=20 environment variables on Classic MacOS, where they are not a natural=20 construct, (and which is in support mode only anyway...) any effort=20 spent on the Mac in this area should focus on useful things, in=20 particular on also providing an interface to CFPreferences. This is,=20 BTW, not equivalent to environment variables, but a complement, more=20 like the Windows Registry, or the old Mac Preferences folder. I think this is a great idea, we never did a very good job allowing=20 folks to store preferences for their apps (though we did have the=20 FindFolder for the Preferences folder, at least). Now that MacOS X has=20= a rich & standard preferences mechanism, it would be really great to=20 have better support for it. Jim -- Jim Ingham ji...@ap... Developer Tools - gdb Apple Computer |