rpw3@fortune.UUCP (04/13/84)
#R:reed:-50600:fortune:11600087:000:657 fortune!rpw3 Apr 12 19:05:00 1984 Quick hack for your problem (I don't know if this is the "approved" method, but it has worked for me): # ln /bin/csh /bin/-csh Then in your shell script, ...<<do whatever>> ...<<PATH should include /bin >> exec -csh The shells (both sh and csh) look at the first character of "arg#0", which login sets especially to "-" for a "login shell". If you are exec'ing it from a "C" program, no need to do the linking hack. Just make sure that you fix up "argv[0][1]" to be a "-". Rob Warnock UUCP: {ihnp4,ucbvax!amd70,hpda,harpo,sri-unix,allegra}!fortune!rpw3 DDD: (415)595-8444 USPS: Fortune Systems Corp, 101 Twin Dolphin Drive, Redwood City, CA 94065