[X-Unix] path for terminal.app and x11
John Harrold
jmh17 at pitt.edu
Sat May 14 07:43:23 PDT 2005
Sometime in May sham khalil assaulted the keyboard and produced:
| i have edited .profile file to include /opt/local/ in the $PATH
| PATH=" /bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin:/opt/local/sbin"
|
| but on X11 $PATH doesn't have /opt/local
| PATH="/usr/bin:/bin:/usr/sbin:/sbin:/Users/shamkhalil:/usr/X11R6/bin"
I believe you mean the path for 'xterm' as opposed to 'terminal.app'. When
X11.app starts an 'xterm' is what is started. This isn't the same as the
terminal.app which is in /Applications/Utilities (by default). For
'terminal.app', I've modified the file ~/.bash_profile to set environment
variables like PATH. For some reason appl chose to make it such that xterm,
or more precisely x11.app, doens't respect such conventions. For a verbose
explination of why this is so check out the following:
http://www.opendarwin.org/pipermail/darwinports/2004-May/021066.html
To make xterm read my .files all I had to do was edit the file
/etc/X11/xinit/xinitrc and look for the line:
xterm &
and change it to
xterm -ls &
I hope this helps.
--
----------------------------------------------------------
| /"\
john harrold | \ / ASCII ribbon campaign
jmh at member.fsf.org | X against HTML mail
the most useful idiot | / \
----------------------------------------------------------
What difference does it make to the dead, the orphans,
and the homeless, whether the mad destruction is brought
under the name of totalitarianism or the holy name of
liberty and democracy?
--Gandhi
----------------------------------------------------------
gpg --keyserver pgp.mit.edu --recv-key B23241CB
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20050514/8a5fa874/attachment.bin
More information about the X-Unix
mailing list