[comp.sources.games.bugs] bj1

shefter-bret@CS.YALE.EDU (Bret A. Shefter) (04/07/89)

*** REPLACE THIS LINE WITH YOUR MEmunch, munch, smack gulp <burp>

    For those of you who prefer to be able to see what you're typing after you
exit a program (picky, picky!), the following patch to blackjack.c is necessary
(it's in the function mgetc):
------------cut here------------cut here------------cut here-------------------
*** blackjack.c Thu Apr  6 17:21:21 1989
--- blackjack.c.orig    Thu Apr  6 17:21:14 1989
***************
*** 227,232 ****
--- 227,233 ----
	move(20,0);
	refresh();
	 nocrmode();
+        echo();
	/**
	quit = 1;
	break;
------------cut here------------cut here------------cut here-------------------
    Pretty straightforward.
							Shadow
--
    From the only slightly twisted mind of...
	shefter-bret@yale.ARPA                  * DISCLAIMER *
	shefter@yalecs.BITNET          Most of the above posting is wrong.
     ...!decvax!yale!shefter        "In case we decide to surrender to them."

srt@aero.ARPA (Scott "CBS" Turner) (04/11/89)

If that was a bug in my blackjack program, I apologize.  There are
amazing differences between curses from machine to machine (i.e., Sun
curses starts up in "nonl" mode for some reason), and my machine
probably didn't need that echo.

					-- Scott Turner