Re: string too long from write-char

[email protected] (Don Cohen)
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
The problem is that clisp seems to want to store the current line
it's writing to the terminal.  I don't yet understand why.
I could see with this might be done by readline.
To me this seems to qualify as a bug - there should be no requirement
that a newline is written to the terminal every 5 million characters
or so.

My current work around is to write a newline every so often to the 
stream.  This generic stream was translating newline characters into 
a sequence of control characters to position the cursor.


  > The code:
  > (defun copy-utl2() 
  >  (loop for i below 160000 do  
  >  ;;(when (= 0 (mod i 10000))(print i iq::data)) 
  >  (write-char #\space data))) 
  > When I do the print i without the stream argument the error goes away.
  > iq::data is a generic stream.
  > Maybe generic streams by default have very long lines?
  > Can this be controlled?


------------------------------------------------------------------------------
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
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.