🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24187

Help porting X program to DecStation X

#24187
From: daf
Date: Fri, 28 Jun 1991 04:05
58 lines
2356 bytes
Hi all,

I am currently trying to compile a program written for X on a Sun, to run under
Ultrix on a DecStation 5000 with DecWindows and X, and I get core dumps
whenever I try to open up a window on the X terminal.  The program runs fine in
tty mode but hangs badly the moment I do anything under X.

Running the program through lint, I came across the following undefined
structures/unions:

_StateRec
_XtEventRec
_XtBoundAccActionRec
_XtAppStruct
_XRegion
_TranslationData
_ShellClassRec
XKeyTrans
_XrmHashBucketRec
_XStatistics
_TransientShellClassRec
_TopLevelShellClassRec
_ApplicationShellClassRec
_WidgetRec
_ObjectRec
_RectObjRec
_WindowObjRec
_ObjectClassRec
_RectObjClassRec
_WMShellClassRec

Most of these I found scattered in various header files in /include/X11
and all are referenced in Xlib.h, but some definitions are completely missing
as far as I can tell.

My question is, does anyone out there recognise these as being from a
particular header file(s), or has anyone else ported stuff from straight X to
DecStation X (I assume that they must be different implementations as it would
work otherwise!!)  Do I have to include particular files to run X on a DEC.

Any ideas would be great as I'm new to X and don't quite know where to start
looking for the definitions of the structures.

The fact that I can't find a definition of _XRegion anywhere in any header file
worries me slightly!!  (I grepped every directory on the machine for
_XRegion!!)


Thanks,

Daf.
-- 
-------------------------------------------------------------------------------
Davyd Norris		:	"Strange people physicists... In my opinion
Physics Dept.		:	 those that aren't already dead are in some
Monash University,	:        way very, very sick." - Douglas Adams,
Vic, Australia.		:	 "The Long Dark Tea-time Of The Soul"     
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1991Jun28.140555.86979@vaxc.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!bruce!monu0.cc.monash.edu.au!vaxc.cc.monash.edu.au!daf

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!bruce!monu0.cc.monash.edu.au!vaxc.cc.monash.edu.au!daf
From: daf@vaxc.cc.monash.edu.au
Newsgroups: comp.windows.x
Subject: Help porting X program to DecStation X
Message-ID: <1991Jun28.140555.86979@vaxc.cc.monash.edu.au>
Date: 28 Jun 91 04:05:55 GMT
Organization: Monash University - Australia.
Lines: 58