Kannan Moudgalya wrote:
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.
The "X11 terminal" is in fact the "xterm" program, long name
/usr/X11R6/bin/sterm. Unfortunately, Apple start it by default with a
non-login shell running inside. You can start it with a login shell if
you use the command "xterm -ls", either in the X11 Applications menu if
you use this, or by creating a ~/.xinitrc file if you want to start it
when X11 starts up. There is some information about this is the Fink FAQ
and in the Fink documentation.
--
Martin
-------------------------------------------------------
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