[comp.sys.apollo] how you know there is input to be read in without reading?

lsh@anomaly.sbs.com (Loring S. Holden) (07/11/90)

The subject line says it all - I tried poll and it doesn't work.

I tried a fcntl call to make reading non-blocking and then I use
getc and ungetc, but for some reason the prompt that I have appears
in the output window while the user is inputting.  When the user
hits return, the input appears in the output window right next to
the prompt.

Thanks for any help,
Loring