why no .kshrc file?

Rick Wilhelm rick at zeek.UUCP
Tue Oct 17 07:12:40 AEST 1989


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



More information about the Comp.unix.questions mailing list