NetBSD/games/worms/worms.6

71 lines
2.6 KiB
Groff

.\" Copyright (c) 1989 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
.\" 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 University of
.\" California, Berkeley and its contributors.
.\" 4. 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.
.\"
.\" 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.
.\"
.\" from: @(#)worms.6 6.4 (Berkeley) 6/23/90
.\" $Id: worms.6,v 1.4 1995/01/31 15:54:01 jtc Exp $
.\"
.Dd June 23, 1990
.Dt WORMS 6
.Os
.Sh NAME
.Nm worms
.Nd animate worms on a display terminal
.Sh SYNOPSIS
.Nm worms
.Op Fl ft
.Op Fl l Ar #
.Op Fl n Ar #
.Sh DESCRIPTION
Brian Horn (cithep!bdh) showed me a
.Tn TOPS-20
program on the DEC-2136 machine called
.Nm WORM ,
and suggested that I write a similar program that would run under
.Ux .
I did, and no apologies.
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl f
makes a ``field'' for the worm(s) to eat.
.It Fl t
causes each worm to leave a trail behind it.
.It Fl n Ar #
start # worms.
.It Fl l Ar #
worms are # chars long.
.El
.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.