Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!oberon!cit-vax!elroy!ames!ucbcad!ucbvax!SUN.COM!david From: david@SUN.COM (David DiGiacomo) Newsgroups: comp.windows.x Subject: Re: Color X and Sun 3/260 Message-ID: <8707110106.AA15405@david.sun.com> Date: Fri, 10-Jul-87 21:06:23 EDT Article-I.D.: david.8707110106.AA15405 Posted: Fri Jul 10 21:06:23 1987 Date-Received: Sun, 12-Jul-87 14:11:06 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 37 >Since we seemed to be having the same problem, I applied your patch to the >X libsun file "text.c". It seemed to take care of that specific problem just >fine, but it introduced lots more problems. For example, when you move the >cursor now you get little dots trailing after it. This may related to the >"mouse droppings" problem discussed earlier on this bboard. I'll have to >take a look through my bboard archives (which I just wrote to tape this >morning!). Also, the display has lots (and I mean LOTS!) of horizontal lines >all over it. Basically, this new version of the X server was totally unusable >because of all of these other problems so I backed off the changes. Didn't I say it was untested? Try this instead (also untested!): gp1_batchrop(dpr, dx, dy, op, src, count) struct pixrect *dpr; int dx, dy, op; struct pr_prpos *src; int count; { register struct gp1pr *dprd = gp1_d(dpr); struct pixrect newpr; struct cg2pr newprd; if (gp1_sync(dprd->gp_shmem, dprd->ioctl_fd)) return PIX_ERR; newpr = *dpr; newpr->pr_data = (caddr_t) &newprd; newprd.cgpr_va = dprd->cgpr_va; newprd.cgpr_fd = dprd->cgpr_fd; newprd.cgpr_planes = dprd->cgpr_planes; newprd.cgpr_offset = dprd->cgpr_offset; return cg2_batchrop(&newpr, dx, dy, op, src, count); } Needless to say, this is a rather disgusting hack which will break in a future release. Too bad.