Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: "Michael D. Beynon" <beynon@cs.umd.edu>
Subject: Re: "rsh" doesn't read .login file but only .cshrc file
Date: 1997/01/24	[thread overview]
Message-ID: <32E9437B.794BDF32@cs.umd.edu> (raw)
In-Reply-To: 32E8CBE6.41C6@cranfield.ac.uk


Yon Han Chong wrote:
> 
> I found out that "rsh" command execute only .cshrc file but not .login
> file. Therefore if I put "path" command in .login file rsh cannot find
> programs which is in private directory and if I put "path" command in
> .cshrc file each time I open a cshell the length of the path get longer
> and longer.

I think a common solution is to have a unique envvar to control
only doing certain things the first time.

.cshrc:
	 :
	 :

	if (! ${?CSHRCFLAG}) then
	  setenv CSHRCFLAG 1
	
	  # do .login style things here

	endif

	 :
	 :


Mike.



  reply	other threads:[~1997-01-24  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-24  5:00 "rsh" doesn't read .login file but only .cshrc file Yon Han Chong
1997-01-24  5:00 ` Michael D. Beynon [this message]
1997-01-25  5:00 ` Oliver Brandt
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox