File: nam.1

package info (click to toggle)
nam 1.15-3.1~deb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 29,092 kB
  • ctags: 2,746
  • sloc: cpp: 17,338; tcl: 10,655; sh: 2,997; ansic: 1,252; makefile: 139; perl: 66
file content (590 lines) | stat: -rw-r--r-- 23,537 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
.\"
.\" @(#) $Header: /cvsroot/nsnam/nam-1/nam.1,v 1.12 1998/02/24 02:23:55 haoboy Exp $ (LBL)
.\"
.\" Copyright (c) 1991,1993 Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the Computer Systems
.\"	Engineering Group at Lawrence Berkeley Laboratory.
.\" 4. Neither the name of the University nor of the Laboratory may be used
.\"    to endorse or promote products derived from this software without
.\"    specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.TH NAM 1  "04 Nov 1997"
.SH NAME
nam \- VINT/LBL Network Animator
.SH SYNOPSIS
.na
.B nam
[
.B \-g
.I geometry
] [
.B \-t
.I graphInput
][
.B \-i
.I interval
] [
.B \-P
.I peerName
] [
.B \-N
.I appName
] [
.B \-c
.I cacheSize
] [
.B \-f
.I configfile
] [
.B \-S
]
.I tracefile
.br
.ad
.SH DESCRIPTION
.LP
\fINam\fP is a Tcl/TK based animation tool for viewing
network simulation traces and real world packet trace data.
.LP
The first step to use nam is to produce the trace file.
The trace file should contain topology information, e.g., nodes, links,
as well as packet traces. The detailed format is described in the TRACE FILE
section. Usually, the trace file is generated 
by \fIns(1)\fP. During an ns simulation, 
user can produce topology configurations, layout information, and packet 
traces using tracing events in ns. Refer to \fIns(1)\fP for detailed 
information. 
.LP
When the trace file is generated, it is ready to be animated by nam. 
Upon startup, nam will read the trace file, create topology, pop up a 
window, do layout if necessary, then pause at the time of the first 
packet in the trace file. Through 
its user interface, nam provides control over many aspects of animation. These
functionalities will be described in detail in the USER INTERFACE section.
.LP
This version of nam is highly experimental - there will be bugs!. Please mail 
ns-developers@mash.cs.berkeley.edu if you encounter any bugs, or with 
suggestions for desired functionality.
.SH OPTIONS
.TP
.B \-g
Specify geometry of the window upon startup. The format is described in 
\fIX(1)\f.
.TP
.B \-t
[Information incomplete]
Instruct nam to use tkgraph, and specify input file nam for tkgraph.
.TP
.B \-i
[Information for this option may not be accurate]
Specify \fIrate\fP (real) milliseconds as the screen update rate.  The default
rate is 50ms (i.e., 20 frames per second).  Note that the X server may
not be able to keep up with this rate, in which case the animation will
run as fast as the X server allows it to (at 100% cpu utilization).
.TP
.B \-N
Specify the application name of this nam instance. This application name may 
later be used in peer synchronization.
.TP
.B \-P
Specify the application name of the peer nam instance whose execution
will be synchronized with the execution of this nam instance. Refer to the 
above option (-N) as how to specify application names.
.br
General usage is: (1) starting the first nam instance (slave) by: 
.br
\fInam -N <name #1> <trace file name #1>\fP
.br
Then start the second nam instance (which will be the master): 
.br
\fInam -N <name #2> <trace file name #2>\fP
.br
Then every animation control (play, stop, backward, but \fIexclude\fP 
other inspection and interactive operations such as monitoring) will be 
synchronized between the two instances.
.br
Please note that because this mechanism uses Tcl's send command, it requires 
that your X server used xauth as authentication. Specifically, you should add
option `-auth <authorization file name>' when you starts your X server. 
Without this option, X will use xhost as authentication, which is too weak and
considered insecure. Refer to man page of Xsecurity, xauth and Xserver for 
details, and the available authentication protocols.
.TP
.B \-c
[Information incomplete]
The maximum size of the cache used to store 'active' objects when doing 
backward animation. 
.TP
.B \-f
Name of the initialization files to be loaded during startup. In this 
file, user can define functions which will be called in the trace file. An 
example for this is the 'link-up' and 'link-down' events of dynamic links 
in ns. (Refer to \fB$ns rtmodel\fP for detail, and tcl/ex/simple-dyn.tcl 
in your ns directory for example). Example initialization files can be found 
at ex/sample.nam.tcl and ex/dynamic-nam.conf.
.TP
.B \-S
Enable synchronous X behavior so it is easier for graphics debugging. For UNIX
system running X only. 
.LP
.I tracefile
is the name of the file containing the trace data to be animated
(format described in TRACE FILE section below).  If
.I tracefile
cannot be read,
.B nam
will try to open
.IR tracefile .nam.
.LP
.\"
.\" OBJECTS SECTION
.\"
.SH "OBJECTS IN NAM"
nam does animation using the following building blocks: node, link, queue,
packet, agent, monitor. They are defined below:
.IP \fInode\fP
Nodes are created from 'n' trace event in trace file. It represents a 
source/host/router, etc. nam will terminate if 
there are duplicate definition for the same node. Node may have many shapes, 
(circle, square, and hexagon), but once created it cannot change its shape. 
Node may also have many colors, it can change its color during animation. 
Refer to \fIns(1)\fP for related tracing events.
.IP \fIlink\fP
Links are created between nodes to form a network topology. nam links are 
internally simplex, but it is invisible to the users. The trace event 'l' 
creates two simplex links and other necessary setups, hence it looks 
to users identical to a duplex link. Link may have many colors, it can change 
its color during animation. 
Refer to \fIns(1)\fP for related tracing events.
.IP \fIqueue\fP
Queue needs to be constructed in nam between two nodes. Unlike link, nam queue 
is associated to a \fIsimplex\fP link. The trace event 'q' only creates a 
queue for a simplex link. In nam, queues are visualized as stacked packets. 
Packets are stacked along a line, the angle between the line and the horizontal
line can be specified in the trace event 'q'.
.IP \fIpacket\fP
Packet is visualized as a block with an arrow. The direction of the arrow shows
the flow direction of the packet. Queued packets are shown as little squares. 
A packet may be dropped from a queue or a link. Dropped packets are shown as 
rotating squares, and disappear at the end of the screen. Dropped packets are 
not visible during backward animation.
.IP \fIagent\fP
Agents are used to separate protocol states from nodes. They are always 
associated with nodes. An agent has a name, which is a 
\fIunique\fP identifier of th agent. It is shown as a square with its name 
inside, and a line link the square to its associated node.
.\"
.\" Automatic Layout Section
.\"
.SH "AUTOMATIC LAYOUT"
In nam, a topology is specified by alternating node objects with edge objects.
But to display the topology in a comprehensible way, a layout mechanism is 
needed. Currently nam provides two layout methods.

First, user may specify edges' orientations. An edge orientation is the angle 
between the edge and the horizontal line, in the interval [0, 2*pi). During 
layout, nam will honor the given edge orientations. Generally, it will first 
choose a reference node, then place other nodes using edge orientation and edge
length, which is determined by link delay. This works well for small and 
manually generated topologies.

Second, when we are dealing with randomly generated topologies, be it small or
large, we may want to do layout automatically. An automatic graph layout 
algorithm ([1] [2]) is adapted and implemented. The basic idea of 
the algorithm is to model the graph as balls (nodes) connected by springs 
(edges). Balls will repulse each other, while springs pull them together. 
This system will (hopefully) converge after some iterations. In practice, 
after a small number of iterations (tens or hundreds), most graphs will 
converge to a visually comprehensible structure.

There are 3 parameters to tune the automatic layout process:
.IP Ca
Attractive force constant, which controls springs's force between balls. 
Default value is 0.15
.IP Cr
Repulsive force constant, which controls the repulsive force between balls.
Default value is 0.15
.IP "Number of iterations"
Self explained. Default value is 10.

For small topologies with tens of nodes, using the default parameters 
(perhaps with 20 to 30 more iterations) will suffice to produce a nice layout.
But for larger topology, careful parameter tuning is necessary. Following is 
a empirical method to layout a 100 node random transit stub topology generated 
by Georgia Tech's ITM internet topology modeler. First,  set 
Ca_ and Cr_ to 0.2, do about 30 iterations, then set Cr_ to 1.0, Ca_ to 
about 0.01, then do about 10 iterations, then set Ca_ to 0.5, Cr_ to 1.0, 
do about 6 iterations.
.\"
.\" USER INTERFACE SECTION
.\"
.SH "THE USER INTERFACE"
The top of the
.B nam
.\" MENU BAR
\fInam\fP window is a
.I menu bar.
Two pulldown menus are on the left of the menu bar. The 'File' menu currently 
only contains a 'Quit' button. It has a 'Open...' button as well, but that 
is not implemented yet. The 'View' menu has 4 buttons:
.IP \-
New view button: Creates a new view of the same animation. User can scroll 
and zoom on the new view. All views will be animated synchronously.
.IP \-
Show monitors checkbox: If checked, will show a pane at the lower half of 
window, where monitors will be displayed.
.IP \-
Show autolayout checkbox: If checked, will show a pane at the lower half of 
window, which contains input boxes and a button for automatic layout adjusts.
This box may not always be enabled. When a trace file has its own layout 
specifications, this box will be disabled. If and only if the trace file does 
not have complete layout specification (i.e., each link has orientation 
specified in the traces), will this box be enabled.
.IP \-
Show annotation checkbox: If checked, will show a listbox at the lower half of
window, which will be used to list annotations in the ascending order of time.

The 'Help' menu is on the right side of the menu bar. It has two buttons. 
Clicking the 'Help' button will pop up a new window showing information on nam
usage. Clicking the 'About' button will pop up a new window showing history 
and status of nam.
.IP "Acceleration Keys"
ALT+'f' will pull down the 'File' menu. ALT+'v' will pull down the 'Open...' 
menu. ESC will abort a menu selection in progress. 

.\" CONTROL BAR 1
Below the menu bar, there is a \fIcontrol bar\fP 
containing 6 buttons, a label, and 
a small scrollbar (scale). They can be clicked in any order. 
We will explain them from left to right.
.IP "Button 1 (<<)"
Rewind. When clicked, animation time will go back at the rate of 25 times 
the current screen update rate.
.IP "Button 2 (<)"
Backward play. When clicked, animation will be played backward in time.
.IP "Button 3 (square)"
Stop. When clicked, animation will pause.
.IP "Button 4 (>)"
Forward play. When clicked, animation will be played in time ascending order.
.IP "Button 5 (>>)"
Fast Forward. When clicked, animation time will 
go forward at the rate of 25 times the current screen update rate.
.IP "Button 6 (Chevron logo)"
Quit.
.IP "Time label"
Show the current animation time (i.e., simulation time as in the trace file).
.IP "Rate slider"
Controls the screen update rate (animation granularity). The current rate 
is displayed in the label above the slider.
.LP
.\" MAIN DISPLAY
Below the first control bar, there is \fIMain Display\fP, which contains 
a tool bar and a main view pane with two 
panning scroll bars. All new views created by menu button 'File/new view' will 
have these three components.
.br
The tool bar contains two zoom buttons. The button with an up arrow zooms in, 
the button with a down arrrow zooms out. The two scroll bars are used to pan 
the main animation view.
.br
Clicking the left button on any of the objects in the main view pane will 
pop up a information window at the clicking point. For packet and agent 
objects, there is a 'monitor' button in the popup window. Clicking that button 
will bring out the monitor pane (if it is not there), and add a monitor to the 
object. For link object, there will be a 'Graph' button. Clink that button 
will bring out another popup window, where user can select drawing bandwidth 
utilization graph or link loss graph of one of the two simplex links of the 
duplex link clicked on. These functionalities are also available in the 
views created by 'File/new view'. \fBNOTE\fP: These functionalities are 
\fIHIGHLY EXPERIMENTAL AND UNSTABLE\fP in this release (v1.0a2).

.\" MONITOR PANE
Below the gadgets we have discussed so far, there may or may not be a 
\fIMonitor pane\fP, 
depending on whether the checkbox 'View/show monitors' is set. (The 
default is unset). All monitors will be shown in this pane. A monitor 
looks like a big button in the pane. Currently only packet and agent may have 
monitor. 
.br
A packet monitor shows the size, id, and sent time. When the 
packet reaches its destination, the monitor will still be there, but saying 
the packet is invisible. 
.br
A agent monitor shows the name of the agent, and if there are any variable 
traces associated with this agent, they will be shown there as well.

.\" TIME SLIDER
Below the monitor pane (or in its place if the monitor pane isn't there), 
there is a \fITime Slider\fP. 
It looks like a scaled rule, with a tag 'TIME' which 
can be dragged along the rule. It is used to set the current animation time. 
As you drag the 'TIME' tag, current animation time will be displayed in the 
time label in the control bar above. The left edge of the
slider represents the earliest event time in the trace file and the
right edge represents the last event time.
.br
Clicking left button on the rule (not the tag) has the same effect as Rewind
or Fast Forward, depending on the clicking position.

.\" AUTOMATIC LAYOUT PANE
The \fIAutomatic Layout Pane\fP can be visible or hidden. If visible, it 
is below the time slider. 
It has three input boxes and one relayout button. The labeled 
input boxes let user adjust two automatic layout constants, and the number 
of iterations during next layout. When user press ENTER in any of the 
input boxes, or click the 'relayout' button, that number of iterations will be 
performed. Refer to the AUTOMATIC LAYOUT section for details of usage.

.\" ANNOTATION LISTBOX
The bottom component of the nam window is a \fIAnnotation Listbox\fP, 
where annotations are 
displayed. An annotation is a (time, string) pair, which describes a event 
occuring at that time. Refer to \fIns(1)\fP for functions to generate 
annotations. Double-click on an annotation in the listbox will bring nam 
to the time when that annotation is recorded.
.br
When pointer is within the listbox, clicking right button will stop animation
and bring up a 
popup menu with 3 options: Add, Delete, Info. `Add' will bring up a dialog box
with a text input and add a new annotation
entry which has the current animation time. User can type annotation string 
in the dialog box. `Delete' will delete the annotation entry pointed by 
the pointer. `Info' will bring out a pane which shows both the annotation time
and the annotation string.
.\"
.SH "KEYBOARD COMMANDS"
[Incompelete, but accurate]
Most of the buttons have keyboard equivalents. Note they only function when 
mouse cursor is inside the nam window.
.br
Typing a space or return will pause nam if it's not already paused.
If nam is paused, space or return will step the animation one simulated
clock tick.  (If your keyboard autorepeats, holding down space is a
good way to slow-step through some part of the animation.)
.br
.IP "`p' or `P'"
Pause but not step if paused.
.IP "`c' or `C'"
Continue after a pause.
.IP "`b' or `B'"
Descrease animation time for one screen update interval.
.IP "`r' or `R'"
Rewind.
.IP "`f' or `F'"
Fast Forward.
.IP "`n' or `N'"
Move to next event.
.IP "`x' or `X'"
Undo the last rate change
.IP "`u' or `U'"
Undo the last time slider dragging.
.IP "`>' or `.'"
Increase the granularity (speed up) by 5%.
.IP "`<' or `,'"
Decrease the granularity (slow down) by 5%.
.IP SPACE
Toggle the pause state of nam.
.IP "`q', `Q' or Control-c"
Quit
.\"
.\" TRACE FILE FORMAT SECTION
.\"
.SH "RECORDING ANIMATIONS"
To record nam animations, select the ``Record Animation'' option
under the file menu.  A series of namXXX.xwd files will be produced
(where XXX is the frame number),
one per time-step.
These files can then be assembled into animated GIFs or MPEGs
with the appropriate post-processing tools.
.\"
.\" TRACE FILE FORMAT SECTION
.\"
.SH "TRACE FILE FORMAT"
The trace file events can be divided into 6 types, depending on to which 
object the event is associated. Below, we discuss them in detail.
.IP Packet
Basic packet events are a type character, followed by some tags:

        <type> -t <time> -e <extent> -s <src_addr> -d <dst_addr> -c <conv> -i <id>

<type> is one of:

`h' - Hop. The packet started to be transmitted on the link from src_addr to 
dst_addr
.br
`r' - Receive. The packet finished transmission and started to be received at 
the destination.
.br
`d' - Drop. The packet was dropped from queue or link from src_addr to 
dst_addr.
.br
`+' - Enter queue. The packet entered the queue from src_addr to dst_addr.
.br
`-' - Leave queue. The packet left the queue from src_addr to dst_addr.

Drop here doesn't distinguish between dropping from queue or link. This is 
decided by the drop time.

The flags have the following meanings:

-t <time> is the time the event occurred.
.br
-e <extent> is the size (in bytes) of the packet.
.br
-s <src> is the originating node. 
.br
-d <dst> is the destination node.
.br
-c <conv> is the conversation id.
.br
-i <id> is the packet id in the conversation.
.br
-a <attr> is the packet attribute, which is currently used as color id.

Additional flags may be added for some protocols. This list may be extended as 
required:

-P <pkt_type> gives an ASCII string specifying a comma separated list of 
packet types. Some values are: TCP - a tcp data packet. ACK - generic 
acknowledgement. NACK - generic negative acknowledgement. 
SRM - SRM data packet.
.br
-n <sequence number> gives the packet sequence number.

.IP "Link/Queue State"

l -t <time> -s <src> -d <dst> -S <state> [-c <color>] [-r <bw> -D <delay>]
.br
q -t <time> -s <src> -d <dst> -a <attr>

<state> gives the link state transition. It has 3 possible values: UP and 
DOWN marks link failure and recovery, COLOR marks link color change. If 
COLOR is given, a following -c <color> is expected which gives the new color
value.
In link event, [-r <bw> -D<delay>] gives link bandwidth and delay, 
respectively. It is only used when nam creates the link, i.e., loading the 
trace file.
.br
<attr> specifies the queue position, i.e., the angle between the link along 
which queued packets are displayed and the horizontal line.

.IP "Node State"

n -t <time> -s <src> -S <state> [-c <color>] [-o <color>] [-A <labels>]

Flags `-t', `-S' and `-c' have the same meaning as those in Link. Flag 
`-A' is used to add a arbitrary string to the label of the node. It can 
be used to display explainations of a node's state. Flag `-o' is used in 
backtracing to restore old colors of a node.

.IP "Node Mark"

Node marks are colored circles around nodes. They are created by:

m -t <time> -n <mark name> -s <node> -c <color> -h <shape> [-o <color>]

and can be deleted by:

m -t <time> -n <mark name> -s <node> -X

Note that once created, a node mark cannot change its shape. The possible
choices for shapes are, circle, square, and hexagon. They are defined as 
lower-case strings exactly as above. 

.IP "Protocol State"

Agents can be constructed by:

a -t <time> -n <agent name> -s <src> -d <dst>

They can be destructed by:

a -t <time> -n <agent name> -s <src> -d <dst> -X

To visualize protocol state variables associated with an agent, we use the 
name `feature'. Currently we allow three types of features: \fItimers\fP, 
\fIlists\fP and simple \fIvariables\fP. But only the last one is implemented 
in \fIns(1)\fP tracing APIs.

Features may be added or modified at any time after agent creation using:

f -t <time> -a <agent name> -T <type> -n <var name> -v <value> -o <prev value>

<type> is `l' for a list, `v' for a simple variable, `s' for a stopped timer,
`u' for an up-counting timer, `d' for a down-counting timer.
.br
-v <value> gives the new value of the variable. \fIVariable\fP values are 
simple ASCII strings obeying the TCL string quoting conventions. \fIList\fP 
values obey the TCL list conventions. \fITimer\fP values are ASCII numeric 
values.
.br
-o <prev value> gives the previous value of the variable. This is to allow 
backward play of animation. 

Features may be deleted using:

f -t <time> -a <agent name> -n <var name> -o <prev value> -X

.IP Misc
v -t <time> \fITCL script string\fP

is used for annotation, it may includes an arbitrary tcl script to be 
executed at a given time, as long as the script is in one line (no more than 
256 characters). The order of flag and the string is important.

c -t <time> -i <color id> -n <color name>

defines a color. The color name should be one of the names listed in color 
database in X11 (/usr/X11/lib/rgb.txt). After this definition, the color 
can be referenced using its id.
.SH EXAMPLES
.SH FILES
/usr/lib/X11/rgb.txt
.SH "SEE ALSO"

tcpdump(1)
.LP
.IP \fB[1]\fP
Fruchterman, T.M.J. and Reingold, E.M.,
Graph Drawing by Force-directed Placement,
Software - Practice and Experience, vol. 21(11), 1129-1164, (November 1991).
.IP \fB[2]\fP
Amir, E.,
Carta: A Network Topology Presentation Tool,
Project Report, EECS Dept., UC Berkeley, 1993.
http://http.cs.berkeley.edu/~elan/mbone.html
.LP
Mailing lists for nam users and announcements are the same as those for ns 
users. Send email to ns-users-request@mash.cs.berkeley.edu 
or ns-announce-request@mash.cs.berkeley.edu 
to join.
Questions should be forwarded to ns-users@mash.cs.berkeley.edu,
ns-announce will be low-traffic announcements only.

.SH BUGS

This manual page is incomplete.