Changeset 14512 for misc/runpugs/bin

Show
Ignore:
Timestamp:
10/24/06 18:30:58 (2 years ago)
Author:
andara
Message:

[runpugs]
-now runs latest release by default, latest devel as option
-runpugs2: devel version, now with non-interactive sessions (not live yet)

Location:
misc/runpugs/bin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • misc/runpugs/bin/termdispatcher.pl

    r14225 r14512  
    1515print "Sending msg $id: $cmd\n"; 
    1616my $ip="127.0.0.1"; 
    17 my $reply = &WebTerminal::Dispatcher::send($id,$ip,$prompt.$cmd); 
     17my $dev=1; 
     18my $reply = &WebTerminal::Dispatcher::send($id,$ip,$dev,$prompt.$cmd); 
    1819print $reply; 
    1920 
  • misc/runpugs/bin/termdispatcher2.pl

    r14449 r14512  
    1212 
    1313my $id=$ARGV[0]||-1; 
    14 my $cmd=$ARGV[1] || 'my $a='.$id.';say "Hello, $a";'; 
     14my $cmd=$ARGV[1] || 'print "hello\n";say "there";print 4'; 
     15#my $cmd=$ARGV[1] || 'my $a='.$id.';'."\n".'say "Hello, $a";'."\n".'print 1;'; 
     16#my $cmd=$ARGV[1] || 'my $a='.$id.';'.'say "Hello, $a";'.'print 1;'; 
    1517#my $cmd='my $a='.$id.';say "Hello, $a";'; 
    1618#my $prompt='pugs> '; 
    17 my $prompt='Prelude> '; 
     19#my $prompt='Prelude> '; 
    1820print "Sending msg $id: $cmd\n"; 
    1921my $ip="127.0.0.1"; 
    20 (my $reply,my $prompt,my $histref) = &Web::Terminal::Dispatcher::send($id,$ip,$prompt.$cmd); 
     22(my $reply,my $prompt,my $histref) = 
     23&Web::Terminal::Dispatcher::send($id,$ip,0,0,$cmd); 
    2124print $reply; 
    2225print "\nHistory\n";