/dev/screen

Matthew Dillon dillon at overload.Berkeley.CA.US
Tue Apr 30 09:10:56 AEST 1991


In article <1991Apr29.090744.27760 at bernina.ethz.ch> wild at 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 <sys/asyncio.h> (or was it
><asyncio.h>?), 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 at iiic.ethz.ch  |  wild at nessie.cs.id.ethz.ch
>--
>Insert your favorite $(cooky) here...

				    -Matt
--

    Matthew Dillon	    dillon at Overload.Berkeley.CA.US
    891 Regal Rd.	    uunet.uu.net!overload!dillon
    Berkeley, Ca. 94708
    USA



More information about the Comp.unix.amiga mailing list