--- loncom/homework/lonmaxima.pm 2008/08/21 11:11:31 1.24 +++ loncom/homework/lonmaxima.pm 2008/08/21 12:08:32 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Interface routines to MAXIMA CAS # -# $Id: lonmaxima.pm,v 1.24 2008/08/21 11:11:31 bisitz Exp $ +# $Id: lonmaxima.pm,v 1.25 2008/08/21 12:08:32 bisitz 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','quit','\? ','\?','display2d','%i','%o','describe') { + foreach my $forbidden ( + '\? ','\?','%i','%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;