PDA

View Full Version : Help With Apple's new X11 App and xterm


buc99
01-14-2003, 10:25 AM
I've downloaded and enjoy the new X11 app from Apple. I was wondering though, how do you add a directory to the path for xterm.

When doing:

echo $PATH

in xterm, I noticed it was different than the same PATH in the Terminal app. I cahnged the path in the terminal app by editing the csh.login file located in /etc. Is there something similar for xterm? If so where and what?

Thanks.
SA
:)

mervTormel
01-14-2003, 03:15 PM
you'll notice that the xterm in X11 is not a login shell, but a subshell, so, xterm doesn't execute the login script.

you'll need to amend you're shell's .blahrc file so that it detects the xtermy-ness of the session and set's the path appropriately...

if [ xterm ]; then set path blah; fi

developing...