Xref: utzoo comp.os.vms:33560 comp.lang.c:34763 rec.games.programmer:2691 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news From: seaotter@athena.mit.edu Newsgroups: comp.os.vms,comp.lang.c,rec.games.programmer Subject: VAX-C immediate char reading Keywords: VAX-C VMS i/o immediate Message-ID: <1990Dec14.191104.7874@athena.mit.edu> Date: 14 Dec 90 19:11:04 GMT Sender: news@athena.mit.edu (News system) Distribution: na Organization: Massachusetts Institute of Technology Lines: 32 Another question I'm sure has been posted before... Is there a way under VMS 5.x using Curses (yes, NOT smg$stuff) to write some function next_avail_char() such that I could write a code fragment like for(;;) { if ((c = next_avail_char()) != '\0') { dostuff(); } else { update_something(); } } In other words I need to know if there is input waiting and if so, what it is. Post or email c/o seaotter@athena.mit.edu or mzraly@ldbvax.dnet.lotus.com The MIT address is probably better, though. Thanks, Mike -- | Mike Zraly | You should never wear your best trousers | | | when you go out to fight for freedom and | | via: seaotter@athena.mit.edu | liberty. -- Henrick Ibson |