From a0ec86736e71c2c1604c5f76cfe8242ff4f6e8d3 Mon Sep 17 00:00:00 2001 From: sc Date: Mon, 7 Aug 2000 11:29:20 +0000 Subject: Documentation improvements --- doc/ivyprobe.1 | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 115 insertions(+), 9 deletions(-) (limited to 'doc/ivyprobe.1') diff --git a/doc/ivyprobe.1 b/doc/ivyprobe.1 index 0f7541f..9c79cf6 100644 --- a/doc/ivyprobe.1 +++ b/doc/ivyprobe.1 @@ -1,16 +1,122 @@ +.\" +.\" +.\" Ivy probe, an Ivy agent for monitoring exchanges on a bus +.\" +.\" Copyright 1998-2000 +.\" Centre d'Etudes de la Navigation Aerienne +.\" +.\" man page +.\" +.\" Authors: Stephane Chatty +.\" +.\" $Id$ +.\" +.\" Please refer to file version.h for the +.\" copyright notice regarding this software +.\" .TH IVYPROBE 1 1/29/99 .SH NAME -ivyprobe, simple program for probing connections on a given port number for ivy software bus +ivyprobe - an Ivy agent for monitoring exchanges on a bus + .SH SYNOPSIS -.B ivyprobe [options] [regexp...] +.B ivyprobe [-b bus] [regexps] + .SH DESCRIPTION -ivyprobe gives the list of applications connected to a given bus port number, receives messages subscribed to (regexp format), and sends messages on the bus. +.B +ivyprobe +connects to an Ivy bus and allows you to send and receive messages through a +text interface. This is mainly useful for testing and debugging Ivy applications. + + .SH OPTIONS +.TP 6 +.B -b bus +defines the Ivy bus to which to connect to. The syntax of bus addresses is +.I [network[,network]][:port], +where +.I port +is the UDP port used to broadcast the initial shakehand, and +.I network[,network] +is a set of network addresses on which information is +broadcast. Examples of bus adresses are 192.75:2000, :2001 or 192.75,192.76. +The default port is +.I 2010, +and the default network is +.I 127, +ie. loopback on the +local host. + .TP -.I "\-b PORT-NUMBER(1-32000)(not 2049)" -The default port number is 2010. +.B regexps +is a (possibly empty) list of regular expressions that define subscriptions. +.B ivyprobe +will subscribe to every of those regular expressions, +and print the contents (or more exactly the captured contents) of all matching +messages that will be emitted on the bus by other applications. Do not forget to +protect your regexps with quotes if you use brackets or the * sign, otherwise +your shell will interpret them. + +.SH EXAMPLES +.B ivyprobe '(.*)' +will print all messages exchanged on the bus, with their full contents. + +.B ivyprobe 'Hello (.*)' +will give you the end of all messages starting with +.I Hello. +For instance, if an application emits +.I Hello World, +.B ivyprobe +will print +.I World. + + +.SH LINE COMMANDS +.B ivyprobe +accepts instructions on its command line once launched: +.TP 6 +.I EOF (Ctrl-D) +will make +.B ivyprobe +quit. .TP -.I "\-domain NETWORK-ADDRESS" -The default network address is 127.255.255.255 -H SEE ALSO -.IR ivy-c (1) +.I All lines +that do not start with a dot will be interpreted as messages to be +broadcasted on the bus. +.TP +.I \.help +will print the list of possible commands. +.TP +.I \.quit +will make +.B ivyprobe +exit. +.TP +.I \.bind 'regexp' +will create a new subscription, that will add up to those +passed at launch time. +.TP +.I \.who +will list all applcations present on the bus. +.TP +.I \.die appname +will ask application +.I appname +to quit, if present on the bus. +.TP +.I \.direct appname id 'msg' +will send a direct message to +.I appname, +if present on the bus. +.TP +.I \.where appname +will tell you on what host is +.I appname, +if present on the bus. + + +.SH BUGS +.B ivyprobe has no prompt for its command line. + +.SH SEE ALSO +.PP +Ivy (1) -- cgit v1.1