Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 / QGSI 2.0; site qubix.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!decwrl!sun!qubix!lab
From: lab@qubix.UUCP (Larry Bickford)
Newsgroups: net.games
Subject: Re: Battleships
Message-ID: <1623@qubix.UUCP>
Date: Wed, 26-Jun-85 23:55:55 EDT
Article-I.D.: qubix.1623
Posted: Wed Jun 26 23:55:55 1985
Date-Received: Sat, 29-Jun-85 02:44:00 EDT
References: <1264@cbosgd.UUCP> <290@ucdavis.UUCP> <266@rti-sel.UUCP>
Organization: Quadratix ... Quartix
Lines: 38

One other gotcha in Tom Truscott's 4.2 adaptation:
> 613a624,641
> > 
> > #ifndef A_REVERSE
> > /* need to define some other routines */
> > cbreak()
> > {
> > 	raw();	/* sure hope this is good enough */
> > }
> > 
> > flash()
> > {
> > 	extern int _putchar();
> > 
> > 	if (VB)
!!! 		_puts(VB);
> > 	else
> > 		putchar('\07');
> > }
> > #endif

+++Remove the semicolon after _puts(VB)
_puts() is a macro which includes the semicolon (Thanks, Berzerkley!)
so the extra semicolon is an empty statement which separates the "else"
from the "if"

Also, remember that crmode() is somewhat safer than raw() and does the
job.

BTW, I am modifying it under 4.2 to make it faster and to space the
regions out for easier readability (and let you exit safely with
SIGINT). But wstandout/wstandend still seem to be no-ops on my TeleVideo
925.
-- 
		The Ice Floe of Larry Bickford
		{amd,decwrl,sun,idi,ittvax}!qubix!lab

You can't settle the issue until you've settled how to settle the issue.