Henry, Marius,
By accident I discovered that Apple's X11 seems to use .bashrc, not
.bash_profile, so I just duplicate any necessary path changes, etc.,
there.
It works the same for me for both xterm and rxvt.
I haven't tried emacs yet. Real UNIX people seem to prefer emacs to
xterm to
rxvt. I guess I'm not a true UNIX geek yet.
Joe
on 7/4/05 8:59 PM, Henry F. Mollet at address@hidden wrote:
henry-f-mollets-emac:~ hfm$ gnuplot
bash: gnuplot: command not found
henry-f-mollets-emac:~ hfm$ bash --login
henry-f-mollets-emac:~ hfm$ gnuplot
G N U P L O T
Version 4.0 patchlevel 0
henry-f-mollets-emac:~ hfm$ export
declare -x DISPLAY=":0.0"
declare -x HOME="/Users/hfm"
declare -x LOGNAME="hfm"
declare -x MANPATH="/usr/man:/usr/X11R6/man"
declare -x OLDPWD
declare -x PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin"
declare -x PWD="/Users/hfm"
declare -x SECURITYSESSIONID="b86380"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x TERM="xterm"
declare -x USER="hfm"
declare -x WINDOWID="6291470"
declare -x __CF_USER_TEXT_ENCODING="0x1F5:0:0"
henry-f-mollets-emac:~ hfm$
Joe Koski is using the rxvt X11 terminal which probably does not
have this
odd behavior of having to force things to be read in. He also said
that it
has the scroll bar on the right and that the terminal behaves more
like
expected and he built it from source.
For setting scroll bar etc. on Apple's xterm see
http://www.abbeyworkshop.com/howto/macosx/x11Term/
Thanks, Henry
on 7/3/05 12:15 PM, Marius Schamschula at address@hidden
wrote:
Henry,
This is a known issue with Apple's xterm. By default it seems not
to
read your .bash_proflie. I usually do a
bash --login
to force things to be read in.
Marius
--
Marius Schamschula Webmaster
The Huntsville Macintosh Users Group
www.hmug.org
webmaster at hmug dot org marius at schamschula dot com
On Jul 2, 2005, at 1:00 PM, Henry F. Mollet wrote:
I used X11 and tried to run octave and gnuplot in the X11/xterm
terminal.
Octave worked but would not plot because it now could not find
gnuplot. Then
I opened gnuplot and I could do a plot.
I must also have to set the path someplace for both octave and
gnuplot
because I had to use /urs/local/bin/octave or gnuplot to open
these
applications in the xterm terminal.
Henry