--- loncom/homework/lonmaxima.pm	2008/06/14 16:34:54	1.23
+++ loncom/homework/lonmaxima.pm	2008/09/24 18:01:07	1.26
@@ -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.26 2008/09/24 18:01:07 riegler Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,11 +60,13 @@ sub maximareply {
 
 sub blacklisted {
     my ($cmd)=@_;
-    foreach my $forbidden ('save','load','plot','lisp','includ','compil',
-			   'file','batch','stringout','translat','stout',
-			   'stin','block','system','concat','read','inchar',
-			   'outchar','ttyoff','with_stdout','writefile',
-			   'reset') {
+    foreach my $forbidden (
+        '\? ','\?','%o','batch','block'
+       ,'compil','concat','describe','display2d','file','inchar'
+       ,'includ','lisp','load','outchar','plot','quit'
+       ,'read','reset','save','stin','stout','stringout'
+       ,'system','translat','ttyoff','with_stdout','writefile'
+     ) {
 	if ($cmd=~/$forbidden/s) { return 1; }
     } 
     return 0;