Path: utzoo!yunexus!geac!geaclib!rae From: rae@geaclib.UUCP (Reid Ellis) Newsgroups: comp.lang.c++ Subject: how does one do "cbreak" type code in C++? Summary: do you somehow coerce an istream into a file descriptor? Keywords: cbreak, file descriptor, FILE * Message-ID: <3629@geaclib.UUCP> Date: 2 Feb 89 08:22:25 GMT Article-I.D.: geaclib.3629 Reply-To: rae@geaclib.UUCP (Reid Ellis) Organization: T'nir Software Lines: 9 Is there a "nice" method whereby one can get characters from cin in a non-blocking manner? I was looking at stream.h and was thinking along the lines of extracting the FILE* out of the i/ostream, and then getting a file descriptor out of that and setting it to be FNDELAY, but this seems too obtuse. Surely there must be a better way of doing this? Reid