 |
 |
.tcshrc in Panther (7B80) not executed
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Nov 2000
Status:
Offline
|
|
the ~/.tcshrc file in Panther (I tried 7b21 and 7b80) it is not executed:
I tried to put some 'alias' in it and a 'setenv PATH ${PATH}:....' line, but nothing !
I quitted and relauched the Terminal and it acts as there was NO ".tcshrc".
I tried to put the same lines in a ~/.cshrc and in a ~/.login...but still nothing
anyone can help ?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2003
Location: Santa Barbara
Status:
Offline
|
|
Isn't bash the default shell in Panther?
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Nov 2000
Status:
Offline
|
|
yeah, you're right (it's bash)
but even moving those lines to a .bashrc doesNOT work ....
...why? I suppose in bash the 'alias' and 'setenv PATH' command are not supported, right?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Bash has a slightly different syntax that csh/tcsh.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2003
Location: Santa Barbara
Status:
Offline
|
|
Here's a thread on converting your .tcshrc to .bashrc.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status:
Offline
|
|
Should we change from Bash to tcsh on OS X 10.3 ? I've only used tcsh, and as a simple shell user, using something else would be like starting all over again. Or not ??
|
|
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2003
Location: Santa Barbara
Status:
Offline
|
|
Originally posted by Johnny_B:
Should we change from Bash to tcsh on OS X 10.3 ? I've only used tcsh, and as a simple shell user, using something else would be like starting all over again. Or not ??
I wouldn't see why you would have to change. It's a personal preference. In the Panther Terminal.app Preferences change "Execute this command" to /bin/tcsh.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jul 2002
Location: Australia
Status:
Offline
|
|
Or run /Applications/Utilties/NetInfoManager.app and change your shell in /users/<username> to change your login shell. Or use 'niutil' to change it.
Kind of related - is Panther under NDA or anything? If not, does the bash setup have any kind of init setup like tcsh, where you can put things like aliases.mine, environment.mine and the like in ~/Library/init/tcsh or equivalent?
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
From man bash:
Code:
When bash is invoked as an interactive login shell, or as
a non-interactive shell with the --login option, it first
reads and executes commands from the file /etc/profile, if
that file exists. After reading that file, it looks for
~/.bash_profile, ~/.bash_login, and ~/.profile, in that
order, and reads and executes commands from the first one
that exists and is readable. The --noprofile option may
be used when the shell is started to inhibit this behav-
ior.
When a login shell exits, bash reads and executes commands
from the file ~/.bash_logout, if it exists.
When an interactive shell that is not a login shell is
started, bash reads and executes commands from ~/.bashrc,
if that file exists. This may be inhibited by using the
--norc option. The --rcfile file option will force bash
to read and execute commands from file instead of
~/.bashrc.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|