[plt-scheme] MzScheme and read-line

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Thu Oct 1 22:09:38 EDT 2009

This happens because the REPL will read one expression, so the newline
that follows it is still in the input buffer.



eswenson wrote:
> Invoking (read-line) in DrScheme behaves as I would expect -- it
> doesn't return until a newline is read.  However, invoking (read-line)
> in MzScheme (on Win7) return "\r" immediately without waiting for any
> input.  I've tried this before and after loading the GNU readline
> support with no change in behavior.  I have verified that the current
> port is a terminal port in the interactive session and I've tried
> starting MzScheme with and without "-i".  Thanks.
>
> -- Eric
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>   



Posted on the users mailing list.