From d4cf33d69956e2422feab8c15e78d06c35f58059 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 13 Sep 2013 20:46:50 +0000 Subject: GC descr and helpm. --- backgammon/common_source/subs.c | 17 ++--------------- backgammon/teachgammon/teach.c | 12 ++---------- 2 files changed, 4 insertions(+), 25 deletions(-) (limited to 'backgammon') diff --git a/backgammon/common_source/subs.c b/backgammon/common_source/subs.c index 9a0a3723..e362e5ad 100644 --- a/backgammon/common_source/subs.c +++ b/backgammon/common_source/subs.c @@ -1,4 +1,4 @@ -/* $NetBSD: subs.c,v 1.19 2012/10/13 19:19:39 dholland Exp $ */ +/* $NetBSD: subs.c,v 1.20 2013/09/13 20:46:50 joerg Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: subs.c,v 1.19 2012/10/13 19:19:39 dholland Exp $"); +__RCSID("$NetBSD: subs.c,v 1.20 2013/09/13 20:46:50 joerg Exp $"); #endif #endif /* not lint */ @@ -47,19 +47,6 @@ static const char plred[] = "Player is red, computer is white."; static const char plwhite[] = "Player is white, computer is red."; static const char nocomp[] = "(No computer play.)"; -static const char *const descr[] = { - "Usage: backgammon [-] [n r w b pr pw pb t3a]\n", - "\t-\tgets this list\n\tn\tdon't ask for rules or instructions", - "\tr\tplayer is red (implies n)\n\tw\tplayer is white (implies n)", - "\tb\ttwo players, red and white (implies n)", - "\tpr\tprint the board before red's turn", - "\tpw\tprint the board before white's turn", - "\tpb\tprint the board before both player's turn", - "\tterm\tterminal is a term", - "\tsfile\trecover saved game from file", - 0 -}; - void errexit(const char *s) { diff --git a/backgammon/teachgammon/teach.c b/backgammon/teachgammon/teach.c index 0fb58d50..f9805dc8 100644 --- a/backgammon/teachgammon/teach.c +++ b/backgammon/teachgammon/teach.c @@ -1,4 +1,4 @@ -/* $NetBSD: teach.c,v 1.23 2012/10/13 19:25:22 dholland Exp $ */ +/* $NetBSD: teach.c,v 1.24 2013/09/13 20:46:50 joerg Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,21 +39,13 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: teach.c,v 1.23 2012/10/13 19:25:22 dholland Exp $"); +__RCSID("$NetBSD: teach.c,v 1.24 2013/09/13 20:46:50 joerg Exp $"); #endif #endif /* not lint */ #include "back.h" #include "tutor.h" -static const char *const helpm[] = { - "\nEnter a space or newline to roll, or", - " b to display the board", - " d to double", - " q to quit\n", - 0 -}; - static const char *const contin[] = { "", 0 -- cgit v1.2.3-56-ge451