why no .kshrc file?

Barry Margolin barmar at kulla
Wed Oct 18 04:19:27 AEST 1989


In article <1287 at virtech.UUCP> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
>In article <262 at zeek.UUCP>, rick at zeek.UUCP (Rick Wilhelm) writes:
>> 1)  Is there a way to run ksh with a startup script and
>> 	then turn things over to stdin and the $ prompt, etc.?
>Yes.  place the name of the script into the $ENV environment variable
>and all sub-kshell will run it.

How do you arrange for $ENV to get set if the shell isn't a descendent
of a login shell?  For instance, shells started by "rsh" aren't login
shells.
Barry Margolin, Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.unix.questions mailing list