Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mscgen(1) [debian man page]

MSCGEN(1)							   User Commands							 MSCGEN(1)

NAME
mscgen - Message Sequence Chart Renderer SYNOPSIS
mscgen -T type [ -o file ] [ -i ] infile mscgen -l DESCRIPTION
Mscgen is a small program that parses Message Sequence Chart descriptions and produces PNG, EPS, SVG or server side image maps (ismaps) as the output. Message Sequence Charts (MSCs) are a way of representing entities and interactions over some time period and are often used in combination with SDL. MSCs are popular in Telecoms to specify how protocols operate although MSCs need not be complicated to create or use. Mscgen aims to provide a simple text language that is clear to create, edit and understand, which can also be transformed into images. OPTIONS
-T type Specifies the output file type, which maybe one of 'png', 'eps', 'svg' or 'ismap' -i infile The file from which to read input. If omitted or specified as '-', input will be read from stdin. The '-i' option maybe omitted if <infile> is specified as the last option. -o file Write output to the named file. This option must be specified if input is taken from stdin, otherwise the output filename defaults to <infile>.<type>. -F font Use specified font for rendering PNG output. This is only supported if mscgen was built with USE_FREETYPE and is ignored otherwise. -p Display the parsed msc as text to stdout. This is useful only for checking the parser. -l Display program licence and exit. EXAMPLE
The language interpreted by mscgen is similar to that of Graphviz dot, using simple text instructions to add entities and then message arcs. The following example shows the input for a simple message sequence chart. # MSC for some fictional process msc { a,b,c; a->b [ label = "ab()" ] ; b->c [ label = "bc(TRUE)"]; c=>c [ label = "process(1)" ]; c=>c [ label = "process(2)" ]; ...; c=>c [ label = "process(n)" ]; c=>c [ label = "process(END)" ]; a<<=c [ label = "callback()"]; --- [ label = "If more to run", ID="*" ]; a->a [ label = "next()"]; a->c [ label = "ac1() ac2()"]; b<-c [ label = "cb(TRUE)"]; b->b [ label = "stalled(...)"]; a<-b [ label = "ab() = FALSE"]; } More information on the input can be found at http://www.mcternan.co.uk/mscgen/. COPYRIGHT
Mscgen, Copyright (C) 2010 Michael C McTernan, Michael.McTernan.2001@cs.bris.ac.uk This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. PNG rendering by libgd, www.libgd.org. SEE ALSO
http://www.mcternan.co.uk/mscgen/ mscgen-0.20 2011-03-05 MSCGEN(1)

Check Out this Related Man Page

getvol(1M)						  System Administration Commands						getvol(1M)

NAME
getvol - verifies device accessibility SYNOPSIS
/usr/bin/getvol -n [-l label] device /usr/bin/getvol [-f | -F] [-ow] [-l label | -x label] device DESCRIPTION
getvol verifies that the specified device is accessible and that a volume of the appropriate medium has been inserted. The command is interactive and displays instructional prompts, describes errors, and shows required label information. OPTIONS
The following options are supported: -n Runs the command in non-interactive mode. The volume is assumed to be inserted upon command invocation. -l label Specifies that the label label must exist on the inserted volume (can be overridden by the -o option). -f Formats the volume after insertion, using the format command defined for this device in the device table. -F Formats the volume after insertion and places a file system on the device. Also uses the format command defined for this device in the device table. -o Allows the administrator to override a label check. -w Allows administrator to write a new label on the device. User is prompted to supply the label text. This option is ineffec- tive if the -n option is enabled. -x label Specifies that the label label must exist on the device. This option should be used in place of the -l option when the label can only be verified by visual means. Use of the option causes a message to be displayed asking the administrator to visually verify that the label is indeed label. OPERANDS
The following operands are supported: device Specifies the device to be verified for accessibility. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 Command syntax was incorrect, invalid option was used, or an internal error occurred. 3 Device table could not be opened for reading. FILES
/etc/device.tab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) NOTES
This command uses the device table to determine the characteristics of the device when performing the volume label checking. SunOS 5.10 5 Jul 1990 getvol(1M)
Man Page