From owner-freebsd-hackers Thu Nov 14 03:07:41 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA00897 for hackers-outgoing; Thu, 14 Nov 1996 03:07:41 -0800 (PST) Received: from news.IAEhv.nl (root@news.IAEhv.nl [194.151.64.4]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA00892 for ; Thu, 14 Nov 1996 03:07:37 -0800 (PST) Received: from truk.brandinnovators.com (uucp@localhost) by news.IAEhv.nl (8.6.13/1.63) with IAEhv.nl; pid 25283 on Thu, 14 Nov 1996 11:44:15 +0100; id LAA25283 efrom: hans@truk.brandinnovators.com; eto: hackers@freebsd.org Received: by truk.brandinnovators.com (8.6.12/BI96070101) for id KAA15729; Thu, 14 Nov 1996 10:05:08 +0100 Message-Id: <199611140905.KAA15729@truk.brandinnovators.com> From: hans@brandinnovators.com (Hans Zuidam) Subject: Re: Is our ASYNC I/O support for ttys broken? To: hackers@freebsd.org Date: Thu, 14 Nov 1996 10:05:07 +0100 (MET) In-Reply-To: <199611132105.OAA18130@xeno.xinside.com> from "Thomas Roell" at Nov 13, 96 02:05:14 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Thomas Roell wrote: > If the ioctl's would work as descrribed there would be no problem, but > as I mentioned already, they don't. Second that. According to "The Design and Implementation etc." SIGIO is sent to the process group controlling the terminal (pg.206). Nowhere does it say that the terminal should be a control tty (pg. 109). The manual pages (signal(2) and fcntl(2)) lead you to believe that SIGIOs can be generated for others than the control tty of a process. Anyway, the fact that SIGIO can only be sent in response to I/O on a process's control tty makes them pretty useless for anything but rlogin style programs. So either the manual pages would have to change or the implementation. I vote for the implementation ;-) Regards, Hans -- H. Zuidam E-Mail: hans@brandinnovators.com Brand Innovators B.V. P-Mail: P.O. Box 1377 de Pinckart 54 5602 BJ Eindhoven, The Netherlands 5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138