Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!shelby!sri-unix!hplabs!hpcc05!hpcuhb!hpindda!ash From: ash@hpindda.cup.hp.com (Art Harkin) Newsgroups: comp.sys.hp Subject: Re: Need help for TIOCNOTTY on HP9K400 Message-ID: <4310153@hpindda.cup.hp.com> Date: 7 Feb 91 18:05:02 GMT References: <1991Feb5.201415.22555@polyof.poly.edu> Organization: HP Information Networks, Cupertino, CA Lines: 16 A possible alternative to TIOCNOTTY is the following: f=open("/dev/tty",O_RDWR); #ifdef hpux setpgrp(); #else (void)ioctl(f, (int)TIOCNOTTY, (char *)0); #endif The command setpgrp() does disassociate with the process's tty. See setpgrp(2) for more information. Art Harkin HP