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.


Reply via email to