On Wednesday, January 8, 2003, at 12:40 AM, Thom Peters II wrote:
[snip]
One problem I noticed though, is that the path in the xterm in X11.app when using quartz-wm as the window manager doesn't have /sw in the path anymore. My .xinitrc wasn't written over, whether or not I chose the option for it to when I installed X11.app. I have "source /sw/bin/init.sh" in my .xinitrc file along with "exec quartz-wm", but my path is now:

PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/thom:/usr/X11R6/bin
'source' used in .xinitrc will set up the PATH (and other stuff) for the shell that runs the commands in that file. However, when 'xterm' is run, it is giving you a new shell, and that shell's startup procedure dictates how PATH gets set up.

You'll have to look to the shell that 'xterm' uses (which I assume will be your default) and make sure that your startup files for that shell are set up for the way 'xterm' (or '.xinitrc') uses the shell. For example, is the shell started as a login shell? Whether the shell is started as a login shell dictates which of the possible startup files it looks at.

Hope that helps. Check the man page for xterm and your shell.

FWIW, I installed and ran Apple's X11 without problem - the xterm has the correct PATH as set up in (for me) .bashrc. I build the PATH from scratch in that file, though.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Reply via email to