Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!haven!adm!xadmx!ATT3B%UCONNVM.BITNET@cunyvm.cuny.edu From: ATT3B%UCONNVM.BITNET@cunyvm.cuny.edu (Martin Stein) Newsgroups: comp.unix.questions Subject: How many characters on next read on SYSVR3 ? Message-ID: <21697@adm.BRL.MIL> Date: 9 Dec 89 07:59:22 GMT Sender: news@adm.BRL.MIL Lines: 11 I am trying to make the cursorkey work with microemacs 3.10. On SysV that doesnt't work. On BSD there seems to be a select systemcall that waitsa certain time and then tells if chars are available from the terminal. On SysV i tried it with streams: ioctl(0,I_NREAD,&nr_of_chs) always returns -1 and 0 in nr_of_chs. How do i get the number of characters in the input queue? Martin Stein (ATT3B@UCONNVM.BITNET)