Diff for /loncom/lonmaxima between versions 1.37 and 1.40

version 1.37, 2008/02/14 14:09:43 version 1.40, 2009/04/17 00:12:14
Line 275  sub make_new_child { Line 275  sub make_new_child {
             &status('Accepting connections');              &status('Accepting connections');
             my $client = $server->accept()     or last;              my $client = $server->accept()     or last;
             &sync($command);              &sync($command);
             print $command ("display2d:false;kill(all);\n");              print $command ("display2d:false;simp:true;kill(all);\n");
     &getmaximaoutput($command,2);      &getmaximaoutput($command,2);
             &sync($command);              &sync($command);
             my $syntaxerr = 0;              my $syntaxerr = 0;
Line 356  sub getmaximaoutput { Line 356  sub getmaximaoutput {
     if ($error) {      if ($error) {
  return 'Error: '.$error;   return 'Error: '.$error;
     }      }
     $output =~ s/\r+//g; # Remove Windows-style linebreaks      $output =~ s/\r+//gs; # Remove Windows-style linebreaks
     my $foundoutput=0;      my $foundoutput=0;
     my $found_label=0;      my $found_label=0;
     my $realoutput='';      my $realoutput='';

Removed from v.1.37  
changed lines
  Added in v.1.40


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>