.login and .cshrc differences

Jan Mark Noworolski jmn at cancun.berkeley.edu
Wed Jul 11 01:50:34 AEST 1990


I used to think that this was a real neophyte type of question- but what
exactly belongs in the .login and .cshrc files respectively?

It seems that rsh only runs .cshrc, rcp gets confused with some .cshrc
contents. 

I want to make sure that my setenv's are in the right place, aliases, and
set path. I use a rsh to start up a remote xterm on a system I use and only
.cshrc gets run in this case. So does this mean my .login may as well be
empty and everything should be in my .cshrc?

As an example of a problem I've run into:
in my .cshrc (outside the 'if ($?prompt)' )
setenv DISPLAY `who am i | sed 's/.*(//' | sed 's/\..*//'`:0
would confuse rcp. After putting it into the 'if' rcp is fine.

Has anybody really nailed down what belongs where and when?

--
"It was very stupid of you to have gotten yourself lured into this trap"
						Big Boy (from Dick Tracy)
jmn at united.berkeley.edu, or jmn at power.berkeley.edu



More information about the Comp.unix.questions mailing list