[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave took over Terminal.app in Mac OS X
From: |
千葉 文浩 |
Subject: |
Re: Octave took over Terminal.app in Mac OS X |
Date: |
Sun, 6 Jan 2008 06:13:45 +0900 |
Hello
It is supposed: you use the bash shell; and Octave.app is located in
Applications folder.
Please try the following commands
$ alias octave="/Applications/Octave.app/Contents/Resources/bin/octave"
$ octave
or
put the following ".bash_profile" on your home directory.
------------------->8------------------------
if [ -f ~/.bashrc ];then
. ~/.bashrc
fi
PATH=$PATH:/usr/local/bin
BASH_ENV=~/.bashrc
export BASH_ENV PATH
export GNUTERM=x11
alias octave="/Applications/Octave.app/Contents/Resources/bin/octave"
alias gnuplot="/Applications/GnuPlot.app/Contents/Resources/bin/gnuplot"
------------------->8------------------------
where I use gnuplot with X11. If you want to use gnuplot with
aquaterm, change
"export GNUTERM=x11" to "export GNUTERM=aqua".
With regards,
-----------------------
Fumihiro CHIBA
On 2008/01/06, at 3:26, Louyclare wrote:
I have installed Octave 3.0.0 on my Intel Mac OS 10.4.11. It seems
to have configured itself to automatically run in the Terminal.app.
This behavior is fine with me, however, whenever I launch the
Terminal.app to run a shell (e.g. bash or tcsh) it automatically
launches in Octave. The first line in the Terminal is: imac-2006:~
louyclare$ exec '/Applications/Octave.app/Contents/Resources/bin/
octave' When I quit Octave, the Terminal.app window closes.
Bringing up a new Terminal window simply re-launches Octave. This
behavior is unaffected by the Terminal Preferences settings. The
setting for "When creating a new Terminal window:" has two radio
button options: 1) Execute the default login shell using /usr/bin/
login and 2) Execute this comand (specify complete path): I have /
bin/bash in the area provided. Does anybody know how I can run
Octave in the Terminal.app and still launch Terminal.app in a shell?
View this message in context: Octave took over Terminal.app in Mac
OS X
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave