Date: Sun, 7 Apr 1996 01:45:36 +1000 From: Bruce Evans <bde@zeta.org.au> To: joerg_wunsch@uriah.heep.sax.de, roell@blah.a.isar.de Cc: hackers@FreeBSD.ORG, jkh@time.cdrom.com, roell@xinside.com Subject: Re: The F_SETOWN problem.. Message-ID: <199604061545.BAA00774@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> > 1) How do I get my process to be the controlling pgrp of this tty ? I >> ... >> fork() -> exit the parent >> setsid() >> ioctl(fd, TIOCSCTTY, NULL) >> >> I doubt this is what you want :), don't you think polling with >> select() would be easier? >This is neither what I want, nor is select() easier to use for me in >this scenario. Actually I'm using select() right now and want to get >rid of it. There needs to be another process to be the controlling process for the tty. Relay signals from that process using kill() or some better method of IPC. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604061545.BAA00774>