How many characters on next read on SYSVR3 ?

Martin Stein ATT3B%UCONNVM.BITNET at cunyvm.cuny.edu
Sat Dec 9 18:59:22 AEST 1989


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 at UCONNVM.BITNET)



More information about the Comp.unix.questions mailing list