Re: How to change shell valluables
Re: How to change shell valluables
- Subject: Re: How to change shell valluables
- From: Justin Walker <email@hidden>
- Date: Tue, 28 Dec 2004 16:59:54 -0800
On Dec 28, 2004, at 16:36, Doug McNutt wrote:
At 10:10 -0800 12/28/04, Justin Walker wrote:
AFAIK, this file is not "truly global". No shell that I am aware of
reads this file, and no command-line app knows about it. This file
is used by the Finder, when it invokes a "double-clicked" Aqua app,
to set up an environment in the same way that the shell sets one up
for command-line apps. Also, most (or, at least, many) Aqua apps
don't know about or use environment variables.
This is a copy of my environment.plist file. Note that is has grown
over time to include some variables that I don't even remember putting
there. Some were for testing these very points with the logging lines
I write while in .tcshrc.
This is being discussed on the unix-porting list as well. Creed
Erikson pointed out that Terminal.app does indeed provide the
environment specified in this file. I also checked X11.app, and the
same thing holds (a shell in an xterm, run under Apple's X window
server, will have these variables defined and exported).
I can't speak to other window servers.
Note that to get changes to environment.plist to take effect, you must
log out and back in.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden