Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!uakari.primate.wisc.edu!ginosko!uunet!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.unix.questions Subject: Re: why no .kshrc file? Keywords: ksh history sh csh Message-ID: <1194@crdos1.crd.ge.COM> Date: 17 Oct 89 20:19:41 GMT References: <262@zeek.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 18 In article <262@zeek.UUCP>, rick@zeek.UUCP (Rick Wilhelm) writes: | 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.? The file is called .profile as described in the manual. If you have two ids which go into the same directory but with diferent shells (I do that) and you have ksh stuff which won't work for sh, put the simple stuff in .profile and end .profile with a statement: ENV=~/.kshrc Then put the ksh speciffic stuff in the .kshrc file. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon