I'm not sure... After poking around a little, I wonder if there might  
be something you could set in NetInfo's NSGlobalDomain. I don't know  
enough about NetInfo though; if anyone else knows how to do something  
like this, I'd be interested in hearing too.

~Nathan

-- 
Is it a fact --- or have I dreamt it --- that, by means of electricity,
the world of matter has become a great nerve, vibrating thousands of
miles in a breathless point of time?  Rather, the round globe is a vast
head, a brain, instinct with intelligence!  Or, shall we say, it is
itself a thought, nothing but thought, and no longer the substance
which we deemed it!

           --- Nathaniel Hawthorne (The House of the Seven Gables, 1851)


On Feb 10, 2007, at 6:14 PM, Doug Ransom wrote:
> I see how that will work for emacs.
>
> Now, what if I wanted /sw/bin in the path for all users and  
> processes (i.e. I would like the default python for all processes  
> to use the python in /sw/bin).
>
> Doug
>
> On 1/27/07, Nathan Acks <[EMAIL PROTECTED]> wrote:
>> On Jan 27, 2007, at 7:37 AM, Doug Ransom wrote:
>> > Whether I am running emacs (Carbon emacs, not the one you run in a
>> > shell) and starting python modet, the system is running a cron
>> > job, or I start a shell whcih is not a login shell, how can I set
>> > up the system path to include /sw/bin so I always run the python
>> > in /sw/bin rather than the one the system comes with?
>>
>> Getting things like cron that are called a system level to look in /
>> sw/bin for applications can be a little tricky. But at least for GUI
>> apps (carbon/cocoa/etc.) there's a neat trick --- the
>> environment.plist file:
>>
>>      http://developer.apple.com/qa/qa2001/qa1067.html
>>
>> Two things to note here: 1) The Login window can sometimes be a
>> little weird about reading this file, so you may need to reboot  
>> afterwriting it rather than just logging out and the logging back  
>> in. 2) Not *every* application respects the variables set this  
>> way. Which ones do is a bit of a crap-shoot (I've never found a  
>> pattern), but most should work okay.
>>
>> Really, though, the only solution I've found that works 100% of the
>> time is to call things in /sw/bin using their full path.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to