I would like to know if there is any way to get identical PATHs in both
Terminal.app and xterm. I am using tcsh, and I have "source /usr/share/
tcsh/examples/login" in /etc/csh.login, plus the following lines at the
beginning of my .cshrc:

source /sw/bin/init.csh
if ( ! $?DISPLAY ) then
setenv DISPLAY :0.0
endif
if (!($?TERM_PROGRAM) && "$TERM" == "xterm") set TERM_PROGRAM="XTerm_Terminal"
setenv MANPATH ${MANPATH}:/usr/local/man
setenv PATH ${PATH}:/Developer/Tools:/usr/local/vscanx:/ImageMagick-5.5.7/bin

This results in the following PATH in Terminal.app:

/sw/bin:/sw/sbin:~/bin/powerpc-apple-darwin:/Users/emilyjac/bin:/usr/
local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/
Developer/Tools:/usr/local/vscanx:/ImageMagick-5.5.7/bin

[Note re ImageMagick: this is the official binary (I was afraid compiling
it via fink would take a rather long time), and it won't run unless the
ImageMagick-5.5.7 folder is at the root level of my hard drive.]

I also have these lines at the beginning of my .xinitrc:

#!/bin/sh
# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $
source /sw/bin/init.sh
PATH=$PATH:/usr/local/bin:/usr/local/sbin
export PATH

This results in the following PATH in xterm (when X11.app is launched
from the Dock):

/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/emilyjac:/usr/
X11R6/bin:/usr/local/bin:/usr/local/sbin:/Developer/Tools:/usr/local/
vscanx:/ImageMagick-5.5.7/bin

I would like to have the same PATH in both, or at least get "/usr/local/
bin" before "/usr/bin" in xterm's PATH. How could this be done?

Thanks,

Emily



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to