diff options
author | mertz | 2001-09-05 13:02:03 +0000 |
---|---|---|
committer | mertz | 2001-09-05 13:02:03 +0000 |
commit | b3c6058710594d2f40c185608eff0cd05e55a749 (patch) | |
tree | a66c6d08b08409d5650dfda1e647798b2ce73bce | |
parent | 1e1bd58e5c679910ad8f73a1e9fcad3d14eb89ef (diff) | |
download | ivy-perl-b3c6058710594d2f40c185608eff0cd05e55a749.zip ivy-perl-b3c6058710594d2f40c185608eff0cd05e55a749.tar.gz ivy-perl-b3c6058710594d2f40c185608eff0cd05e55a749.tar.bz2 ivy-perl-b3c6058710594d2f40c185608eff0cd05e55a749.tar.xz |
amélioration du man
-rwxr-xr-x | example/ivyprobe.pl | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/example/ivyprobe.pl b/example/ivyprobe.pl index bb25a14..12f1520 100755 --- a/example/ivyprobe.pl +++ b/example/ivyprobe.pl @@ -27,6 +27,7 @@ use Getopt::Long; use Term::ReadLine; use Tk; +my $appliname = "IVYPROBE.PL"; my $bus; # for each application gives the number of running instances @@ -39,16 +40,16 @@ my %where_applications; if (defined $bus) { Ivy->init (-ivyBus => $bus, - -appName => "IVYPROBE.PL", + -appName => $appliname, # -loopMode => 'TK', -loopMode => 'LOCAL', - -messWhenReady => 'IVYPROBE READY', + -messWhenReady => "$appliname READY", ); } else { - Ivy->init (-appName => "IVYPROBE.PL", + Ivy->init (-appName => $appliname", # -loopMode => 'TK', -loopMode => 'LOCAL', - -messWhenReady => 'IVYPROBE READY', + -messWhenReady => "$appliname READY", ); } @@ -248,11 +249,11 @@ ivyprobe.pl - simple application to test ivy, to test other ivy-application or t =head1 SYNOPSIS -ivyprobe.pl [-h] [-b <network>:<port> ] ['regexp']* +B<ivyprobe.pl> [-h] [-b <network>:<port> ] ['regexp']* =head1 DESCRIPTION -B<ivyprobe> connects to the bus and offers a simple text interface to receive and send messages, and to subscribe to messages. It is very similar to the C version named ivyprobe. +B<ivyprobe.pl> connects to the bus and offers a simple text interface to receive and send messages, and to subscribe to messages. It is very similar to the C version named ivyprobe. If regexps are given as parameters it subscribes to theses regexp. @@ -262,39 +263,39 @@ The user can input the following commands: =over -=item .h[elp] +=item B<.h[elp]> to get the list of available commands and short explanations -=item .q[uit] +=item B<.q[uit]> to terminate the application. -=item .b[ind] regexp +=item B<.b[ind] regexp> to add a subscription to messages matching the regexp. -=item .die appname +=item B<.die appname> to send a die msg to appname. This application will stop. -=item .db[ind] id +=item B<.db[ind] id> to add a direct msg of type id to receive -=item .d[irect] appname id string +=item B<.d[irect] appname id string> to send a direct msg to appname. The message type is indicated by id -=item .where appname +=item B<.where appname> To get the host on which appname is/are running -=item .who +=item B<.who> to get the list of all connected applications -=item .h[elp] +=item B<.h[elp]> to get the list of available commands and short explanations @@ -317,8 +318,6 @@ Christophe Mertz <mertz@cena.fr> =head1 COPYRIGHT -CENA (C) 2000 - -=head1 HISTORY +CENA (C) 2000-2001 =cut |