🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1581

Re: What should be in .cshrc vs .login

#1581
From: Jonathan I. Kamens
Date: Tue, 23 Oct 1990 04:59
16 lines
1394 bytes
  The default Athena .cshrc file checks for the existence of the environment
variable ENV_SET.  If it exists, then the environment is assumed to have been
initialized properly, and no path setting etc. is done.  If it doesn't exist,
then the .cshrc does the necessary environment initialization.

  Our users log into X displays the vast majority of the time, and our X login
setup doesn't even *look at* .login, so putting the initialization stuff there
isn't an option.  Putting it in .cshrc, however, makes it work both for X
logins and for dialup logins (which do use .login, obviously :-).

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
Technical Details
Message-ID: <1990Oct23.045911.472@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!athena.mit.edu!jik
References: <1294@tardis.Tymnet.COM> <FPB.90Oct21120952@ittc.ittc.wec.com> <1300@tardis.Tymnet.COM> <1990Oct23.011502.21167@mp.cs.niu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!athena.mit.edu!jik
From: jik@athena.mit.edu (Jonathan I. Kamens)
Newsgroups: comp.unix.shell
Subject: Re: What should be in .cshrc vs .login
Message-ID: <1990Oct23.045911.472@athena.mit.edu>
Date: 23 Oct 90 04:59:11 GMT
References: <1294@tardis.Tymnet.COM> <FPB.90Oct21120952@ittc.ittc.wec.com> <1300@tardis.Tymnet.COM> <1990Oct23.011502.21167@mp.cs.niu.edu>
Sender: daemon@athena.mit.edu (Mr Background)
Reply-To: jik@athena.mit.edu (Jonathan I. Kamens)
Organization: Massachusetts Institute of Technology
Lines: 16