Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Terminal messed up.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Terminal messed up.
Authored by: pjr on Sep 12, '02 12:00:33PM

I'm fairly new to Unix, and had really just started using the aliases.mine, so followed this procedure to get it back on my iBook, which worked fine, but on my Cube it didn't work. I don't remember doing anything different. My terminal now loads up, and in every new window just says:

Last login: Thu Sep 12 16:44:43 on ttyp3
Welcom to Darwin!
[Process Completed]

I can only run commands individually from File:New command.. How can I get it to work again? Any help would be great.

Paul



[ Reply to This | # ]
Terminal messed up.
Authored by: bluehz on Sep 13, '02 12:14:51AM

Paul - I don't know the solution to your problem, but I can tell you I have been stumped more than once with odd behaviour like this - not exactly what you are getting - but odd nevertheless. I have always found that its usually a syntax error in one of my files. I am real bad about leaving off the closing single-quote on my aliases and that tends to cause some oddities. Problem is you can;t track the problem down so easy. I would suggest you go back into the last few term type files you edited and double check your syntax - dot your i's, etc. If you aren't real strong in recognizing a syntax error then just comment out (place a # at the start of each line) the new stuff you added and slowly add it back in a little at a time. Eventually you will enable just the line that causes the problem and then you can zero in on the solution. Hope that helps.



[ Reply to This | # ]
Terminal messed up -- solved!
Authored by: Andrew LaGow on Sep 15, '02 08:52:53PM

I was getting that error too. I finally figured it out.

You're going to have to delete the duplicate *.mine files in ~/library/init/tcsh. This is only true if these files duplicate the information in usr/share/tcsh/examples that is pointed to either in your ~/.tcshrc file or on a global scale as in the above example in your /etc/csh.chsrc file.

I'd also think that if ~/Library/init/tcsh/login.mine and ~Library/init/tcsh/logout.mine are duplicates of /etc/csh.login and /etc/csh.logout then you'll also have problems.

One other thing. It's okay to have the ~/Library/init/tcsh files, but they can't duplicate the contents in those other directories.



[ Reply to This | # ]
Terminal messed up -- solved! -- Confirmed!
Authored by: pjr on Sep 21, '02 08:25:13PM

Hey thanks for your replies, and fixing my problem. Great job!



[ Reply to This | # ]