Changeset 14430 for misc/runpugs/bin
- Timestamp:
- 10/22/06 01:36:47 (2 years ago)
- Files:
-
- 1 modified
-
misc/runpugs/bin/termdispatcher2.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
misc/runpugs/bin/termdispatcher2.pl
r14366 r14430 14 14 my $cmd=$ARGV[1] || 'my $a='.$id.';say "Hello, $a";'; 15 15 #my $cmd='my $a='.$id.';say "Hello, $a";'; 16 my $prompt='pugs> '; 16 #my $prompt='pugs> '; 17 my $prompt='Prelude> '; 17 18 print "Sending msg $id: $cmd\n"; 18 19 my $ip="127.0.0.1"; 19 my $reply= &Web::Terminal::Dispatcher::send($id,$ip,$prompt.$cmd);20 (my $reply,my $histref) = &Web::Terminal::Dispatcher::send($id,$ip,$prompt.$cmd); 20 21 print $reply; 22 print "\nHistory\n"; 23 for my $entry (@{$histref}) { 24 print "\t$entry\n"; 25 } 21 26
