Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!aurora!labrea!decwrl!ucbvax!cbosgd!mandrill!musky2!terrell From: terrell@musky2.EDU (Roger Terrell) Newsgroups: comp.os.vms Subject: Re: keyboard interrupt Message-ID: <48@musky2.EDU> Date: 2 Feb 88 23:04:40 GMT References: <190@umn-d-ub.D.UMN.EDU> Reply-To: terrell@musky2.UUCP (Roger Terrell) Organization: Muskingum College, New Concord, OH Lines: 19 In article <190@umn-d-ub.D.UMN.EDU> fsimmons@umn-d-ub.D.UMN.EDU (Frank Simmons) writes: > > Can anyone tell me if VMS has a routine that will let me test whether >or not the return key has been hit? > Depending (of course) on what you are trying to do, you might want to use SMG$ENABLE_UNSOLICITED_INPUT. If input is detected when not solicited, then call SMG$READ_KEYSTROKE (or some other read function) and find out what that character(s) was. --Roger -- Roger Terrell Muskingum College ...cbosgd!musky2!terrell (UUCP) New Concord, OH 43762