Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.unix.amiga Subject: Re: /dev/screen Message-ID: Date: 29 Apr 91 23:10:56 GMT References: <1991Apr29.090744.27760@bernina.ethz.ch> Organization: Not an Organization Lines: 30 In article <1991Apr29.090744.27760@bernina.ethz.ch> wild@nessie.cs.id.ethz.ch (Markus Wild) writes: >I played with /dev/screen lately, and I didn't manage to switch it into >a mode, where it would generate a SIGIO when an event arrives. With >fcntl(..F_SETOWN..) it protested that I wanted to perform a socket operation >on a non-socket, so I tried ioctl(..S_SETSIG..), just to get an >"invalid argument" error. Is there really no way to get asynchronous >event-notification with /dev/screen? > >As for ascync io, I saw that there is a (or was it >?), but since there are no man-pages, does this work already >or is it just something "for version 2.0" ?? You don't want to use SIGIO anyway, the overhead is incredible! Instead, use select(). >-Markus >dreaming of having something like the Irix-dbx under Amiga Unix, there >-- >Markus M. Wild - mwild@iiic.ethz.ch | wild@nessie.cs.id.ethz.ch >-- >Insert your favorite $(cooky) here... -Matt -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA