[cc'd to original poster]
[Followups massively trimmed.]
+:> Recently have installed (Upraded) to Solaris 2.5.1 (APR 97) from 2.3. Among
+:> other bugs I have dealt with and fixed, I am unable to get .cshrc to be read
+:> at login... I have NOT changed the the file in any way since the upgrade. I
+:> have several aliases set up in the file and they do not work after login. I
+:> source the file, but no effect. Yes - the default login shell is "C"
[snip]
+ I would say there is something wrong with your .cshrc file. I suppose
+ there is a possibility you could have a very broken /bin/csh causing
+ you trouble,
Both.
One of my users had this same problem on our Solaris systems, both on 2.5.1
and 2.6. Granted, he had over 200 lines of aliases, most of which were
completely pointless and involved gratuitous quoting. But it turned out
that the major source of problems were lines like
alias foo "/usr/bin/foobar.thing -blah" # redundant comment
When Sun's crappy implementation of csh parsed that, it would occasionally
include the comment in the alias definition, especially if the alias
expansion had involved any serious variable expansions.
I recommended, among other things, that he change them all to
# redundant comment on seperate line
alias foo "/usr/bin/foobar.thing -blah"
and he said that did the trick.
Luck++;
/dev/phil
=> If you post a followup, PLEASE don't email a copy to me. I read news
often enough that replying to things twice is annoying. But thanks.