Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sphinx.UChicago.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!grkermi!genrad!decvax!bellcore!sabre!zeta!epsilon!gamma!ulysses!mhuxr!mhuxt!houxm!ihnp4!crsp!gargoyle!sphinx!paws From: paws@sphinx.UChicago.UUCP Newsgroups: net.unix-wizards Subject: Re: Help! (on ioctl system call) Message-ID: <652@sphinx.UChicago.UUCP> Date: Tue, 11-Jun-85 23:18:24 EDT Article-I.D.: sphinx.652 Posted: Tue Jun 11 23:18:24 1985 Date-Received: Sun, 16-Jun-85 07:42:29 EDT Organization: U. Chicago - Computation Center Lines: 16 Not a day after I posted my message I figured out what was going on. (Oops) The ioctl is done when the process is no longer in the process group of the terminal (after the setpgrp) and unix apparently doesn't like ioctl's preformed from such processes. Switching the order of the ioctl and the setpgrp got rid of the hang. -- Randy Smith -- UUcp: . . . ihnp4!gargoyle!sphinx!paws Arpa: dvlp.dilvish%uchicago.mailnet@mit-multics.arpa CSnet: randy@uchicago.csnet