Say I'm reading from a couple of "channels" using "ReadChannels",
how do I when I get eof on one them?
Case in point: Using hbc, I'm reading from stdio, but also using a
"TICK", to keep a clock upto date. When I hit ^D, I would like the
program to be able to detect this, and terminate.
Currently, there seems to be a mis-bug in hbc which means I get a never
ending stream of "-1" characters, which is at least better than nothing
at all.
Am I missing something?
--
Duncan Sinclair | Try one [EMAIL PROTECTED]
Computing Science Research Student | of these: [EMAIL PROTECTED]
University of Glasgow |..!mcsun!ukc!uk.ac.glasgow.dcs!sinclair
--- Rave Culture: Don't techno for an answer. ---