This is an OS X problem. Everytime I start my terminal, it starts octave.
And when I enter 'quit', it quits the shell. So then, the only way I can
run commands is by typing, for example, "system('ls')". There is nothing in
my .bashrc or .profile that is sneaky.
Here is what happens when I start a new shell in Terminal and then check my
processes:
"
Last login: Wed Sep 12 13:49:59 on ttyp1
Welcome to Darwin!
exec '/Applications/Octave.app/Contents/Resources/bin/octave'
XXX:~ XXX$ exec '/Applications/Octave.app/Contents/Resources/bin/octave'
GNU Octave, version 2.9.13
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i386-apple-darwin8.9.1".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
octave-2.9.13:1> system('ps aux | grep ctave')
XXX 956 0.0 0.1 27728 640 p1 S+ 1:50PM 0:00.02 /bin/sh
/Applications/Octave.app/Contents/Resources/bin/octave
XXX 978 0.0 1.7 98376 17380 p1 S+ 1:50PM 0:01.09
/Applications/Octave.app/Contents/Resources/bin/octave-2.9.13
XXX 979 0.0 0.1 27728 596 p1 S+ 1:51PM 0:00.00 sh -c ps
aux | grep ctave
XXX 981 0.0 0.0 18060 240 p1 R+ 1:51PM 0:00.00 grep
ctave
ans = 0
octave-2.9.13:2>
"
I see that line "exec
'/Applications/Octave.app/Contents/Resources/bin/octave'" up top. Its a
sneaky one, can't find out who's putting it there. Any ideas? I'm on a
MacBook running 10.4.10.
-seth