Module Name: src Committed By: nia Date: Wed Oct 14 07:32:53 UTC 2020
Modified Files: src/games/worms: worms.6 worms.c Log Message: worms(6): Use a reasonable default delay for non-1980s terminals. This is still fast, but not unreasonably fast. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/games/worms/worms.6 cvs rdiff -u -r1.22 -r1.23 src/games/worms/worms.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/worms/worms.6 diff -u src/games/worms/worms.6:1.15 src/games/worms/worms.6:1.16 --- src/games/worms/worms.6:1.15 Sun Aug 12 17:30:03 2012 +++ src/games/worms/worms.6 Wed Oct 14 07:32:53 2020 @@ -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 @@ Specifies 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 Index: src/games/worms/worms.c diff -u src/games/worms/worms.c:1.22 src/games/worms/worms.c:1.23 --- src/games/worms/worms.c:1.22 Tue Jun 19 05:46:09 2012 +++ src/games/worms/worms.c Wed Oct 14 07:32:53 2020 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #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 @@ main(int argc, char *argv[]) short **ref; const char *field; char *mp; - unsigned int delay = 0; + unsigned int delay = 20000; mp = NULL; length = 16;