Confirm bug in entermatrix?



Bill [10/07/03 19:23 -0400]:
> Hmmm...
> 
> I tried the following:
> 
> (C1) entermatrix(3,3);   ##At this point maxima appeared to hang, with
> nothing showing below this line.
> 
> Is the matrix  1. Diagonal  2. Symmetric  3. Antisymmetric  4. General  ##As
> soon as I hit Ctrl-g, from this line thru the error message appeared.
> Answer 1, 2, 3 or 4 :
> Error: Console interrupt.
> Fast links are on: do (si::use-fast-links nil) for debugging
> Error signalled by MREAD-RAW.
> Broken at SYSTEM:TERMINAL-INTERRUPT.  Type :H for Help.
> MAXIMA>>:r
> (C2) entermatrix(3,3);  ##same this occurred this time.  However, I tried
> entering the required arguments anyway...
> 1;   ##Diagonal matrix
> 1;   ##First diagonal element
> 1;   ##Second diagonal element
> 1;   ##Third diagonal element...for each of the last four entries, I had to
> hit enter twice
> Is the matrix  1. Diagonal  2. Symmetric  3. Antisymmetric  4. General   ##
> a double tap on enter caused this line and (D2) to appear
> Answer 1, 2, 3 or 4 : Row 1 Column 1:  Row 2 Column 2:  Row 3 Column 3:
> Matrix entered.
> 				  [ 1  0  0 ]
> 				  [	    ]
> (D2) 				  [ 0  1  0 ]
> 				  [	    ]
> 				  [ 0  0  1 ]
> (C3)
> 
> 
> So the function appears to work, but not nicely.
> 
> Bill

I reproduced this. When I came across the problem several days ago,
I also tried to type in 1; etc. anyway, but it did not occur to me
to hit enter twice. 

I got a different message when instead of Ctrl-G, I click on the
left mouse button - accidentally, I just wanted to close the maxima
browser, and I got:
  
	Is the matrix  1. Diagonal  2. Symmetric  3. Antisymmetric  4. General
	Answer 1, 2, 3 or 4 : Incorrect syntax: : is not a prefix operator
	\n:l
	  ^
		  (C5) Incorrect syntax: LINEL is not an infix operator
			  p-quiet (setq linel
				                    ^
			(C5) Incorrect
					syntax: Too many )'s
			    115)
					 ^
			 (C5)
																																		 
 - More precisely, I typed (c5) entermatrix(3,3); <enter>
   and as maxima appeared to hang, I then clicked on the "Options"
	 menu button.
	 
	 As I mentioned above, I came across this problem several days
	 ago, but I did not report the bug because I found several
	 articles/posts (through Google) discussing the problem.
	 The problem seem to be related to Xmaxima; the plain Maxima works
	 fine for this command.
	 
Milan
P.S. I doubt that this is operating system related (just a guess). I
am using Linux - Slackware 9.0.


















> -----Original Message-----
> From: maxima-admin at math
> [mailto:maxima-admin@math.utexas.edu]On Behalf Of synthespian
> Sent: Thursday, July 10, 2003 11:41
> To: maxima@www.ma.utexas.edu
> Subject: Confirm bug in entermatrix?
> 
> 
> 
> Hello people --
> 
>   As I was moving my way up the long ascending path of knowledge, wisdom
> and logic, I could not but help noticing that the "entermatrix" command
> will not produce any visible results on my Maxima 5.9.0 (Windows).
>   I would be thrilled to know if this is a bug, or is it just me and Mr.
> Gates?
>   Even more amusing would be, if indeed there's a bug, if someone could
> kindly point out it's vicinity in the source code, so we could all
> become more enlightened. This would be great for learning Lisp and
> Computer Algebra.
> 
>   Thanks,
> 
>   Regs,
> 
>   Henry
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>