HDTenEightyP/NetNews huggingface dataset:
From: zum@asf.com (Craig Zumwinkle)
Subject: Looking for avionics widgets
Organization: ASF
Distribution: usa
Date: Mon, 16 Nov 1992 22:57:57 GMT


Hello netland,

	I have a need to display a variety of avionic instruments,
	(e.g. altimeter, attitude indicator, etc) and I'm hoping
	that there exists a set of Motif compatible widgets that
	I could incorporate into my application.  I don't want to
	re-invent the wheel if somebody has already taken the time
	to do so.  Thank you for your responses ahead of time.

	Craig Zumwinkle


-- 
Craig Zumwinkle			Hughes Training Inc.
Phone: (612) 572-7741		5301 East River Road
Fax:   (612) 572-7732		Mpls, Mn. 55421-1024
Email: zum@asf.com		USA
Newsgroups: comp.windows.x.pex
From: Kall@Mayo.EDU
Subject: two identical workstations on one X drawable
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
Date: Thu, 19 Nov 92 18:59:01 GMT


Is it legal to have two identical workstations on one X drawable.

Will these workstations superimpose, if it is legal?  I've
tried two popen_ws calls back to back changing
only the first parameter, but I get an arithmetic exception
(SunPhigs, Sunos 4.1.3, SS10/30).


---



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \------------------------------------------------------------\
From: moka@esse3.dei.unipd.it (Enrico Minelle)
Subject: Can Anyone Help me with PHIGS?
Organization: Universita' di Padova, Italia
Date: Tue, 17 Nov 1992 12:12:21 GMT

	I need to know something about PHIGS systems and PEX.

	I work with an hp700 hewlett packard machine with HP-PHIGS
	and i have read about PEX but i don't know anything about
	it.

	Which are the differences between HP-PHIGS and SunPHIGS ?
	What is PEX and can i use pex libraries with my hp-phigs?

	I will be very happy if someone can post a FAQ or answer me.
	
			Thanks.	

************************************************************************
	Minelle Enrico:		moka@paola.dei.unipd.it
************************************************************************ 

Newsgroups: comp.windows.x.pex
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: availability of PEX servers
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
Distribution: usa
Date: Sun, 22 Nov 92 22:34:20 GMT

In article <16897@umd5.umd.edu>
	jnaft@hamlet.umd.edu (Joseph Naft) writes:
>What architectures does the PEX sample implementation (X11R5) support?
>(Perhaps there is a file somewhere that answers this, and you could direct me
>to it.)

In theory, the PEX-SI supports all architectures.  This is because the
device-dependent layer of the PEX sample implementation (ddpex) is
layered on top of the device-dependent layer of core X (ddx).  This is
also why the PEX-SI isn't as fast as it could be; on the other hand it
is the least common denominator approach to the implementation.

>Is anyone aware of any commercial X servers that support PEX?

E&S' X server supports PEX; other vendors that support PEX are: Sun
Microsytems, Hewlett Packard, DEC, IBM, Tektronix, ShoGraphics, and
NCD.

>Is there any way to add the PEX extentions to my X11R4 X server using the -x
>option?  The machine is an SGI Iris running IRIX 4.0.5F, the X server is from
>SGI, the -x option is documented in the man page.

This would require you to have an SGI server that supports the PEX
extension.  I don't think SGI supports PEX yet, or provides it in the
servers that they release to their customers.

							-- Rich
-- 
		      Don't blame me; I voted Libertarian
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Newsgroups: comp.windows.x.pex
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: two identical workstations on one X drawable
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
Date: Mon, 23 Nov 92 19:38:52 GMT

In article <1992Nov23.151933.21308@bmw.mayo.edu>
	Kall@Mayo.EDU writes:
>What I am trying to do is display a moving 3d cursor in a PHIGS image,
>interactively.

Ah.  Now I understand.  3D cursors are non-trivial to implement
correctly.  With a 2D cursor, most video DACs have a feature that
overlays the cursor on top of the video stream so that the cursor
image doesn't have to be written into the frame buffer.  Older
machines xor the cursor image directly into the frame buffer (I think
this is the case for monochrome Suns; it definately is the case for
the Mac).

>I thought having two
>(exactly the same) workstations on the same drawable would enable me
>to have a 3d cursor in one and my other structures in another and only
>update the workstation that my 3d cursor is moving in.  Not having
>been able to implement this idea, I'm not sure if the idea is totally
>out to lunch?

You want to avoid redrawing the big structures because of the time it
takes to render them, yet the image of the big structures will be
"damaged" by the rendering of the 3D cursor.  The only thing I can
think of is to use "quick update methods" when moving the cursor
interactively.  There is also the problem of what to do when the
cursor should be occluded by some object in the scene.  Another
solution might be to turn off lighting and shading (i.e. line-only
renderings) of the big structure while you interactively move the
cursor and then redraw with lighting and shading turned back on when
the interaction is deigned complete.

>Any suggestions??  Any better approaches?? (Besides do it outside of Phigs?)

I don't know any way you could do a 3D cursor outside of a 3D system,
unless you just kludged the 3D cursor up via the 2D cursor mechanisms
of X.  One such hack is to size the image of the cursor based on how
deep into the screen the cursor is.  This doesn't get you 3D occlusion
like you might want and the cursor always appears "on top" no matter
how far into the screen it is, but at least its changing size
indicates its depth.

							-- Rich
-- 
		      Don't blame me; I voted Libertarian
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Newsgroups: comp.windows.x.pex
From: hersh@expo.lcs.mit.edu (Jay Hersh)
Subject: Re: availability of PEX servers
Organization: X Consortium, MIT Laboratory for Computer Science
Distribution: usa
Date: Mon, 16 Nov 1992 19:12:05 GMT

jnaft@hamlet.umd.edu (Joseph Naft) writes:

>Three questions:

>What architectures does the PEX sample implementation (X11R5) support?
>(Perhaps there is a file somewhere that answers this, and you could direct me
>to it.)

Lots. the  MIT sample implementation is software only, so it is more
appropriate to ask what unix it supports.  We have built it here
on SGI, DEC, Sun, IBM, Omron boxes. I know it also builds on
Data General, E&S, and at least a few others I may be forgetting...
The sample implementation does not provide support for hardware
accelerators.

>Is anyone aware of any commercial X servers that support PEX?

There are many commercial implementations.  Ask your favorite vendor.

>Is there any way to add the PEX extentions to my X11R4 X server using the -x
>option?  The machine is an SGI Iris running IRIX 4.0.5F, the X server is from
>SGI, the -x option is documented in the man page.

I run the MIT Sample Implementation here on an SGI only because SGI
Has donated proprietary code.  We can not distribute this code unfortunately.
In theory if you had the correct proprietary support from SGI you could
run PEX on X11R4 servers.  I believe some of the commercially available
PEX implementations are based on X11R4 servers.


	Jay Hersh
	MIT X Consortium
--
Hopfen und Malz, Gott erhalts
From: Kall@Mayo.EDU
Subject: Re: two identical workstations on one X drawable
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
Date: Mon, 23 Nov 92 15:19:33 GMT

In article 27692@dsd.es.com, rthomson@mesa.dsd.es.com (Rich Thomson) writes:
>In article <1992Nov19.185901.18830@bmw.mayo.edu>
>	Kall@Mayo.EDU writes:
>>Is it legal to have two identical workstations on one X drawable.
>
>I suppose it can be done, but I don't think the semantics are defined.
>I could be wrong, though.  Perhaps if you explain what you're trying
>to do that makes you want to open two workstations on the same
>drawable, we might be able to suggest a better approach?
>
>>Will these workstations superimpose, if it is legal?
>
>I think the rendering semantics would be difficult to specify.
>
>							-- Rich
>-- 
>		      Don't blame me; I voted Libertarian
>Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
>UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
>Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer


What I am trying to do is display a moving 3d cursor in a PHIGS image, interactively.
Even on a SS10 the traversal of the structures I am moving the cursor through
takes way too long.  I thought having two (exactly the same) workstations on the same
drawable would enable me to have a 3d cursor in one and my other structures in
another and only update the workstation that my 3d cursor is moving in. Not having
been able to implement this idea, I'm not sure if the idea is totally out to lunch?

Any suggestions??  Any better approaches?? (Besides do it outside of Phigs?)



---



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \------------------------------------------------------------\

Newsgroups: comp.windows.x.pex
From: schultz@schultz.kgn.ibm.com (Karl Schultz)
Subject: Re: How to do animation?
Date: Wed, 18 Nov 92 19:52:50 GMT
Reply-To: schultz@vnet.ibm.com
Organization: IBM AWSD Graphics Systems
Keywords: animation

In article <hersh.721941543@xenon.lcs.mit.edu>, hersh@expo.lcs.mit.edu (Jay Hersh) writes:
|> yes double buffering helps in doing animation.
|> With the PEX-SI server you can do client traversal and use the
|> multi-buffer extension to control the double buffering.
|> 
|> Public fixes will be available in the not too distant future
|> to provide double buffering in the server workstation object.

The PEX-SI server can render to pixmaps, so I suppose you could
also pass a pixmap as your target drawable and then copy
the pixmap to the window at the end of each frame.

-- 
Karl Schultz                             schultz@vnet.ibm.com
These statements or opinions are not necessarily those of IBM
Newsgroups: comp.windows.x.pex
From: hersh@expo.lcs.mit.edu (Jay Hersh)
Subject: Re: How to do animation?
Keywords: animation
Organization: X Consortium, MIT Laboratory for Computer Science
Date: Mon, 16 Nov 1992 19:19:03 GMT

azhao@cs.arizona.edu (Qiang Alex Zhao) writes:

>Will "double-buffering" help? And how to do animation on a PEX-SI
>server with no "double-buffering" support? And how to do that on a
>Sun's server with d.b. support?

>Thanks in advance.

yes double buffering helps in doing animation.
With the PEX-SI server you can do client traversal and use the
multi-buffer extension to control the double buffering.

Public fixes will be available in the not too distant future
to provide double buffering in the server workstation object.


	Jay Hersh

--
Hopfen und Malz, Gott erhalts
Newsgroups: comp.windows.x.pex
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: two identical workstations on one X drawable
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
Date: Sun, 22 Nov 92 22:40:46 GMT

In article <1992Nov19.185901.18830@bmw.mayo.edu>
	Kall@Mayo.EDU writes:
>Is it legal to have two identical workstations on one X drawable.

I suppose it can be done, but I don't think the semantics are defined.
I could be wrong, though.  Perhaps if you explain what you're trying
to do that makes you want to open two workstations on the same
drawable, we might be able to suggest a better approach?

>Will these workstations superimpose, if it is legal?

I think the rendering semantics would be difficult to specify.

							-- Rich
-- 
		      Don't blame me; I voted Libertarian
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Newsgroups: comp.windows.x.pex
From: schultz@schultz.kgn.ibm.com (Karl Schultz)
Subject: Re: Can Anyone Help me with PHIGS?
Date: Wed, 18 Nov 92 20:11:03 GMT
Reply-To: schultz@vnet.ibm.com
Organization: IBM AWSD Graphics Systems

In article <Bxv0KL.F6H@dei.unipd.it>, moka@esse3.dei.unipd.it (Enrico Minelle) writes:
|> 	I need to know something about PHIGS systems and PEX.
|> 
|> 	I work with an hp700 hewlett packard machine with HP-PHIGS
|> 	and i have read about PEX but i don't know anything about
|> 	it.
|> 
|> 	Which are the differences between HP-PHIGS and SunPHIGS ?
|> 	What is PEX and can i use pex libraries with my hp-phigs?
|> 
|> 	I will be very happy if someone can post a FAQ or answer me.
|> 	
I think that Rich Thompson has been doing a good job with the FAQ.
Hopefully he can send it to you or will repost it soon.  I don't have a
copy at the monment.

I don't want to get into specifics on HP-PHIGS or SunPHIGS because I may
not have the latest information.  But in general, a vendor can create
their own "vendorPHIGS" implementation that generates PEX.   (PEX is
a protocol - PHIGS is an API that may generate PEX) These particular
implementations require that a X/PEX server be used to display the graphics.
The application can be on the same machine or on two different machines in
a network.  In fact, the machines can be from different vendors, which is the
whole point behind PEX.

As a vendorPHIGS programmer/user, you may not be aware that vendorPHIGS
generates PEX, beyond the requirement that you'll need a PEX server to
see the results.  You would not NEED to use 'pex libraries' if you are
coding in vendorPHIGS.  However, it MAY be possible to use something
like PEXlib inside a PHIGS program to do things that you can't do with
vendorPHIGS.

-- 
Karl Schultz                             schultz@vnet.ibm.com
These statements or opinions are not necessarily those of IBM
From: nf@ecs.soton.ac.uk (Nick Floros)
Newsgroups: comp.windows.x.pex
Subject: PEX documentation
Summary: PEX documentation
Date: 18 Nov 92 14:35:40 GMT


 Hello world, 

  Does anyone out there can recomment any book which explain how to
write applications in PEX ?.

  I am asking this because the documentation which comes with the X11R5 is
rather criptic. 

 Thank you

 Nick Floros

 Concurrent Computation Group
 Department of Electronics & Computer Science,
 University of Southampton.
 England

 e-mail : nf@ecs.soton.ac.uk
From: murthy@cs.uh.edu (Siva Rama Murthy)
Newsgroups: comp.windows.x.pex
Subject: executing PEX on RISC/6000
Date: 19 Nov 1992 07:46:19 GMT
Organization: Computer Science dept.,  Univ. of Houston (Main Campus)
Distribution: world
NNTP-Posting-Host: rodin.cs.uh.edu
Originator: murthy@rodin



     Hello World,
          I  am planning to run some PEX applications on RISC/6000,but i am
getting an error stating that the server does not support compatible PEX
extension .What would be the cause.I would be glad if someone would throw some
light on this problem,since i do not have the RISC display PostScript Reference
 
                                                      Thanks
Newsgroups: comp.windows.x.pex
From: schultz@schultz.kgn.ibm.com (Karl Schultz)
Subject: Re: executing PEX on RISC/6000
Date: Thu, 19 Nov 92 16:27:16 GMT
Reply-To: schultz@vnet.ibm.com
Organization: IBM AWSD Graphics Systems

In article <1efgobINN6l8@menudo.uh.edu>, murthy@cs.uh.edu (Siva Rama Murthy) writes:
|> 
|> 
|>      Hello World,
|>           I  am planning to run some PEX applications on RISC/6000,but i am
|> getting an error stating that the server does not support compatible PEX
|> extension .What would be the cause.I would be glad if someone would throw some
|> light on this problem,since i do not have the RISC display PostScript Reference
|>  
|>                                                       Thanks

If you have AIX 3.2.0, you'll need either a GTO (or model 730) or 
GT4X graphics adapter.  Those are the only two adapters that run PEX at
that level and they really only support the PEX Workstation Subset.

What API does your PEX applications use?  PHIGS?  PEXlib?

Be sure you are starting the server with 'xinit -x pex'.  If you want to
have the PEX extension start with just 'xinit', read /usr/lpp/X11/bin/README.PEX.

PEX 5.1 support for all IBM graphic adapters will be available at year-end with
a Selective Enhancement to AIX 3.2.3.

-- 
Karl Schultz                             schultz@vnet.ibm.com
These statements or opinions are not necessarily those of IBM
Newsgroups: comp.windows.x.pex
From: schultz@schultz.kgn.ibm.com (Karl Schultz)
Subject: Re: PEX documentation
Date: Wed, 18 Nov 92 20:21:58 GMT
Reply-To: schultz@vnet.ibm.com
Organization: IBM AWSD Graphics Systems

In article <nf.722097340@archers>, nf@ecs.soton.ac.uk (Nick Floros) writes:
|> 
|>  Hello world, 
|> 
|>   Does anyone out there can recomment any book which explain how to
|> write applications in PEX ?.
|> 
|>   I am asking this because the documentation which comes with the X11R5 is
|> rather criptic. 

One doesn't really write an application "in PEX".  You use an API that
generates PEX.  For example, the PHIGS library provided on the X11R5 tape
is an example of an API that generates PEX.  If you know PHIGS, you should
be OK with using this library (refer to the man pages and the sample clients
for more help).

O'Reilly & Associates have recently announced this book about this PHIGS:

PHIGS REFERENCE MANUAL: 3D PROGRAMMING IN X
edited by Linda Kosko
1116 pages
ISBN 0-937175-91-9

Another popular PEX API is PEXlib which reached final specification just
this month.  There is a tutorial at the Jan 93 X Tech Conference in
Boston.  Books should be out soon.

-- 
Karl Schultz                             schultz@vnet.ibm.com
These statements or opinions are not necessarily those of IBM
From: marioa@park.bu.edu (Mario Aguilar)
Newsgroups: comp.windows.x.pex
Subject: Could you please email or post FAQ file?
Date: 22 Nov 92 20:14:37 GMT
Distribution: comp
Organization: Boston University Center for Adaptive Systems

Subject line says it all.

Thanks in advance,
--
Mario Aguilar
Center for Adaptive Systems
Dept. of Cognitive & Neural Systems
Boston University
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Finding out the number of 'free' cells in the color map
Keywords: color map, color cells
Date: 15 Nov 92 19:31:25 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <1992Nov13.072332.27682@mailhost.ocs.mq.edu.au>, s8923098@macnab.mqcs.mq.oz.au (Josef WIDJAJA) writes:

> I want to use XAllocColor many times to allocate color cells that can
> be shared by other applications.  But I want to know in advance how
> many of these will be available.  How can I do this ?

You can't.  For one thing, it depends on exactly what colors you're
allocating, because you may match colors that are already allocated and
hence get an already-allocated cell instead of a new one.  Even if you
rephrase it to ask "how many cells are unallocated", there is no simple
way to answer it; you have to try it and see.  (Unless you want to
design and implement an extension, of course.)

> [code example]

> I want to know how many color cells are going to be available so that
> I can adjust the value of maxno, and prepare data[i]'s accordingly.
> More specifically, I want to make sure that result is always
> succesful(true).

Can't be done.  Even if you did contrive somehow to find out how many
cells are free, other clients could allocate cells while you're
working.  You'd have to grab the server to prevent this....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: number of cells vs. the depth
Organization: McGill Research Centre for Intelligent Machines
Distribution: usa
Date: Thu, 19 Nov 92 07:53:23 GMT

In article <17NOV199215075018@mary.fordham.edu>, sbhatia@mary.fordham.edu (SABU) writes:

> if i get a value of 8 when i call XDefaultDepth()
> will i get a value of 256 when i call XDisplayCells()

Not necessarily.  It is not guaranteed, and I have read of servers that
let clients at only 254 of the hardware's 256 cells, reserving two of
them to let it guarantee that the pointer cursor will always be
displayed in the colors it's supposed to be displayed in.

> in general will it always hold that
> the number of DisplayCells == 2 ** depth.

> I am assuming that the visual type is PsuedoColor.

(I assume that should be "PseudoColor".)  No, it does not always hold.
The above is an example; another one might be an overlay visual with a
depth of 2 but only three colormap cells, with the fourth value
reserved for "transparent".

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x,comp.windows.open-look
From: Mikell F. Vander Laan Jr.(mikell@cactus.org)
Subject: SOCKETS , DATAGRAMS, CONNECTIONS NOT XtAddInput
Followup-To: comp.windows.x
Keywords: X , sockets, connectionless
Organization: Capital Area Central Texas UNIX Society, Austin, Tx
Date: Wed, 18 Nov 1992 02:17:31 GMT

THE PONDERING:
How do you really take advantage of sockets and X window.
I'm not talking about that woefully inadequate example in
the FAQ. "use XtAddInput, Try to stay away from blocking
I/O routines, and return quickly from your callback"

THE B.S:
	What a bunch of Fluff!
This XtAddInput seems great if I want to read a file.  But simply
assuming that I can communicate with anouther process over
a period of say 30 seconds consisting of both reads and writes falls a
bit short of reality.

THE STRIAGHT POOP:
What I'm talking about is an Xwindow program:(A) that sits atop
a database on machine (ALPHA). After selecting a host and pushing a button,
it forks or RPCs  a copy of an NONE-XWINDOW program on host (BETA)
that sits atop a different database.  Sockets are registered,
and program (A) becomes the client to program (B), in an attempt
to tranfser some 40 (600 byte records to the database on host (BETA) 
without Blocking the X server! 

THE PREVIOUS ATTEMPT:
In the last week, I've attempted it with CONNECTION BASED socket 
programming but a none fatal server block starts warning and beeping.
None-connection based sockets:(DATAGRAMS) are my next stab. Although 
they qualify as NONE_BLOCKING I/O, I fear that their unreliability in
transmission will mean a whole lot of ACK / NAK type programming
on both ends of the socket. Lastly, I assume I'll also need to 
send most of the data with a WorkProc called from a ClientMessage event
to keep the server moving. Which means I'll additionally
have to have all the data encapsilated and ready to send before
the Event takes place. Plus the nasty WorkProc memory leaks
I've heard of. Does OW3.0 have it too?

THE REQUEST:
In short, can someone point me in the right direction. Is there
an example app avialable at MIT export. ect that is sophisticated enough 
to handle such transport but not reach the complexity of
FTP or TELNET.  or how about a few comments from der mouse.

Please,    NO Deep Thoughts By Jack Handys...
-- 
///////////////////////////////////////////////////////////////////////////
///          /////////////////Mikell F. Vander Laan////////////////////////
///  ///////////  /////////////////////////////////////////////////////////
///  ///////////  ////////////         ////////////////////////////////////