manual page distributed with 4.1BSD
[unix-history] / usr / src / games / worms / worms.6
CommitLineData
71f88c5b
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)worms.6 4.1 (Berkeley) %G%
6.\"
7.TH WORMS 6
8.UC 4
9.SH NAME
10worms \- animate worms on a display terminal
11.SH SYNOPSIS
12.B worms
13[
14.B -field
15] [
16.B -length
17# ] [
18.B -number
19# ] [
20.B -trail
21]
22.SH DESCRIPTION
23.ad b
24Brian Horn (cithep!bdh) showed me a
25.I TOPS-20
26program on the DEC-2136 machine called
27.IR WORM ,
28and suggested that I write a similar program that would run under
29.IR Unix .
30I did, and no apologies.
31.PP
32.B -field
33makes a "field" for the worm(s) to eat;
34.B -trail
35causes each worm to leave a trail behind it. You can figure
36out the rest by yourself.
37.SH FILES
38/etc/termcap
39.SH AUTHOR
40Eric P. Scott
41.SH SEE ALSO
42.IR Snails ,
43by Karl Heuer
44.SH DIAGNOSTICS
45Invalid length
46.br
47 Value not in range 2 <= length <= 1024
48.sp
49Invalid number of worms
50.br
51 Value not in range 1 <= number <= 40
52.sp
53TERM: parameter not set
54.br
55 The
56.B TERM
57environment variable is not defined. Do
58.sp
59 \fBTERM=\fRterminal type
60.br
61 \fBexport TERM\fR
62.sp
63Unknown terminal type
64.br
65 Your terminal type (as determined from the
66.B TERM
67environment variable) is not defined in
68.BR /etc/termcap .
69.sp
70Terminal not capable of cursor motion
71.br
72 Your terminal is too stupid to run this program.
73.sp
74Out of memory
75.br
76 This should never happen on a VAX.
77.SH BUGS
78The lower-right-hand character position will not be updated properly
79on a terminal that wraps at the right margin.
80.PP
81Terminal initialization is not performed.
82.PP
83There should be an option to have the worms eat
84.I Pink Floyd
85lyrics.