Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!zeek!rick From: rick@zeek.UUCP (Rick Wilhelm) Newsgroups: comp.unix.questions Subject: why no .kshrc file? Keywords: ksh history sh csh Message-ID: <262@zeek.UUCP> Date: 16 Oct 89 21:12:40 GMT Organization: Arthur Andersen & Co., Chicago, IL Lines: 24 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.? 2) If the answer to 1) is "yes" then "how do I do it?" 3) If the answer to 1) if "no" then "why not?" I understand that .cshrc is a BSDism, and thus could not have been adopted by sh. But why didn't ksh acquire this useful feature. Thanks, rick -- ------------------------------------------------------------------------------- Rick Wilhelm uunet!zeek!rick Andersen Consulting 312-715-5471 Advanced Systems Center, Chicago