Path: utzoo!yunexus!gen1!yunccn!landolt From: landolt@yunccn (J. Paul Landolt) Newsgroups: comp.unix.xenix Subject: # of characters in /dev/input Keywords: buffer /dev/input character Message-ID: <342@yunccn> Date: 8 Apr 88 22:20:50 GMT Article-I.D.: yunccn.342 Posted: Fri Apr 8 18:20:50 1988 Distribution: na Organization: York University, Toronto Canada Lines: 18 I have recently been doing some programming in MSC on Xenix (I am a fugitive from MS-DOS, so bear with me) I am looking for a method of determining how many characters, if any, are waiting to be read from /dev/input. in MS-DOS, reading from the console can be done, but I'm not too sure how it's done in Xenix. Several people have suggested ideas. One said use a signal trap. Another said try using ftell(/dev/input). And another suggested using ioctl() I would really appreaciate it if someone could tell me, cut and dry, how my task could be accomplished. -- J. Paul Landolt world: ...uunet!ontmoh!yunccn!landolt nccn: ...!yunccn!landolt