From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <75678>; Tue, 26 Feb 2002 21:16:09 -0500 To: rc@hawkwind.utcs.utoronto.ca (rc Shell) Subject: Re: non login "rc" needs customized environment In-reply-to: Your message of "Tue, 26 Feb 2002 20:46:23 EST." <20020227014623.10430.qmail@merton.aus.deuba.com> Date: Tue, 26 Feb 2002 21:16:03 -0500 From: Chris Siebenmann Message-Id: <02Feb26.211609edt.75678@hawkwind.utcs.toronto.edu> | It seems to me the default is backwards. Due to rc being invoked from | various place over which you may not have control (and hence can't add | the -l flag), rc should by default read .rcrc (or something). It is easy | to avoid reading it by adding a test to the first line, eg. (using the | level count variable someone suggested): Consulting .rcrc for every new shell requires reading and parsing all of it on every semi-interactive subshell. (The same is true for any other file rc would be looking at, of course.) I spawn a lot of copies of rc over the course of my day. I'm not really enthused about adding this overhead (and this dependancy on $home responding right now) to them. This is a long way to go just because rsh (and ssh) have problems that can easily be fixed via wrappers. - cks