Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'The apple way' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The apple way
Authored by: to0l25 on Aug 28, '02 12:58:02PM
my problem was, that i didn't get the bbedit shell worksheets to work (same error: "TERM_PROGRAM: Undefined variable"). i had to search for a while, cause i didn't want to modify those files as root in the heart my of system. but i found an apple way to handle with those issues (=> setting up environment). just create a folder called ".MacOSX" in your home-directory. now create a file and name it "environment.plist". you need to add the following lines into this file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="1.0"> <dict> <key>TERM_PROGRAM</key> <string>Apple_Terminal</string> </dict> </plist> you need to login and logout, so that your system recognizes the enviroment variables. the advance is, that with this way, _every_ carbon and cocoa app is able to use these variables. since i know that, life gots much easier :-) reference: http://developer.apple.com/qa/qa2001/qa1067.html take care, christian

[ Reply to This | # ]