summaryrefslogtreecommitdiffstats
path: root/worm
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
commiteca13b621f4cb1080cd5a74cc3e8bb5225935ef0 (patch)
treefa42893b3ed3b0543b02a67b182ccdd516ad6fd9 /worm
parentb18215767d780fd02e12942b118126ab71c2471a (diff)
downloadbsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.tar.gz
bsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.tar.zst
bsdgames-darwin-eca13b621f4cb1080cd5a74cc3e8bb5225935ef0.zip
clean up import, fix up Ids
Diffstat (limited to 'worm')
-rw-r--r--worm/Makefile4
-rw-r--r--worm/worm.611
-rw-r--r--worm/worm.c20
3 files changed, 21 insertions, 14 deletions
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 '@'