Re: Another spurious compilation diagnostic?

Steven Edwards <[email protected]>
Newsgroups gmane.lisp.cmucl.general
Message-ID <[email protected]>
Well, it may have been over 32 KB; I'm not sure.  In any case, only  
the first 1,024 bytes (or so) made it in.

The expression:

   (read-line (cpc-stin cpc) nil nil)

Where (cpc-stin cpc) was explicitly set to *terminal-io*, and the  
input is being done from a terminal.

It looks like every input test with less than about 1 KB works okay.

== Steven


On Sep 24, 2008, at 1:34 PM, Raymond Toy wrote:

> Steven Edwards wrote:
>> Oh, and one more thing: It looks like read-line has a 1,024 character
>> line length limit.  This isn't so bad, but it also appears to  
>> sometimes
>> hang when presented with some 30 KB of no-newline text at a time.
>
> There used to be some limit like this but it was fixed long ago.  I
> can't reproduce this.  Can you give an example of this failure?  I
> created a file with 30000 characters and a new line.  read-line  
> reads in
> this line without problems.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.