From: Mark Kantrowitz
Subject: Re: Non-blocking read
Date: 
Message-ID: <CKxuK2.B1K.3@cs.cmu.edu>
In article <············@early-bird.think.com>, Barry Margolin <······@think.com> wrote:
>is available until a newline has been entered.  On systems, such as Unix,
>that ordinarily operate in line mode, these functions generally don't
>switch to character mode automatically.  If you want to do this, you'll
>have to use OS-specific functions (e.g. ioctl() on Unix).

In essence, you need to put the terminal in CBREAK mode. For some
notes on how to do this and some (old) sample code, see
	ftp.cs.cmu.edu:user/ai/lang/lisp/code/io/cbrk/

--mark