From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d26e08d32bc8f35e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-08 04:53:55 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!crl.dec.com!crl.dec.com!utne.zk3.dec.com!mytoy.zk3.dec.com!ddhill From: ddhill@mytoy.zk3.dec.com (Dave Hill) Newsgroups: comp.unix.osf.osf1 Subject: Re: XView on OSF/1 1.2 Date: 7 Dec 1993 18:53:13 GMT Organization: WHATX Distribution: world Message-ID: <2e2jep$720@utne.zk3.dec.com> References: <1993Dec3.043622.29625@news.qut.edu.au> NNTP-Posting-Host: mytoy.zk3.dec.com In article , djm@glue.umd.edu (David J. MacKenzie) writes: |> On Fri, 3 Dec 93 04:36:22 GMT, sammut@fit.qut.edu.au (Mr Andrew Sammut) said: |> In article <1993Dec3.043622.29625@news.qut.edu.au> sammut@fit.qut.edu.au (Mr Andrew Sammut) writes: |> |> Andrew> I am looking into the possibility of installing XView 3.0 on a DEC |> Andrew> Alpha 3000/500 running OSF/1 1.2. |> |> The current version of xview is 3.2. After several hours of work, I |> got it to compile on Alpha OSF/1. However, I haven't spent the |> additional time needed to get it to *work*. For example, the clock |> sample program dumps core in an XView call. I suspect it's probably |> int/long/pointer size or alignment problems, but I don't have time to |> scratch my head over it. |> |> If anyone would like my diffs to start with, you can ftp them from |> ftp.eng.umd.edu in pub/alpha/xview-3.2-alpha-diff. If you are doing a port of toolkit layer stuff, you may want to note that there is an issue with properties that occasionally stings the toolkit layers but is rarely an issue with client programs. With XChangeProperty and XGetWindowProperty, if the format == 32, then the data is expected to be arrays of unsigned longs and NOT unsigned ints. This interpretation was made with the blessing of the X Cons. and is one of the few areas of change that had to be made that was not just sizeof(int) <> sizeof(long) related. Note that Xlib "does the right thing" with the data in the longs, that is is transmits only the significant 32 bits in XChangeProperty and expands (pads) to 64 bits in XGetWindowProperty. /Dave