Module Name: src Committed By: joerg Date: Fri Sep 13 20:46:50 UTC 2013
Modified Files: src/games/backgammon/common_source: subs.c src/games/backgammon/teachgammon: teach.c Log Message: GC descr and helpm. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/games/backgammon/common_source/subs.c cvs rdiff -u -r1.23 -r1.24 src/games/backgammon/teachgammon/teach.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/backgammon/common_source/subs.c diff -u src/games/backgammon/common_source/subs.c:1.19 src/games/backgammon/common_source/subs.c:1.20 --- src/games/backgammon/common_source/subs.c:1.19 Sat Oct 13 19:19:39 2012 +++ src/games/backgammon/common_source/subs.c Fri Sep 13 20:46:50 2013 @@ -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 r 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) { Index: src/games/backgammon/teachgammon/teach.c diff -u src/games/backgammon/teachgammon/teach.c:1.23 src/games/backgammon/teachgammon/teach.c:1.24 --- src/games/backgammon/teachgammon/teach.c:1.23 Sat Oct 13 19:25:22 2012 +++ src/games/backgammon/teachgammon/teach.c Fri Sep 13 20:46:50 2013 @@ -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, 19 #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