Newsgroups: comp.parallel.mpi,comp.unix.misc,comp.unix.osf.misc
From: Oliver Brandt <brandt@berlin.snafu.de>
Subject: Re: "rsh" doesn't read .login file but only .cshrc file
Organization: Unlimited Surprise Systems, Berlin
Date: Sat, 25 Jan 1997 05:07:26 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <32E986FE.87CF359@berlin.snafu.de>

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.
> 
> At the moment I have put the "path" command in .cshrc file so I have to
> live with ever growing path list but is there nice solution for this.
> Currently I am using OSF1 digital unix operating system.
> 

perhaps something like this will work:

rsh host "( source .login ; command ... )" 

ob

