Hi, Eric
I am a bit confused right now about your setting
Not possibly half as much as me :-)

First move your bashrc to bashrc.old by using "mv .bashrc .bashrc.old" and let only the .profile in your Homedirectory.

Do the same with your .profile or .bash_profile.

Now no active bash Configfiles should be in your Homedirectory.

What happens if you now try the /sw/bin/pathsetup.command? Does
everythink work fine if so than something was meesed up and only
god knows what or some persons more unix geeky than me.
Works fine, makes a new ~/.profile file containing the line:
. /sw/bin/init.sh

However X11 still doesn't read .profile. I have no .bashrc or other config files lying around. As far as I can gather both Terminal.app and X11.app read /etc/bashrc (I've tested it by temporarily altering the PS1=..... line and the changes are displayed in new windows in both X11.app and Terminal.app. However creating a ~/.bashrc will not affect Terminal.app as far as I can gather (I tried moving the .profile -> .profile.old and editing PS1 in ~/.bashrc which only affected X11.app). Again - $PATH settings for GW-tex are made in /etc/profile which is apparently not loaded by X11.app.

If this doesn't help go to the /etc directory and there you will find a bashrc file too. This is the systems default one. Take a closer look at it and see if it has something in it that is in opposite to your .bashrc in the Homedirectory. Maybe terminal gets confused and doesn't know which bashrc to read.
Nope, don't think so - it only contains a PS1 line and a window-size check.
By default the one
in your homedirectory is read first and then the systems one.
I'm more or less cirtain that something's been messed up so that ~/.bashrc is NOT loaded by Terminal.app - with or without the existence of a ~/.profile file. I've made a crude fix by creating a file ~/.bashrc containing the lines:

source /etc/Profile
source /.profile

This enables me to run fink and tex stuff and produces the same output of
echo $PATH
in both X11.app and Terminal.app. Is this a bad/dangerous fix (in terms of stability, conflicts and stuff like that)?


Thanks for the help,
Steffen



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to