summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wargames/Makefile4
-rw-r--r--wargames/wargames.sh1
-rw-r--r--worm/Makefile4
-rw-r--r--worm/worm.611
-rw-r--r--worm/worm.c20
5 files changed, 24 insertions, 16 deletions
diff --git a/wargames/Makefile b/wargames/Makefile
index 6255dea8..5e019947 100644
--- a/wargames/Makefile
+++ b/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/wargames/wargames.sh b/wargames/wargames.sh
index b378e25b..d4640f0c 100644
--- a/wargames/wargames.sh
+++ b/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/worm/Makefile b/worm/Makefile
index 89e751aa..c79fc0d2 100644
--- a/worm/Makefile
+++ b/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/worm/worm.6 b/worm/worm.6
index 20e9f62b..a4ba9bdc 100644
--- a/worm/worm.6
+++ b/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/worm/worm.c b/worm/worm.c
index f0ea1c95..cbf4caae 100644
--- a/worm/worm.c
+++ b/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 '@'