]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - worms/worms.6
Avoid common symbols. Use __dead.
[bsdgames-darwin.git] / worms / worms.6
index 45d258e570ff429763fc544cad1342d428ce751d..2ef966048bc8e0f9328df43197239e1a546a23a8 100644 (file)
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1989 The Regents of the University of California.
-.\" All rights reserved.
+.\"    $NetBSD: worms.6,v 1.16 2020/10/14 07:32:53 nia Exp $
+.\"
+.\" Copyright (c) 1989, 1993
+.\"    The 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
@@ -9,11 +11,7 @@
 .\" 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 University of
-.\"    California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
 .\"    may be used to endorse or promote products derived from this software
 .\"    without specific prior written permission.
 .\"
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"    @(#)worms.6     6.4 (Berkeley) 6/23/90
+.\"    @(#)worms.6     8.1 (Berkeley) 5/31/93
 .\"
-.UC 7
-.TH WORMS 6 "June 23, 1990"
-.UC 4
-.SH NAME
-worms  \-  animate worms on a display terminal
-.SH SYNOPSIS
-.B worms
-[
-.B \-ft
-] [
-.B \-length
-# ] [
-.B \-number
-# ]
-.SH DESCRIPTION
-.ad b
-Brian Horn (cithep!bdh) showed me a
-.I TOPS-20
-program on the DEC-2136 machine called
-.IR WORM ,
-and suggested that I write a similar program that would run under
-.IR Unix .
-I did, and no apologies.
-.PP
+.Dd October 14, 2020
+.Dt WORMS 6
+.Os
+.Sh NAME
+.Nm worms
+.Nd animate worms on a display terminal
+.Sh SYNOPSIS
+.Nm
+.Op Fl ft
+.Op Fl d Ar delay
+.Op Fl l Ar length
+.Op Fl n Ar number
+.Sh DESCRIPTION
+.Nm
+is a
+.Ux
+version of the DEC-2136 program
+.Dq worms .
+.Pp
 The options are as follows:
-.TP
-.I -f
-makes a ``field'' for the worm(s) to eat.
-.TP
-.I -t
-causes each worm to leave a trail behind it.
-.PP
-You can figure out the rest by yourself.
-.SH AUTHOR
-Eric P. Scott
-.SH BUGS
-The lower-right-hand character position will not be updated properly
-on a terminal that wraps at the right margin.
+.Bl -tag -width XlXlengthXX
+.It Fl d Ar delay
+Specifies
+.Ar delay
+as a delay, in milliseconds, between each update.
+This is useful for fast terminals.
+Reasonable values are around 20-200;
+the default is 20.
+.It Fl f
+Makes a
+.Dq field
+for the worm(s) to eat.
+.It Fl l Ar length
+Specifies
+.Ar length
+as a length for each worm; the default is 16.
+.It Fl n Ar number
+Specifies
+.Ar number
+as the number of worms; the default is 3.
+.It Fl t
+Makes each worm leave a trail behind it.
+.El