Terminal problem

Discussion in 'Mac Apps and Mac App Store' started by moc.sromurcam, Jan 17, 2008.

  1. moc.sromurcam macrumors newbie

    Joined:
    Jan 17, 2008
    #1
    Hey there, ever since I installed Octave, everytime I start up terminal, and for every new terminal window, the chell starts with this line:
    "
    Last login: Thu Jan 17 22:22:31 on ttys002
    exec '/Applications/Octave.app/Contents/Resources/bin/octave'
    xxx:~ xxx$ exec '/Applications/Octave.app/Contents/Resources/bin/octave'
    "

    for a while I could only run bash through Octave's shell command, before I deleted octave (and now I just boot up with an error that it couldn't be found) The thing is only annoyance at this point, but ive put some time into cracking it. It only happens in this one user, so I know to look only in my user's folder. I eventually dug into
    ~/Library/Preferences/com.apple.Terminal.plist

    and found a Property called ExecutionString set to "exec '/Applications/Octave.app/Contents/Resources/bin/octave'"

    Score!, I thought, I changed it to something else but still, even after reboot, all my terminals start with that string. I've looked everywhere, .profile and every other bash related file. Any ideas?

    thanks
    -seth
     
  2. yeroen macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
    #2
    This happened to me before (not Octave, but Gimp or something like that).

    Did you check the global bash files in /etc/?

    You may want to install iTerm:
    http://iterm.sourceforge.net/

    I prefer it to the Apple provided terminal for many reasons of aesthetics.

    If iTerm gives you the same crap in your login shell, then it's not Terminal.app, but something in bash.

    Alternatively what happens if you set your default shell to tcsh or zsh?

    Is there an install-script for Octave, or alternatively does it have a .bom file in /Library/Receipts? If it does you could type

    lsbom Octave.bom

    and see just what Octave installed and where.
     
  3. moc.sromurcam thread starter macrumors newbie

    Joined:
    Jan 17, 2008
    #3
    Hey good narrowing down.

    Iterm doesn't get the error (and ill look into picking up an iterm habit) and tcsh in Terminal still does. I don't know os x's workings well enough to know if that plist, com.apple.Terminal.plist is the best or only place to look. Thanks again.
    -seth
     

Share This Page