[comp.sources.games.bugs] Official patch #6 for othello v1.3; please apply it.

richb@sunaus.oz (Rich Burridge) (05/31/90)

It makes the following changes:

       * From John Eras <jeras@hqsun2.oracle.com>
         Added the ability to redraw the screen with ^L for the tty
         version.

       * From Heather Rose <hrose@Sun.COM>
         Set the othello frame BUSY while the computer plays it move,
         to prevent an xnews server hang from another mouse click.

Previous patches for othello are available from the archive server.
Send a message to rb-archive-server@Aus.Sun.COM containing the message:

send othello patchn

where n is the number of the patch you want.

You might also have to include a "path" line in this message, to denote a
valid path for the archive server to use, to get the message back to you.
For example:

path uunet.uu.net!machine!user



Rich Burridge - richb@Aus.Sun.COM

------- patchlevel.h -------
*** /tmp/da04840	Wed May 30 21:26:09 1990
--- patchlevel.h	Wed May 30 19:53:11 1990
***************
*** 19,22 ****
   *  to me, then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  5
--- 19,22 ----
   *  to me, then an attempt will be made to fix them.
   */
  
! #define  PATCHLEVEL  6

------- README -------
*** /tmp/da04843	Wed May 30 21:26:10 1990
--- README	Wed May 30 21:24:35 1990
***************
*** 30,37 ****
  John Rosauer, Steve Misrack, Hugues Leroy, Linton Miller, Mike Stump,
  D. Hugh Redelmeier, Scott W. Danielson, Gary D. Kline, Kjetil Torgrim
  Homme, Peter Johansson, Alfred Nathaniel, Arnold Gill, Martin Chudley,
! W Mat Waites and Keith Moore for bug reports and/or bug fixes plus
! suggested enhancements.
  
  
  Suggestions for furthur improvement would be most welcome, plus bugs,
--- 30,37 ----
  John Rosauer, Steve Misrack, Hugues Leroy, Linton Miller, Mike Stump,
  D. Hugh Redelmeier, Scott W. Danielson, Gary D. Kline, Kjetil Torgrim
  Homme, Peter Johansson, Alfred Nathaniel, Arnold Gill, Martin Chudley,
! W Mat Waites, Keith Moore, John Eras and Heather Rose for bug reports
! and/or bug fixes plus suggested enhancements.
  
  
  Suggestions for furthur improvement would be most welcome, plus bugs,

------- CHANGES -------
*** /tmp/da04846	Wed May 30 21:26:11 1990
--- CHANGES	Wed May 30 21:16:01 1990
***************
*** 132,134 ****
--- 132,144 ----
         * From Keith Moore <moore@cs.utk.edu>
           Fix type conflicts that crop up under ANCI C on an IBM RT under
           BSD 4.3.
+ 
+ v1.3 - patchlevel 6. 31st May 1990.
+ 
+        * From John Eras <jeras@hqsun2.oracle.com>
+          Added the ability to redraw the screen with ^L for the tty
+          version.
+ 
+        * From Heather Rose <hrose@Sun.COM>
+          Set the othello frame BUSY while the computer plays it move,
+          to prevent an xnews server hang from another mouse click.

------- xview.c -------
*** /tmp/da04849	Wed May 30 21:26:13 1990
--- xview.c	Wed May 30 20:42:48 1990
***************
*** 87,92 ****
--- 87,95 ----
    cur_event = event ;
    process_event() ;       /* Determine what kind of event it is. */
    handle_event() ;        /* And do the appropriate action. */
+ 
+   if (nextc == LEFT_UP || nextc == MIDDLE_UP || nextc == RIGHT_UP)
+     XV_SET(frame, FRAME_BUSY, FALSE, 0) ;
  }
  
  
***************
*** 444,449 ****
--- 447,453 ----
             if (id == MS_LEFT)   nextc = LEFT_UP ;
        else if (id == MS_MIDDLE) nextc = MIDDLE_UP ;
        else if (id == MS_RIGHT)  nextc = RIGHT_UP ;
+       XV_SET(frame, FRAME_BUSY, TRUE, 0) ;
      }
    else if (event_is_ascii(cur_event))
      {
***************
*** 456,461 ****
--- 460,466 ----
  set_cursor(ctype)
  enum curtype ctype ;
  {
+   if (ctype == NOCURSOR) return ;
    XV_SET(cpw, WIN_CURSOR, cursor[(int) ctype], 0) ;
    XV_SET(xv_default_server, SERVER_SYNC, 1, 0) ;
  }

------- tty.c -------
*** /tmp/da04852	Wed May 30 21:26:15 1990
--- tty.c	Wed May 30 19:50:16 1990
***************
*** 431,437 ****
  
  process_event()           /* Process the next user input. */
  {
!   nextc = KEYBOARD ;
  }
  
  
--- 431,438 ----
  
  process_event()           /* Process the next user input. */
  {
!   if (cur_ch == 12) nextc = FRAME_REPAINT ;
!   else nextc = KEYBOARD ;
  }