Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!helios.ee.lbl.gov!ncis.tis.llnl.gov!lll-winken!vaxr.llnl.gov!andersen From: andersen@vaxr.llnl.gov Newsgroups: comp.lang.c Subject: how do I trap a single keystroke in VMS C? Message-ID: <1990Jul25.085526.1@vaxr.llnl.gov> Date: 25 Jul 90 15:55:26 GMT Sender: usenet@lll-winken.LLNL.GOV Organization: LLNL_LIS Lines: 8 X-Local-Date: 25 Jul 90 08:55:26 PDT Does anybody have code written to trap a single keystroke in VMS C? I know I need to use a QIO, and with enough dinking I could figure it out, but if I can steal somebody elses solution I'd much rather. I need my code to respond to a keystroke without having to also hit RETURN. (In OS-9 C, a read( 0, &ch, 1) does the trick, but not in VMS.) -- Roger Andersen LLNL