why no .kshrc file?

Ed Gow gow at mrsvr.UUCP
Wed Oct 18 00:51:25 AEST 1989


>From article <262 at zeek.UUCP>, by rick at zeek.UUCP (Rick Wilhelm):
> 
> Yesterday, while trying to get xterm to run ksh with a startup file
> (to set up the aliases, etc). I found out that there seems to be no way
> to have ksh run a script file upon startup (a la csh and .cshrc).
> 
> So my questions are these:
> 
> 1)  Is there a way to run ksh with a startup script and
> 	then turn things over to stdin and the $ prompt, etc.?

Yes, set the shell variable ENV to a file name (i.e. .kshrc).
Be sure to export ENV so subshells get it. This should all be
in your document :^}

The above is null and void if you are using a malformed mutant version.



More information about the Comp.unix.questions mailing list