[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 21 Aug 2008 11:11:31 -0000


bisitz		Thu Aug 21 07:11:31 2008 EDT

  Modified files:              
    /loncom/homework	lonmaxima.pm 
  Log:
  Extended blacklist:
  Added some commands to the not allowed maxima commands blacklist.
  These commands are not needed, don't make sense in a problem and confuse the system,
  e.g. display other values than expected, code ran too long error, etc.
  
  
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.23 loncom/homework/lonmaxima.pm:1.24
--- loncom/homework/lonmaxima.pm:1.23	Sat Jun 14 12:34:54 2008
+++ loncom/homework/lonmaxima.pm	Thu Aug 21 07:11:31 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.23 2008/06/14 16:34:54 www Exp $
+# $Id: lonmaxima.pm,v 1.24 2008/08/21 11:11:31 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -64,7 +64,7 @@
 			   'file','batch','stringout','translat','stout',
 			   'stin','block','system','concat','read','inchar',
 			   'outchar','ttyoff','with_stdout','writefile',
-			   'reset') {
+			   'reset','quit','\? ','\?','display2d','%i','%o','describe') {
 	if ($cmd=~/$forbidden/s) { return 1; }
     } 
     return 0;