Subject: bin/8104: [PATCH] Backgammon trivial fix
To: None <gnats-bugs@gnats.netbsd.org>
From: Joseph Myers <jsm28@cam.ac.uk>
List: netbsd-bugs
Date: 07/28/1999 11:12:12
>Number:         8104
>Category:       bin
>Synopsis:       [PATCH] Backgammon trivial fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 28 10:20:04 1999
>Last-Modified:
>Originator:     Joseph S. Myers
>Organization:
Trinity College, University of Cambridge, UK
>Release:        NetBSD anoncvs of 1999-07-27
>Environment:
[
System: Linux decomino 2.2.10 #1 Mon Jun 14 07:48:53 UTC 1999 i686 unknown
Architecture: i686
]
>Description:

This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.

>How-To-Repeat:

>Fix:

diff -ruN backgammon/backgammon/main.c backgammon+/backgammon/main.c
--- backgammon/backgammon/main.c	Mon Jul 19 00:33:58 1999
+++ backgammon+/backgammon/main.c	Wed Jul 28 11:29:40 1999
@@ -69,7 +69,7 @@
 	0
 };
 static const char rules[] = "\nDo you want the rules of the game?";
-static const char noteach[] = "Teachgammon not available!\n\007";
+static const char noteach[] = "Teachgammon not available!\n\a";
 static const char need[] = "Do you need instructions for this program?";
 static const char askcol[] =
 "Enter 'r' to play red, 'w' to play white, 'b' to play both:";
>Audit-Trail:
>Unformatted: