The following fragment of code from the beginning of cico.c will
fix the problem.
---rick
+ #ifdef BSD4_2
+ if (getpgrp(0) == 0) { /*We have no controlling terminal */
+ setpgrp(0, getpid());
+ }
+ #endif
ret = subchdir(Spool);
ASSERT(ret >= 0, "CHDIR FAILED", Spool, ret);
strcpy(Wrkdir, Spool);