Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/27/84; site seismo.UUCP Path: utzoo!linus!decvax!wivax!cadmus!harvard!seismo!rick From: rick@seismo.UUCP (Rick Adams) Newsgroups: net.unix-wizards,net.bugs.uucp Subject: Re: 4.2bsd uucico LOST LINE bug Message-ID: <4496@seismo.UUCP> Date: Fri, 5-Oct-84 15:34:51 EDT Article-I.D.: seismo.4496 Posted: Fri Oct 5 15:34:51 1984 Date-Received: Sat, 6-Oct-84 06:41:17 EDT References: <1364@sdcrdcf.UUCP> Organization: Center for Seismic Studies, Arlington, VA Lines: 15 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);