On Feb 22, 2004, at 5:02 PM, Martin Costabel wrote:
Alexander Hansen wrote:
Can someone out there using Apple's X11 confirm this one for me?[]Recently I upgraded to Panther on my mac and noticed that the "Application Menu" of apple's X11 interprets shell commands in the c-shell rather than the sh-shell, as it did in the older version of X11. This is especially important for the addition of /sw/bin/init.sh, as you mention on the documentation page. This should be replace by /sw/bin/init.csh for the newer X11.
AFAICT, it now uses the user's login shell. So it remains the same as before for bash users, but it changes for tcsh users.
I noticed another new behavior: X11 now seems to read the user's ~/.cshrc or ~/.bashrc script, depending on the respective login shell. So *if* the fink init script is sourced in this script, X11 gets a decent environment. But this works *only* with these two startup scripts, it does *not* work, for example, with ~/.profile or ~/.bash_profile or ~/.bash_login which are the three scripts considered by Fink's pathsetup.command for the bash shell. It is not reasonable to put the source /sw/bin/init.sh command into ~/.bashrc, so this new feature of X11.app is not useful for bash users.
I tried this for myself, too, (with both a tcsh and bash user) and updated the Running X11 document to note that the user's shell gets used. I'll leave the rest of it as is--the only penalty seems to be doubled entries in the PATH and MANPATH.
-- Martin
-- Alexander K. Hansen Fink Documentarian Day Job: Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users