--- loncom/lonmaxima 2006/05/10 02:12:17 1.19 +++ loncom/lonmaxima 2006/05/10 02:15:51 1.20 @@ -3,7 +3,7 @@ # The LearningOnline Network with CAPA # Connect to MAXIMA CAS # -# $Id: lonmaxima,v 1.19 2006/05/10 02:12:17 www Exp $ +# $Id: lonmaxima,v 1.20 2006/05/10 02:15:51 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -255,6 +255,7 @@ sub make_new_child { &status('Accepting connections'); my $client = $server->accept() or last; print $command "kill(all);reset();\n"; + &getmaximaoutput($command); &sync($command); while (my $cmd=<$client>) { &status('Processing command');