Martin,

The problem seems to be a little more complicated.  When I use "Terminal",
(the default terminal that comes with mac os x), /etc/profile and
~/.bash_profile, etc. are executed, in the expected, correct order.

>From the X11 installation (of Apple), there is another terminal, known as
"X11". Unfortunately, this seems to follow a completely different
procedure. It does not seem to execuate /etc/profile and ~/.bash_profile,
etc. at all.  Only for the root, this correct order seems to work.  I
checked it by giving the command "su -" in the X11 terminal.  Thus, there 
is either a bug in the X11 terminal or the required documentation is not 
easily available.

Although the problem with X11's terminal not solved, I know that
"Terminal" at least is working.  Thanks and regards.

Kannan    

On Sun, 16 Apr 2006, Martin Costabel wrote:
> Kannan Moudgalya wrote:
> > Hi,
> > 
> > I need some help in configuring my PowerBook.  I installed Tiger 10.4.2
> > and upgraded it to 10.4.6.  I don't know where the system looks for
> > startup profiles.  It does not seem to execute /etc/profile or
> > .bash_profile as well as .profile.  Thanks.
> 
> Read "man bash", section "INVOCATION". The (complicated) order of 
> startup files is described there, and OSX bash runs them in that order. 
> You will have to look inside those files, too, to see what they are 
> doing, because they can call other files, for example /etc/profile 
> usually calls /etc/bashrc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to