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

10.3: Revert to the tcsh shell after a clean install Apps
If you did a clean install of Panther, you've probably discovered that your shell has switched from tcsh to bash (if you upgrade installed, you still have your tcsh shell). There are a number of ways to get the tcsh shell back, but here's the official method that will work for both local and remote connections.

Open NetInfo Manager, in Applications -> Utilities. Click the lock icon and enter your password. In the top half of the window, click on users and then click your user name. In the bottom half of the window, scroll down to shell, and then click and edit its associated Value(s) field. Change it from /bin/bash to /bin/tcsh, and then save the file and quit NetInfo Manager. Click on the small image at left (or right here) for a larger version that shows exactly how the process looks if you prefer a visual style of instruction.

You'll have to quit and restart the Terminal, but once you do, you'll have your tcsh shell back. Copy over your old tcsh alias and init files, and you're good to go!
    •    
  • Currently 2.50 / 5
  You rated: 3 / 5 (8 votes cast)
 
[14,150 views]  

10.3: Revert to the tcsh shell after a clean install | 12 comments | Create New Account
Click here to return to the '10.3: Revert to the tcsh shell after a clean install' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Revert to the tcsh shell after a clean install
Authored by: pwharff on Oct 27, '03 11:48:53AM

Also a good hint if someone wants to use the new "bash" in 10.3. I upgraded my 10.3 and I'm ready to use the new and improved "bash"! =)



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: wgscott on Oct 27, '03 06:01:44PM

Try zsh for the best of both worlds.

Here are some links to get started:

http://www.chemistry.ucsc.edu/%7Ewgscott/xtal/zsh.html

I used zsh for a weekend and never went back to tcsh



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: webbix on Oct 27, '03 07:02:42PM

I was looking forward to having a good bash running (still need to learn more about using it though) but there are things I miss in tcsh. I had figured how to run tcsh (I actually just inserted in prefs for Terminal)as I missed some of my function from tcsh.

Somehow I have one of my aliases lauching with the term window every time (addaliasitem from a previous tip here). I have looked at .tcshrc, .cshrc, the tcsh/eamples/rc which I had modified previously, before running from /sw with Fink install.

I don't know where to look. Any tips for a poser geek? I just don't know where a command would be stored to execute on launch a new term window. BTW, does bash give any error on remote host with ssh for you? Or is it color-term?



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: timb on Oct 27, '03 12:29:07PM

I submitted this hint earlier, but it wasn't accepted. I find it easier to just open Terminal, type export EDITOR=pico and then type chsh, the rest is pretty self explanatory. :-D

-Tim



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: easco on Oct 27, '03 02:27:00PM

You can also use the command:

chpass -s /bin/tcsh

From the command line. It will save you the trouble of having to use a separate shell-based text editor like pico, vi, or emacs.

It's also interesting to note that vi in Panther has been replaced with vim.



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: montalvd on Oct 27, '03 03:16:44PM

useless if you connect from another box. set in netinfo instead.

---
Don, NYC



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: danb5 on Oct 27, '03 12:47:15PM

This hint is similar to this one: http://www.macosxhints.com/article.php?story=20020213084259198 ... on that hint, it shows how to do it from the command line. For changing to tcsh, it would be:

niutil -createprop . /users/joebob shell /bin/tcsh


[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: elcrazon on Oct 27, '03 02:23:19PM

That's one of the first thing I noticed in Panther, but I fixed it by specifying the command to run when a new Terminal window is opened in the Terminal Prefs.



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: Anonymous on Oct 27, '03 09:42:15PM

This hint assumes (incorrectly in my opinion) that one doesn't have "Execute this command" set in Terminal's Preferences.



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: iroot on Oct 28, '03 12:51:53AM

Of course, you all knew that you can temporarily switch by typing: /bin/tcsh

You can get a list of available shells with cat /etc/shells



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: Iceberg on Oct 29, '03 11:26:31PM

The trouble people go to...

Try the "chsh" command. :)



[ Reply to This | # ]
10.3: Revert to the tcsh shell after a clean install
Authored by: tuxedobob on Jul 19, '04 01:52:27AM

THANK YOU SO FRIGGIN' MUCH!

:-D



[ Reply to This | # ]