[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm
riegler
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 14 Aug 2007 21:54:54 -0000
riegler Tue Aug 14 17:54:54 2007 EDT
Modified files:
/loncom/homework lonmaxima.pm
Log:
put reset on blacklist
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.20 loncom/homework/lonmaxima.pm:1.21
--- loncom/homework/lonmaxima.pm:1.20 Mon Aug 13 06:21:46 2007
+++ loncom/homework/lonmaxima.pm Tue Aug 14 17:54:54 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Interface routines to MAXIMA CAS
#
-# $Id: lonmaxima.pm,v 1.20 2007/08/13 10:21:46 riegler Exp $
+# $Id: lonmaxima.pm,v 1.21 2007/08/14 21:54:54 riegler Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -63,7 +63,8 @@
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') {
+ 'outchar','ttyoff','with_stdout','writefile',
+ 'reset') {
if ($cmd=~/$forbidden/s) { return 1; }
}
return 0;