[net.sources.bugs] Battleship...again

xman@spock.UUCP (Bharat Mediratta '87 cc) (03/28/86)

I'm using a Vax/Unix, 4.2 bsd.

I have received two versions of Battleship.

Needless to say, neither of them have worked.  I tried to the best
of my efforts (limited by the time available) and came up with no
solution.

Basically what it does is this:

It compiles fine, but when I run it, the picture of the battleship
appears all over the screen except where it belongs.  The Main Board and
Hit/Miss board is also splattered all over the screen.  Has anybody come
up with a bugfix for this?

						X-man

===============================================================================
Doctor: Uh-oh, K9.  It looks as if we are up a tree without a paddle.
K9: <buzz buzz bleep clank> Please define usage of a paddle in a tree.
Doctor: Never mind
===============================================================================

ritzenth@bgsuvax.UUCP (Philip Ritzenthaler) (04/01/86)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

> I'm using a Vax/Unix, 4.2 bsd.
> 
> Needless to say, neither of them have worked.  I tried to the best
>		. 
>		.
> 		.
> It compiles fine, but when I run it, the picture of the battleship
> appears all over the screen except where it belongs.  The Main Board and
> Hit/Miss board is also splattered all over the screen.  Has anybody come
> up with a bugfix for this?
> 

straight from the original author's mouth (so to speak):

remove the function call 'nonl()'

it works fine after this . . . 

                                                   
Phil Ritzenthaler			| USnail:University Computer Services
					|	 Academic User Services
UUCP :cbosgd!osu-eddie!bgsuvax!ritzenth |	 Math-Science 238
CSNET:ritzenth@bgsu			|	 Bowling Green State University
ARPA :ritzenth%bgsu.csnet@csnet-relay	|	 Bowling Green, OH   43403-0125
					| Phone:(419) 372-2102
-- 
                                                   
Phil Ritzenthaler			| USnail:University Computer Services
					|	 Academic User Services
UUCP :cbosgd!osu-eddie!bgsuvax!ritzenth |	 Math-Science 238
CSNET:ritzenth@bgsu			|	 Bowling Green State University
ARPA :ritzenth%bgsu.csnet@csnet-relay	|	 Bowling Green, OH   43403-0125
					| Phone:(419) 372-2102