🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get my server to support PEX?

#45
From: Rich Thomson
Date: Mon, 13 Apr 1992 16:21
35 lines
2052 bytes
In article <4565@m1.cs.man.ac.uk>
	lilleyc@cs.man.ac.uk (Chris Lilley) writes:

>However [the VT1000] has no display postscript and certainly no PEX.
>So either
>
>a)  xdpyinfo is in error and asking the wrong questions, or
>b)  the server is in error and giving the wrong answers.
>
>I tend to favour the latter theory.

I just looked at xdpyinfo and it just called XListExtensions, which
returns an array of extension names.  Inside the sample server, the
array is returned based on the extensions which are initialized.  Have
you tried a small test program that tried to query one of these
extensions and/or open it?

>How is an application supposed to determine the capabilities
>of the server??

Exactly the way xdpyinfo does.  However, attempting to open an
advertized extension may fail.  For instance, the PEX extension may
fail on the VT1000 when it doesn't have enough memory/bit-planes, etc.
A better method, I feel, would be to not advertize the extension if
there aren't resources to let it be opened.  The PEX-SI fails to be
listed in the R5 sample server if the init routine for the PEX
extension can't find the PEX fonts.  (I bumped into this when I
compiled the SI for hp300 machines at the U of U.)

						-- Rich
-- 
	Repeal the personal income tax; vote Libertarian in 1992.
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
Technical Details
Message-ID: <1992Apr13.162140.29941@dsd.es.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
References: <4557@m1.cs.man.ac.uk> <1992Apr10.130633.2030@dsd.es.com> <4565@m1.cs.man.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: How to get my server to support PEX?
Message-ID: <1992Apr13.162140.29941@dsd.es.com>
Sender: usenet@dsd.es.com
Nntp-Posting-Host: 130.187.85.21
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
References: <4557@m1.cs.man.ac.uk> <1992Apr10.130633.2030@dsd.es.com> <4565@m1.cs.man.ac.uk>
Date: Mon, 13 Apr 92 16:21:40 GMT
Lines: 35