inchar, outchar and linechar



On Tue, 2004-05-11 at 13:52, Barton Willis wrote:
> You all probably know this already  ... today's version of maxima
> has trouble with the imaginary unit.
> 
> (%i1) ratsimp(%i^2);
> (%o1) %i^2
> (%i2)

OK, thanks. It isn't really a problem with the imaginary unit.
ratsimp(%I^2) still does what it should. The internal use of |$%i| and 
Maxima's case-guessing logic lead to confusion, however. This problem
will evaporate in 5.9.2. In the meantime, I'm applying the following
patch:

Index: suprv1.lisp
===================================================================
RCS file: /cvsroot/maxima/maxima/src/suprv1.lisp,v
retrieving revision 1.14
diff -r1.14 suprv1.lisp
166a167,171
> ;;; jfa: begin case-sensitivity hack
> ;;;      delete this when case-sensitivity is fixed!!!! 05/11/2004
> (defmvar |$%i| '|$%I|
>   "%i = %I until maxima's case behavior is fixed.")
> ;;; jfa: end case-sensitivity hack

Thanks,
Jim