Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!hsi!stevens From: stevens@hsi.UUCP (Richard Stevens) Newsgroups: comp.sys.att Subject: UNIX PC - wrastop() question Message-ID: <715@hsi.UUCP> Date: Tue, 10-Nov-87 21:02:49 EST Article-I.D.: hsi.715 Posted: Tue Nov 10 21:02:49 1987 Date-Received: Fri, 13-Nov-87 03:19:11 EST Organization: Health Systems Intl., New Haven, CT Lines: 18 Keywords: wrastop, 3b1 The following code is from the etch-a-sketch program from The Store. Basically the program keeps a bit map in memory, writing to the screen as necessary. The comment on the declaration for bmdumb[] puzzles me - is this extrnaeous array allocated space to correct some early problem with the wrastop() operation on the UNIX PC ?? Only the first 2 arrays are needed, so I'd guess the extra one is a workaround for some bug ?? unsigned short bitmap[WINHEIGHT][WINSWIDTH]; unsigned short bmsave[WINHEIGHT][WINSWIDTH]; unsigned short bmdumb[WINHEIGHT][WINSWIDTH]; /*Without this rubber() fails */ If this is so, anyone know if the bug has been fixed, now that the system is over 2 years old ?? Richard Stevens Health Systems International, New Haven, CT { uunet | ihnp4 } ! hsi ! stevens