mckeeman@wivax.UUCP (01/18/84)
I need to be able to check the keyboard to see if ^C (for instance) has been struck to get my mocklisp program out of a loop. I need to do this without hanging up because no key has been struck. Something like: (if (keystroke-pending) (look-at-it-and-do-something) ) Any suggestion will be appreciated. Bill McKeeman ...!decvax!wivax!mckeeman
chris@umcp-cs.UUCP (01/20/84)
The mods I sent out about a year ago included a function called (pending-input) which returned >0 if there was pending keyboard input, 0 if not, and -1 if it cannot be determined. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay