summaryrefslogtreecommitdiff
path: root/games/worms/worms.6
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-08 20:38:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-08 20:38:30 +0000
commit6f4afcab3d3c515cae945f03946aff85f31cc975 (patch)
tree7912f7d370af88c988e8535f68d21b7bf316608a /games/worms/worms.6
parentbc0f2ffe0e2185999b81452ed75b4a9f7504994d (diff)
Adjust delay based on terminal speed; ok tedu@
Diffstat (limited to 'games/worms/worms.6')
-rw-r--r--games/worms/worms.67
1 files changed, 5 insertions, 2 deletions
diff --git a/games/worms/worms.6 b/games/worms/worms.6
index 98e1fd4f2b8..6a47e7c9762 100644
--- a/games/worms/worms.6
+++ b/games/worms/worms.6
@@ -1,4 +1,4 @@
-.\" $OpenBSD: worms.6,v 1.10 2003/06/03 03:01:42 millert Exp $
+.\" $OpenBSD: worms.6,v 1.11 2004/01/08 20:38:29 millert Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -59,7 +59,10 @@ Makes each worm leave a trail behind it.
Specifies a delay, in milliseconds, between each update.
This is useful for fast terminals.
Reasonable values are around 20-200.
-The default is 0.
+The default is based on the terminal speed.
+If the terminal is 9600 baud or slower no delay is used.
+Otherwise, the delay is computed via the following formula:
+.Dl delay = speed / 9600 - 1.
.It Fl l
Specifies a length for each worm; the default is 16.
.It Fl n