Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!mrsvr.UUCP From: gow@mrsvr.UUCP (Ed Gow) Newsgroups: comp.unix.questions Subject: Re: why no .kshrc file? Message-ID: <1243@mrsvr.UUCP> Date: 17 Oct 89 14:51:25 GMT References: <262@zeek.UUCP> Sender: news@mrsvr.UUCP Lines: 16 From article <262@zeek.UUCP>, by rick@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.