CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

CBREAK: Turns CBREAK mode on and off to allow Lisp to read the input character by character.

Most UNIX-based Lisp implementations buffer the input until a carriage return is seen. This means that functions like READ-CHAR, LISTEN and READ-CHAR-NO-HANG don't work as the programmer might expect. For example to reply to Y-OR-N-P, one not only has to type a Y or N, but hit the return key as well. This package contains example code that shows how to turn CBREAK mode on and off from within Lisp.
Copying: Public Domain. CD-ROM: Prime Time Freeware for AI, Issue 1-1 Author(s): Mark Kantrowitz, Keywords: Authors!Kantrowitz, CBREAK Mode, IO, Input, Lisp!IO, Output, Public Domain References: ?
Last Web update on Mon Feb 13 10:29:51 1995