|
|
How to set shell to tcsh in Panther?
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2003
Location: boston, ma
Status:
Offline
|
|
Hey, I like tcsh more than bash. I told terminal to run /bin/tcsh when it starts up, and sure enough tcsh starts, but when I run screen:
[powerbook:~] kelesh% screen
it gives me bash prompts:
powerbook:~ kelesh$
how do I make tcsh the default shell?
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Sep 2003
Location: Cambridge, MA
Status:
Offline
|
|
You can change your default shell in Netinfo Manager.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2000
Status:
Offline
|
|
Use chsh to change your shell. You'll end up in a vi window ready to edit your shell details, you might want to set EDITOR to something else if you're not comfortable with vi.
Try env EDITOR="/usr/bin/pico" chsh for example.
- proton
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2003
Location: boston, ma
Status:
Offline
|
|
grrrr... i changed my shell, and it shows changed in both chsh and in netinfo manager, but starting screen still brings up bash.... what's going on here?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Originally posted by kelesh:
grrrr... i changed my shell, and it shows changed in both chsh and in netinfo manager, but starting screen still brings up bash.... what's going on here?
Hmm.. wierd. Look at your dotfiles in your home folder.
ls -a
I am not sure that tcsh requires one but often there is a .profile or .login file or whatever and that could be setting or re-setting your shell for you. All of those files should be plain text. Also look at /etc/shells. /bin/tcsh must be in that list of allowable shells.
|
-DU-...etc...
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by kelesh:
grrrr... i changed my shell, and it shows changed in both chsh and in netinfo manager, but starting screen still brings up bash.... what's going on here?
there's usually a line in the file ~/.screenrc that tells screen which shell to use when starting new instances...
mine reads:
shell -$SHELL
(ie. create a new login shell each time)
if it read:
shell -/bin/bash
...you'll get a bash shell, no matter what the default shell on your account is.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
What about Terminal -> Preferences ?
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Mar 2003
Location: boston, ma
Status:
Offline
|
|
Originally posted by Wevah:
What about Terminal -> Preferences ?
yeah that's what i changed first to get tcsh instead of bash, and it works, except when i start screen it gives me bash prompts.
utidjian: no such files for me
rkt: THANKS!! adding that line to my .screenrc did the trick.
still no idea why it was running bash before... but at least it does what i want now :/
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: May 1999
Location: Seattle
Status:
Offline
|
|
i don't have a ~/.screenrc file
|
1.25GHz PowerBook
i vostri seni sono spettacolari
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2001
Location: State of Denial
Status:
Offline
|
|
Originally posted by Boondoggle:
i don't have a ~/.screenrc file
...Make one!
|
[Wevah setPostCount:[Wevah postCount] + 1];
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
Did you logout/login after making the changes to Netinfo?
Craig
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Dec 2000
Status:
Offline
|
|
"grrrr... i changed my shell, and it shows changed in both chsh and in netinfo manager, but starting screen still brings up bash.... what's going on here?"
I had the same experience. Changing the
shell in Terminal Preferences solved the
problem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|