From: macnerd <ma...@re...> - 2002-03-12 18:21:17
|
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. All script environments and other programs can plug-in to this interface and share environment variables. This is similar to how Internet Config is used amongst internet applications. I would recomend adding a tab for Environment variables for Internet Config, as this was originally open source anyhow. As for paramateres and STDIN, this can be done either through supporting standard apple events. We can get other scripts to support these apple events as well, so that way one program can pipe to another. I would be curious is MPW supports some sort of facility for this. I will look into MPW. As MPW supports tools and a CLI environment, I wonder if they support high level AppleEvents to call a tool and pass parameters or pipe STDIN. If MPW does, we can simply support the same type of AppleEvents to have consistancy and get other groups to buy into this. > -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of Andreas Otto > Sent: Tuesday, March 12, 2002 9:23 AM > To: tc...@li... > Subject: [MACTCL] resources and environment variables > > > > > Hi, > > to get "Compiler" working on MacOs 9.1 some environment variables > are necessary. > > example COMPILER_HOME > > this points to the installation Folder of the "Compiler" > > in Tcl you can do "set env(COMPILER_HOME) ...." > > thats ok. > > My idea is setting a TEXT resourse to the Tcl > executable > > like it was done with the "tclshrc" resource for > every tcl like application and put the value > of "COMPILER_HOME" into the resource > > 1) is this possible ? > 2) can I patch a new value into the application resource > without breaking the executable using some kind of > Filter technology > > I use this technology called "active patching" on > UNIX and WIN very successful and I think this > would work for Mac too > > > > > mfg > > aotto :) > > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac > |