]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - worms/worms.6
Make man page and usage message agree with the code.
[bsdgames-darwin.git] / worms / worms.6
1 .\" Copyright (c) 1989 The Regents of the University of California.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\" from: @(#)worms.6 6.4 (Berkeley) 6/23/90
33 .\" $Id: worms.6,v 1.4 1995/01/31 15:54:01 jtc Exp $
34 .\"
35 .Dd June 23, 1990
36 .Dt WORMS 6
37 .Os
38 .Sh NAME
39 .Nm worms
40 .Nd animate worms on a display terminal
41 .Sh SYNOPSIS
42 .Nm worms
43 .Op Fl ft
44 .Op Fl l Ar #
45 .Op Fl n Ar #
46 .Sh DESCRIPTION
47 Brian Horn (cithep!bdh) showed me a
48 .Tn TOPS-20
49 program on the DEC-2136 machine called
50 .Nm WORM ,
51 and suggested that I write a similar program that would run under
52 .Ux .
53 I did, and no apologies.
54 .Pp
55 The options are as follows:
56 .Bl -tag -width indent
57 .It Fl f
58 makes a ``field'' for the worm(s) to eat.
59 .It Fl t
60 causes each worm to leave a trail behind it.
61 .It Fl n Ar #
62 start # worms.
63 .It Fl l Ar #
64 worms are # chars long.
65 .El
66 .Sh AUTHOR
67 Eric P. Scott
68 .Sh BUGS
69 The lower-right-hand character position will not be updated properly
70 on a terminal that wraps at the right margin.