Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ddhill@mytoy.zk3.dec.com (Dave Hill)
Subject: Re: XView on OSF/1 1.2
Date: 7 Dec 1993 18:53:13 GMT	[thread overview]
Message-ID: <2e2jep$720@utne.zk3.dec.com> (raw)
In-Reply-To: DJM.93Dec3063733@avalon.glue.umd.edu

In article <DJM.93Dec3063733@avalon.glue.umd.edu>, 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


      reply	other threads:[~1993-12-07 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-03  4:36 XView on OSF/1 1.2 Mr Andrew Sammut
1993-12-03 11:37 ` David J. MacKenzie
1993-12-07 18:53   ` Dave Hill [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox