fresh-line (was: Re: [Maxima] Some main loop fixes)
Subject: fresh-line (was: Re: [Maxima] Some main loop fixes)
From: James Amundson
Date: Wed, 27 Apr 2005 20:27:36 -0500
On Wed, 2005-04-27 at 17:53, Wolfgang Jenkner wrote:
> James Amundson writes:
>
> [about tty-io.lisp]
> > I think I am finally ready to agree to this change.
>
> But you don't use this without the top-io patch, do you?
>
> http://www.math.utexas.edu/pipermail/maxima/2005/009681.html
No, I meant the entire change, including your other patch. I probably
should have written my reply to the message you quote.
> Also, the GCL newlines problem is still there. Shall we ignore it or
> adorn Viktor's changes with #+gcl or something?
Unless we get some strong objections, I think we can leave the extra
newlines in GCL. I hope we'll get gray streams in some future version of
GCL. We could normalize GCL then.
> > Presumably you have the code integrated into maxima.system, etc. If so,
> > go ahead and commit to cvs. If not, I can commit my copy. I put tty-io
> > in the prerequisites module. Where did you put it?
>
> I have it in share and it is loaded from share/maxima-init.lisp, via
>
> #+(or cmu sbcl) (unless (boundp 'cl-user::*tty-io*) ($load "tty-io"))
>
> I regard this merely as a kind of CMUCL/SBCL specific tweaking and as
> maxima-init.lisp already contained some GCL specific settings this
> seemed the right place.
I was thinking of tty-io as more of a unified interface to io streams.
In that sense, I'd like to see it built in. Also, I think we would want
to have the code compiled. (I haven't tested to see if it makes any
practical difference.)
> Besides, people might prefer the CMUCL
> blank-line look and feel, and I'd rather not force on them something.
I really don't think encouraging customization at that level is a good
idea.
--Jim