Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ames!ucbcad!ucbvax!ANUBIS.UCHICAGO.EDU!mason From: mason@ANUBIS.UCHICAGO.EDU.UUCP Newsgroups: comp.windows.x Subject: Re: ximpv on SUN Message-ID: <8703281521.AA02449@anubis.UChicago.EDU> Date: Sat, 28-Mar-87 10:20:47 EST Article-I.D.: anubis.8703281521.AA02449 Posted: Sat Mar 28 10:20:47 1987 Date-Received: Sat, 4-Apr-87 08:32:34 EST References: <12289310068.23.YASKI@NTT-20.NTT.JUNET> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 76 The fix was posted a little while ago. Here is the article: Article 163 of comp.windows.x: Relay-Version: version B 2.10.2 9/18/84; site gargoyle.uchicago.edu.UUCP Path: gargoyle.uchicago.edu!oddjob!uwvax!husc6!panda!genrad!decvax!ucbvax!EE.ECN.PURDUE.EDU!jrs From: jrs@EE.ECN.PURDUE.EDU (Jeff Schwab) Newsgroups: comp.windows.x Subject: Re: Fixes to ximpv for Sun 3? Message-ID: <8703090347.AA06477@ee.ecn.purdue.edu> Date: 9 Mar 87 03:47:21 GMT Date-Received: 9 Mar 87 15:01:43 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 50 In order to get ximpv to run on our Suns (running 3.0), we had to make two small changes. The first is in impv.c, routine BitsPut(): . . . for (ptr = outbuf, i = delta; --i >= 0; data += linesize, ptr += per) #ifdef sun swab(data, ptr, per); #else sun bcopy(data, ptr, per); #endif sun XBitmapBitsPut(Win, dstx, dsty, width, delta, outbuf, forepix, backpix, NULL, GXcopy, AllPlanes); . . . The second change is in imPdefs.h: . . . typedef union { /******** DECODE PARAMETERS ***********/ BDIM pval; /* parameter value */ struct { #ifdef XWIND #ifdef sun char hival; char loval; #else sun char loval; char hival; #endif sun #else char hival; char loval; #endif . . . Hope it helps. Jeff Schwab jrs@ee.ecn.purdue.edu ------------- I hope this will do the trick. Tony Mason Univ. of Chicago, Dept. of Comp. Sci. ARPA: mason@anubis.uchicago.edu UUCP: ...ihnp4!gargoyle!mason