Fixes for Mines game
Timothy J. Lipetz
tjl at cbnews.ATT.COM
Tue Oct 24 01:08:47 AEST 1989
Thanks to the people who have written and posted comments on the
mines game port for the unix-pc. I gather from the response that
a number of people are using the game. (Don't you wonder how many
people actually use the things you post?)
Here are fixes for the two problems I have heard about.
FIX #1
Thanks to Bob Barbato for this fix.
The reason only some people got a missing cursor was because of an
unitialized member of a structure. Here is the one line fix...
*** old.mines/boardsw.c Tue Oct 17 12:21:01 1989
--- mines/boardsw.c Mon Oct 2 12:29:35 1989
***************
*** 171,174
um.um_y = 0;
um.um_w = 1;
um.um_h = 1;
wsetmouse (wn, &um);
--- 171,175 -----
um.um_y = 0;
um.um_w = 1;
um.um_h = 1;
+ um.um_icon = 0;
wsetmouse (wn, &um);
FIX #2
Thanks to David Sandberg for the fix.
Some people got a messed up escape sequence going to the screen.
Here is the one line fix..
The original line in the source is:
wputs(wn,"^[[2J^[[=1C");
(those ^[ were escapes)
and should be changed to
wputs(wn,"\033[2J\033[=1C");
Hope this gets everyone up and running.
Tim Lipetz
...!att!cbzoo!tjl
More information about the Unix-pc.sources
mailing list