[comp.sys.atari.st] Handle question

jrd@STONY-BROOK.SCRC.SYMBOLICS.COM (John R. Dunning) (10/26/89)

Is it possible to tell what device a (gemdos) file handle is really
pointed at?  In particular, is it possible to tell if it's really
pointed at the screen?  In doing some IO hacking, I've come up with some
stuff that really does want to be able to use Bcon<foo> when it can
figure out that the thing being talked to is the keyboard/screen, but
there appears to be no way to tell, other than blindly assuming.

I'd like to find something modular and supported (Hah!), but will settle
for anything.  Hints anyone?