On Wed, 2004-10-13 at 12:10, Matt Diephouse wrote: > I'm still working on a new Forth implementation... > > Forth has a word `key` that gets one character from stdin. It > shouldn't wait for a newline to get the character. Is there any way to > implement this currently in PIR?
You can't do this in a standard, portable way in C, so I doubt that PIR has such a mechanism. Here's a reference from the comp.lang.c FAQ: http://www.eskimo.com/~scs/C-faq/q19.1.html -- â 781-324-3772 â [EMAIL PROTECTED] â http://www.ajs.com/~ajs