Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!endor!kochhar From: kochhar@endor.harvard.edu (Sandeep Kochhar) Newsgroups: comp.windows.x Subject: Re: Porting X Applications to the DECstation 3100 Message-ID: <2486@husc6.harvard.edu> Date: 21 Aug 89 21:01:31 GMT References: <10155@csli.Stanford.EDU> Sender: news@husc6.harvard.edu Reply-To: kochhar@endor.UUCP (Sandeep Kochhar) Distribution: usa Organization: Aiken Computation Lab Harvard, Cambridge, MA Lines: 30 In article <10155@csli.Stanford.EDU> ceb@csli.Stanford.EDU (Charles Buckley) writes: >I am trying to port an essentially black-and-white application (which >nonetheless worked on a Sun 8-bit color server) to an 8-bit >DECstation 3100 server, and am having many problems. > >I've managed to pin them down server specific things, e. g.: >1. I can't create a 1-bit deep top-level InputOutput window when the > depth of the root screen is 8, although I should be able to. >2. When I go around this by making all of my windows 8 bits > deep, but copy into them from 1-bit deep pixmaps using CopyPlane, the > result I get is totally wrong (old window pixel 1: pixmap pixel 1: plane arg > to CopyPlane 1, GC plane mask FFFFFFFF, result window pixel 0). I had a problem with the DEC3100 cfb that sounds similar; essentially the GXxor function wasn't working right (though it worked fine on a Sun B/w and color); I didn't look at it too long since I discovered that a hack worked: switching the background and foreground colors in my GC. Sandeep Kochhar (617) 495-9515 mail: kochhar@harvard.harvard.edu Harvard University kochhar@harvard.csnet 33 Oxford st, kochhar@harvard.uucp Cambridge, Ma 02138 kochhar@harvard.bitnet "If you didn't get this message, please let me know."