Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/worms worms(6): Use a reasonable default delay for non...



details:   https://anonhg.NetBSD.org/src/rev/48f5c40d9c83
branches:  trunk
changeset: 944857:48f5c40d9c83
user:      nia <nia%NetBSD.org@localhost>
date:      Wed Oct 14 07:32:53 2020 +0000

description:
worms(6): Use a reasonable default delay for non-1980s terminals.

This is still fast, but not unreasonably fast.

diffstat:

 games/worms/worms.6 |  6 +++---
 games/worms/worms.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 391aebac6b5f -r 48f5c40d9c83 games/worms/worms.6
--- a/games/worms/worms.6       Wed Oct 14 05:19:41 2020 +0000
+++ b/games/worms/worms.6       Wed Oct 14 07:32:53 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: worms.6,v 1.15 2012/08/12 17:30:03 wiz Exp $
+.\"    $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.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)worms.6     8.1 (Berkeley) 5/31/93
 .\"
-.Dd July 31, 2012
+.Dd October 14, 2020
 .Dt WORMS 6
 .Os
 .Sh NAME
@@ -56,7 +56,7 @@
 as 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 20.
 .It Fl f
 Makes a
 .Dq field
diff -r 391aebac6b5f -r 48f5c40d9c83 games/worms/worms.c
--- a/games/worms/worms.c       Wed Oct 14 05:19:41 2020 +0000
+++ b/games/worms/worms.c       Wed Oct 14 07:32:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: worms.c,v 1.22 2012/06/19 05:46:09 dholland Exp $      */
+/*     $NetBSD: worms.c,v 1.23 2020/10/14 07:32:53 nia Exp $   */
 
 /*
  * Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)worms.c    8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: worms.c,v 1.22 2012/06/19 05:46:09 dholland Exp $");
+__RCSID("$NetBSD: worms.c,v 1.23 2020/10/14 07:32:53 nia Exp $");
 #endif
 #endif /* not lint */
 
@@ -194,7 +194,7 @@
        short **ref;
        const char *field;
        char *mp;
-       unsigned int delay = 0;
+       unsigned int delay = 20000;
 
        mp = NULL;
        length = 16;



Home | Main Index | Thread Index | Old Index