Changeset 14512 for misc/runpugs/bin
- Timestamp:
- 10/24/06 18:30:58 (2 years ago)
- Location:
- misc/runpugs/bin
- Files:
-
- 2 modified
-
termdispatcher.pl (modified) (1 diff)
-
termdispatcher2.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
misc/runpugs/bin/termdispatcher.pl
r14225 r14512 15 15 print "Sending msg $id: $cmd\n"; 16 16 my $ip="127.0.0.1"; 17 my $reply = &WebTerminal::Dispatcher::send($id,$ip,$prompt.$cmd); 17 my $dev=1; 18 my $reply = &WebTerminal::Dispatcher::send($id,$ip,$dev,$prompt.$cmd); 18 19 print $reply; 19 20 -
misc/runpugs/bin/termdispatcher2.pl
r14449 r14512 12 12 13 13 my $id=$ARGV[0]||-1; 14 my $cmd=$ARGV[1] || 'my $a='.$id.';say "Hello, $a";'; 14 my $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;'; 15 17 #my $cmd='my $a='.$id.';say "Hello, $a";'; 16 18 #my $prompt='pugs> '; 17 my $prompt='Prelude> ';19 #my $prompt='Prelude> '; 18 20 print "Sending msg $id: $cmd\n"; 19 21 my $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); 21 24 print $reply; 22 25 print "\nHistory\n";
