summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-22 07:53:41 +0000
committercgd <cgd@NetBSD.org>1995-04-22 07:53:41 +0000
commitffe77265f3f35541681eb5113115dbac4c7296bc (patch)
tree0f3cfc1f0d03584008615d2f2783736f243da996
parent55ecc5e495e2f656956777edcfdd47197a9b1eae (diff)
clean up import, fix up Ids
-rw-r--r--games/wargames/Makefile4
-rw-r--r--games/wargames/wargames.sh1
-rw-r--r--games/worm/Makefile4
-rw-r--r--games/worm/worm.611
-rw-r--r--games/worm/worm.c20
5 files changed, 24 insertions, 16 deletions
diff --git a/games/wargames/Makefile b/games/wargames/Makefile
index 6255dea8ef7..5e019947915 100644
--- a/games/wargames/Makefile
+++ b/games/wargames/Makefile
@@ -1,5 +1,5 @@
-# from: @(#)Makefile 5.3 (Berkeley) 6/8/90
-# $Id: Makefile,v 1.3 1993/12/22 04:30:48 cgd Exp $
+# $NetBSD: Makefile,v 1.4 1995/04/22 07:53:41 cgd Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
NOOBJ= noobj
all wargames clean cleandir depend lint tags:
diff --git a/games/wargames/wargames.sh b/games/wargames/wargames.sh
index b378e25b00d..d4640f0c997 100644
--- a/games/wargames/wargames.sh
+++ b/games/wargames/wargames.sh
@@ -1,4 +1,5 @@
#!/bin/sh -
+# $NetBSD: wargames.sh,v 1.2 1995/04/22 07:53:44 cgd Exp $
#
# Copyright (c) 1985, 1993
# The Regents of the University of California. All rights reserved.
diff --git a/games/worm/Makefile b/games/worm/Makefile
index 89e751aacc6..c79fc0d2fa7 100644
--- a/games/worm/Makefile
+++ b/games/worm/Makefile
@@ -1,5 +1,5 @@
-# from: @(#)Makefile 5.3 (Berkeley) 5/11/90
-# $Id: Makefile,v 1.4 1994/12/22 09:36:31 cgd Exp $
+# $NetBSD: Makefile,v 1.5 1995/04/22 07:56:19 cgd Exp $
+# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= worm
MAN= worm.6
diff --git a/games/worm/worm.6 b/games/worm/worm.6
index 20e9f62b2c3..a4ba9bdcf9a 100644
--- a/games/worm/worm.6
+++ b/games/worm/worm.6
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1989 The Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: worm.6,v 1.4 1995/04/22 07:56:21 cgd Exp $
+.\"
+.\" Copyright (c) 1989, 1993
+.\" 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
@@ -29,10 +31,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)worm.6 6.3 (Berkeley) 6/23/90
-.\" $Id: worm.6,v 1.3 1993/08/05 01:47:14 jtc Exp $
+.\" @(#)worm.6 8.1 (Berkeley) 5/31/93
.\"
-.Dd June 23, 1990
+.Dd May 31, 1993
.Dt WORM 6
.Os
.Sh NAME
diff --git a/games/worm/worm.c b/games/worm/worm.c
index f0ea1c9558c..cbf4caae082 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -1,6 +1,8 @@
+/* $NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $ */
+
/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1980, 1993
+ * 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
@@ -32,14 +34,17 @@
*/
#ifndef lint
-char copyright[] =
-"@(#) Copyright (c) 1980 Regents of the University of California.\n\
- All rights reserved.\n";
+static char copyright[] =
+"@(#) Copyright (c) 1980, 1993\n\
+ The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-/*static char sccsid[] = "from: @(#)worm.c 5.8 (Berkeley) 2/28/91";*/
-static char rcsid[] = "$Id: worm.c,v 1.4 1993/12/03 10:12:57 mycroft Exp $";
+#if 0
+static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
+#else
+static char rcsid[] = "$NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $";
+#endif
#endif /* not lint */
/*
@@ -50,6 +55,7 @@ static char rcsid[] = "$Id: worm.c,v 1.4 1993/12/03 10:12:57 mycroft Exp $";
#include <ctype.h>
#include <curses.h>
#include <signal.h>
+#include <termios.h>
#define newlink() (struct body *) malloc(sizeof (struct body));
#define HEAD '@'