Sorry about the length of the subject! It does describe something that
the proposed PATH setup application would want to deal with, however.
I've forwarded the message that brought this on:
-----Forwarded Message-----
From: Sebastian Tennant <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Fink-beginners] For anyone trying to install fink who is already using the
example tcsh configuration in /usr/share/tcsh/examples
Date: 17 Mar 2003 16:24:20 +0000
Hi all.
'fink scanpackages' kept giving me 'Command not found.' All I could
find on the fink FAQ pages was this:
> Q3.18: I've edited my .cshrc and started a new terminal, but I still
> get "command not found" errors when I run fink or anything that I
> installed with fink.
>
> A: (This assumes you are using tcsh ). When tcsh is started, it first
> reads system-wide scripts, and then those for your user account. It
> looks first for ~/.tcshrc , and if that isn't found, ~/.cshrc ; note
> that if you have both, only ~/.tcshrc gets run.
>
> What has probably happened is that some application package (e.g.
> CodeWarrior) has created a ~/.tcshrc , and therefore ~/.cshrc isn't
> being read. A good fix is to add the following line to ~/.tcshrc :
>
> source ~/.cshrc
If you are using the example configuration found in
/usr/share/tcsh/examples, (which does have some quite cool features),
then you will already have a one line ~/.tcshrc file:
source /usr/share/tcsh/examples/rc
Adding the line:
source ~/.cshrc
will not do the trick. Leave it as it is.
As you can see from the /usr/share/tcsh/examples/README <snip>
---end forwarding
A solution in this case is to put "source ~/.cshrc" in ~/Library/init/tcsh/path .
I guess the installer app needs to check for a .login, too.
--
Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA 02139-4213
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel