🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #145

converting applications using Sun-PHIGS to PEX

#145
From: Karin Borm
Date: Thu, 01 Oct 1992 12:10
44 lines
2110 bytes
Hi!

I wrote a 2d-application with SunPHIGS on a Sun-Workstation (SunView!).
avoiding the programming interface to Sunview.
Even the menues were realized in PHIGS as workstations with
pickable graphical elements.

Now I try to transfer my application to X-Windows (X11R5) also without 
using the Xlib or a X-Toolkit.

-> PEX!

I've got two PEX-Versions: the first one was delivered with X11R5
(1991 by Sun Microsystems, Inc. and the X Consortium),
the second (newer one)
is on export.lcs.mit.edu and is called Xpex which I didn't use so far.

The main problem was that almost every phigs routine had a different name. 
So I wrote an include file with #define`s to correct it.  
I had the same problem with some type definitions. Finally I got
my application linked correct and running. But of course it is not working:
The first problem is the initial draw of my menues. I always have to close and
to reopen the window to see the menues. But the more tragic bug is that the 
pick device doesn't work. (pinq_pick_st has a bug which I fixed.)
After setting a pickfilter the mouse notices that I made a pick but
PHIGS tells me that nothing is picked. So I gave up.
There might also be a problem with the view.

Questions:

1. My PEX (first version) has some bugs. Where can I get bug-fixes?

2. Where can I get filters (SunPHIGS<->PEX, SunPHIGS<->Xpex,...)? 

3. Who has experiences using different PEX-versions? What problems/
   advantages/disadvantages do they have? 


Who can help me? Please send mail to

kbo@dagobert.rob.cs.tu-bs.de

Thanks.
Technical Details
Message-ID: <kbo.717941415@helferlein>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!tubsibr!kbo

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!tubsibr!kbo
From: kbo@rob.cs.tu-bs.de (Karin Borm)
Newsgroups: comp.windows.x.pex
Subject: converting applications using Sun-PHIGS to PEX
Summary: lots of problems
Keywords: sunphigs,pex,phigs,converting
Message-ID: <kbo.717941415@helferlein>
Date: 1 Oct 92 12:10:15 GMT
Sender: postnntp@ibr.cs.tu-bs.de (nntp inews entry)
Organization: TU Braunschweig, Informatik, Bueltenweg, Germany
Lines: 44