[plt-scheme] Bug in readline?

From: Christophe Poucet (christophe.poucet at gmail.com)
Date: Thu May 3 10:49:31 EDT 2007

Eli,

First of all, thank you for the prompt help with this problem.  Looking at it
again, I followed your previous advice, and indeed it was due to the lack of a
newline in the display call.

Thanks for the work,
Cheers

Eli Barzilay wrote:
> On May  3, Eli Barzilay wrote:
>> [...]  But perhaps you're displaying
>> text without a terminating newline?  I see that when that happens then
>> the output is not flushed until you either exit, or display a newline.
> 
> This problem is now fixed in the repository -- the output port is
> flushed before reading.  Also, line counting is enabled for the output
> port, and if before reading the output position is not at column 0,
> then a newline is printed.  (This means that entering (display "foo")
> and (display "foo\n") at the repl produces the same output.)
> 


-- 
christophe poucet
phd. student
nes - mpsoc ltr

phone:+32 16 28 87 20
e-mail: christophe (dot) poucet (at) imec (dot) be
--------------------------------------------------------------------------------
IMEC vzw – Register of Legal Entities Leuven VAT BE 0425.260.668
         – Kapeldreef 75, B-3001 Leuven, Belgium
         – http://www.imec.be
--------------------------------------------------------------------------------


Posted on the users mailing list.