I found the following note posted back in Oct. '05. Following the thread (now in archives), there was no suitable solution. Being an absolute Mac newbie, I quickly encountered the same problem that Emilio reported moons ago. Here is is his original post. Following that, what I did to work around this. Any insight into the root cause and the best solution?
"Hello,
I'm in big trouble... My terminal application keeps on automatically starting a process and doesn't let me do anything! I can't enter any other command... Terminal has been doing this for a couple of weeks now. I have an Ibook G4... I am using MAX OS X
Thanks...
Emilio"
This same exact thing happened to me just yesterday. The day before I had used XCode to compile an old C program of mine. I cannot remember the last command I entered before logging out. But, the next time I started the system, logged in and ran Terminal, it automatically launched the program I had compiled, followed by "exit", which, of course, closed the Terminal session. After repeating this several times ... I don't know why ... perhaps to see if randomness truly exists in the Universe ... the same result kept happening. Not knowing, but suspecting that I had screwed up some kind of configuration for Terminal, I looked through the Terminal preferences for any kind of setting in the UI that might show some kind of auto-run value. Nothing there. So, I logged out of my user account and logged in as System Administrator (which, fortunately, I had enabled a few minutes before). As root, I perused by user account's home directory for anything that might give me a clue as to Terminal's behavior. Remember, I'm a newbie. .... so, I decided to punt. I created a new account name and copied over what files I needed into the new account. Now Terminal starts as expected under the new account, so whatever I did only affects the first user account I had setup. Would really like to know what's up here.
Thanks!
David
"Hello,
I'm in big trouble... My terminal application keeps on automatically starting a process and doesn't let me do anything! I can't enter any other command... Terminal has been doing this for a couple of weeks now. I have an Ibook G4... I am using MAX OS X
Thanks...
Emilio"
This same exact thing happened to me just yesterday. The day before I had used XCode to compile an old C program of mine. I cannot remember the last command I entered before logging out. But, the next time I started the system, logged in and ran Terminal, it automatically launched the program I had compiled, followed by "exit", which, of course, closed the Terminal session. After repeating this several times ... I don't know why ... perhaps to see if randomness truly exists in the Universe ... the same result kept happening. Not knowing, but suspecting that I had screwed up some kind of configuration for Terminal, I looked through the Terminal preferences for any kind of setting in the UI that might show some kind of auto-run value. Nothing there. So, I logged out of my user account and logged in as System Administrator (which, fortunately, I had enabled a few minutes before). As root, I perused by user account's home directory for anything that might give me a clue as to Terminal's behavior. Remember, I'm a newbie. .... so, I decided to punt. I created a new account name and copied over what files I needed into the new account. Now Terminal starts as expected under the new account, so whatever I did only affects the first user account I had setup. Would really like to know what's up here.
Thanks!
David