[comp.unix.i386] cshrc

fritzz@lamont.ldgo.columbia.edu (fritz zaucker) (11/10/89)

Hi,
I tried to use /etc/cshrc or /etc/default/.cshrc with ISC 386/ix ver.2.02
to execute some commands automatically for each user who logs in.
According to the manual (User's/Administrator's Ref. Manual CSH (1))
these files should be executed automatically (whatever this means), look
at FILES and NOTES on the man page.
Neither of this files seems to do anything. Any ideas?

Thanks
Fritz

vjs@calcite.UUCP (Vernon Schryver) (11/12/89)

In article <1852@lamont.ldgo.columbia.edu>, fritzz@lamont.ldgo.columbia.edu (fritz zaucker) writes:
> I tried to use /etc/cshrc or /etc/default/.cshrc with ISC 386/ix ver.2.02
> ...
> Neither of [these] files seems to do anything.


I also think it would be really swell if there were something like the
/etc/cshrc found in larger systems.  Unfortunately, `strings /bin/csh`
applied to the 2.0.2 csh is discouraging.  The obvious work around, including
"source /etc/cshrc" in all private .cshrc's is a pain.


Vernon Schryver
vjs@calcite.uucp

support@ism780c.isc.com (Support account) (11/14/89)

In article <1852@lamont.ldgo.columbia.edu> fritzz@lamont.ldgo.columbia.edu (fritz zaucker) writes:
>I tried to use /etc/cshrc or /etc/default/.cshrc with ISC 386/ix ver.2.02
>to execute some commands automatically for each user who logs in.
>According to the manual (User's/Administrator's Ref. Manual CSH (1))

This issue has caused confusion because there is both
the csh(1) manual page in the above mentioned AT&T doc, and a csh(1)
man page in the Interactive Systems "C Shell Guide".

When there exist varying descriptions of commands, system calls,
etc. between Interactive and other documentation, the Interactive
documentation will take precedence.

In this case, the Interactive man page does not refer to a global
configuration (cshrc) file implementation, only /$HOME/.cshrc, a per user
configuration file.