Re: Script .cshrc not executed, why!!??

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: Script .cshrc not executed, why!!??
From: X Y <>
> I have been running fedora 6 for almost three years now


That's 4 or 5 revisions behind the curve, but whatever.

> I am using the C shell, a bad habit


Yes, it is :-P

> A few days ago, I noticed that I could not use aliases set in my
> personal .cshrc. It was easy to trace the problem to .cshrc not
> being executed at start up (to save energy i. e. money, I switch
> off the box when I do not need it).


Man page for tcsh says that ~/.cshrc will only be sourced if
~/.tcshrc doesn't exist. Also, ~/.login may be sourced first,
depending. Most people want login and non-login shells to have
the same behavior, so typically they have a non-existent .login
and put all their stuff in ~/.bashrc .

> I have gone through init and, I think, all scripts that are
> executed at start up, I have not been able to find a place where
> my personal .cshrc is invoked or could be invoked.


It's invoked at shell startup. "man tcsh" for the gory details.
That has more info than most people need :-)

> I have also noticed that my vi editor is behaving strangely.


Specifics are essential to solving this. Provide them.

> It was August 2008 when I connected the box to the Internet for
> the last time, using an external modem.


Wow. In most cases, a computer that's not hooked up to the Net is
about 1/100 as useful as one that is. At least in this modern age....

--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss