HDTenEightyP/NetNews huggingface dataset:
From: eastwood@lds.loral.com (Jeff Eastwood 5304)
Newsgroups: comp.windows.x.pex
Subject: PHIGS colormap problems, VMS
Summary: Can't run multiple PHIGS applications.
Keywords: PHIGS 2.3C VAX POSIX
Date: 8 Jan 93 18:25:34 GMT
Distribution: usa
Organization: Loral Data Systems


I'm using DEC's PHIGS rel. 2.3C under VMS/POSIX on a VAXstation 4000. I can't
start a second instance of a trivial application (one that just opens up phigs,
writes a line of text, posts it, and closes.)  The first invocation works
fine. The second (started while the first is still running) fails in the
popenws() call. The workstation we are using is the PPWSTYPE_MOTIF_PEX_WIDGET
type.

The guess is that too many colormaps are being allocated, so that the 2nd invocation
can't alloc it's share. I've tried setting the various logicals, such as
phigs$num_red_for_true, ...blue_for_true, ...green_for_true, and phigs$num_pseudo_colors,
to small values (even 2). This does not help.

Thanks for any ideas you might provide,

Jeff Eastwood
(813)-371-0811 x5304
From: hersh@expo.lcs.mit.edu (Jay Hersh)
Newsgroups: comp.windows.x.pex
Subject: Re: what is PEX5 in MIT-X11R5 patch 19
Date: 5 Jan 93 18:32:13 GMT
Organization: X Consortium, MIT Laboratory for Computer Science

schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt) writes:

>  - Is PEXlib a new API to the PEX-SI server ! Does this mean
>    that the capabilities of the server remain unchanged !?

	Yes


>  - Can someone just point out what are the important new features
>    of the PEXlib which were not available by the old PEX-binding ?

	What old PEX Binding?? The only previously available API
	was the PEX-SI PHIGS API which was a PHIGS implementation 
	and thus required you to use the PHIGS C Binding and be
	subject to all PHIGS policy rather than allowing access
	the the Protocol directly

 
>  - The problem in using PEX API is that it is very much low level
>    interface. This was the reason why I mentioned that I use the
>    "phigs API from MIT X11R5". Is there any similar "high level
>    interface" to this PEXlib ??

	There are some older APIs available for anonymous ftp
	from export.lcs.mit.edu in the contrib directory.
	There may even be newer ones developed on top of PEXlib
	available there I don't know, but I guess someone is
	working on something.

>  - Exist there some demonstration programs ?

	If you look at Tom Gaskins PEXlib book there are some example
	programs that are publicly ftp-able from someplace. I don't
	recall where, but it is listed in the book.



	Jay Hersh
	MIT X Consortium

--
Hopfen und Malz, Gott erhalts
From: schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt)
Newsgroups: comp.windows.x.pex
Subject: what is PEX5 in MIT-X11R5 patch 19
Date: 4 Jan 1993 15:36:13 GMT
Organization: Univerity of Karlsruhe (FRG)
Distribution: world
NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de

Hi experts,

I using the PEX-SI server and the phigs API from MIT X11R5
on my SparcII. As you know the PEX-SI server does not support

   - HLHSR_MODE
   - no monochrome screens
   - ..

Since some days we have installed MIT-X11R5 patch ..,19,20,21.
In patch 19 a new PEX library is included (PEXlib or PEX5 called).

1. Question:
How can I use that library ? What are the new features ?
Is there a PHIGS API available to this implementation ?
Does patch 19 changes my PEX server (or are there now 2 servers) ????

2. Question:
I am using PEX-SI and MIT-X11R5 phigs in an C++ environment 
(on the top of InterViews [this is another problem. but now I 
have a first version of a PEXGlyph]. To use the phigs-functions I
need function prototypes. For MIT-X11R5 phigs I found no prototypes.
Therefore I edited the file mit/extensions/lib/PEX/c_binding.
Is there s.th. similar for the new library (better for an API) ??

Thank you for any hint

____________________________
     _ __ _ __  _ 
    ' )  ) )  ) / ,'              ... Martin Schmidt
     /--' /--' /-<                    RPK, University of Karlsruhe
    /  \ /    /   \                   schmidt@rpksun1.mach.uni-karlsruhe.de

"Never trust a programmer that carries a screwdriver" - George Morrow
_______________________________________________________________________________

Newsgroups: comp.windows.x.pex
From: joes@tgs.com (Joe Stewart)
Subject: Re: PHIGS colormap problems, VMS
Keywords: PHIGS 2.3C VAX POSIX
Reply-To: joes@tgs.com
Organization: Template Graphics Software
Distribution: usa
Date: Mon, 11 Jan 1993 14:35:05 GMT

In article <1993Jan8.182534.14955@lds.loral.com>, eastwood@lds.loral.com (Jeff Eastwood 5304) writes:
|> 
|> I'm using DEC's PHIGS rel. 2.3C under VMS/POSIX on a VAXstation 4000. I can't
|> start a second instance of a trivial application (one that just opens up phigs,
|> writes a line of text, posts it, and closes.)  The first invocation works
|> fine. The second (started while the first is still running) fails in the
|> popenws() call. The workstation we are using is the PPWSTYPE_MOTIF_PEX_WIDGET
|> type.
|> 
Jeff: 

Sorry I can't solve your current problem.  But a question poped into my mind.
Please don't take offense:  

   Is this an example of why many developers do their best to buy software 
   from software developers rather than from hardware manufacturers?

Don't forget my bias:  TGS sells FIGARO+, the leading hardware independent
implementation of the ISO/ANSI PHIGS standard.  And FIGARO+ doesn't have
any problem with simultaneous applications....

Regards,

Joe

-- 
---------------------------------------------------------------------
 Joseph Stewart
 Senior Applications Engineer (FIGARO+, FIGt, FIGraph)
 Template Graphics Software (TGS)
 959 Concord Street 
 Framingham MA 01701-4613 (USA)
 508-872-8700 x340
 joes@tgs.com -- tgs!joes
---------------------------------------------------------------------
From: eastwood@lds.loral.com (Jeff Eastwood 5304)
Newsgroups: comp.windows.x.pex
Subject: Re: PHIGS colormap problems, VMS
Keywords: PHIGS 2.3C VAX POSIX
Date: 12 Jan 93 14:35:28 GMT
Distribution: usa
Organization: Loral Data Systems

In article <1993Jan8.182534.14955@lds.loral.com> eastwood@lds.loral.com (Jeff Eastwood 5304) writes:
>
>I'm using DEC's PHIGS rel. 2.3C under VMS/POSIX on a VAXstation 4000. I can't
>start a second instance of a trivial application (one that just opens up phigs,
>writes a line of text, posts it, and closes.)  The first invocation works
>fine. The second (started while the first is still running) fails in the
>popenws() call. The workstation we are using is the PPWSTYPE_MOTIF_PEX_WIDGET
>type.
>
>The guess is that too many colormaps are being allocated, so that the 2nd invocation
>can't alloc it's share. I've tried setting the various logicals, such as
>phigs$num_red_for_true, ...blue_for_true, ...green_for_true, and phigs$num_pseudo_colors,
>to small values (even 2). This does not help.
>
>Thanks for any ideas you might provide,
>
>Jeff Eastwood
>(813)-371-0811 x5304
>

And the answer is: don't try to run > 1 instance, when the executable is 
linked with /DEBUG. Debug executable size is ~10M; non-debug version
is ~1.5M.

Kudos to Keith Baccki for suggesting this solution.
From: schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt)
Newsgroups: comp.windows.x.pex
Subject: Re: what is PEX5 in MIT-X11R5 patch 19
Date: 5 Jan 1993 10:56:14 GMT
Organization: Univerity of Karlsruhe (FRG)
Distribution: world
NNTP-Posting-Host: nz11.rz.uni-karlsruhe.de

Hi,
just to clarify my first question

  |> I using the PEX-SI server and the phigs API from MIT X11R5
  |> on my SparcII. As you know the PEX-SI server does not support
  |> 
  |>    - HLHSR_MODE
  |>    - no monochrome screens
  |>    - ..
  |> 
  |> Since some days we have installed MIT-X11R5 patch ..,19,20,21.
  |> In patch 19 a new PEX library is included (PEXlib or PEX5 called).
  |> 
  |> 1. Question:
  |> How can I use that library ? What are the new features ?
  |> Is there a PHIGS API available to this implementation ?
  |> Does patch 19 changes my PEX server (or are there now 2 servers) ????
  |>


> You seem to think that PEXlib might add some new features to PEX.
> No.  PEXlib is a new API that gives you complete access to the
> PEX protocol.  Some of its advantages over PHIGS is that it is
> policy free, provides immediate mode capablities, and it integrates
> very cleanly with your Xlib and toolkit applications.

For me it is still unclear:
  - Is PEXlib a new API to the PEX-SI server ! Does this mean
    that the capabilities of the server remain unchanged !?
  - Can someone just point out what are the important new features
    of the PEXlib which were not available by the old PEX-binding ?
  - The problem in using PEX API is that it is very much low level
    interface. This was the reason why I mentioned that I use the
    "phigs API from MIT X11R5". Is there any similar "high level
    interface" to this PEXlib ??
  - Exist there some demonstration programs ?

Thanks for you answers Ralph. You must know that I am a "user" who is
not interessted in low-level protocol details. What I am looking for is
a high-level 3D-graphic library and a c/c++ programming interface. And
all of this should be for nothing (public domain).

Ciao
Martin
From: hersh@expo.lcs.mit.edu (Jay Hersh)
Newsgroups: comp.windows.x.pex
Subject: Re: HELP: phigs compiling
Date: 11 Jan 93 19:42:28 GMT
Organization: X Consortium, MIT Laboratory for Computer Science

cegarcia@athena.mit.edu (Carlos E Garcia) writes:

>I'm getting compiling errors saying "PFLAG_ALWAYS", "Pint_style", and other
>variables are undefined.  The code is an example from the Phigs Programming
>Manual.  I've included phigs.h, and i've greped for these terms in all the 
>.h files and .a files in the locker.  Where are these variables defined?


Sigh, PHIGS changed a number of constants in the C Binding. These fixes
were made in the PEX SI PHIGS API, but have not yet been made public.
You can either check with the ANSI PHIGS binding to see what the proper
new values are in order to modify your phigs.h accordingly or wait
just a few more weeks and we'll be making fixes for the SI available
publicly (sorry our policy is not to announce specific dates but we know
it's overdue...)

	Jay Hersh
	MIT X Consortium

--
Hopfen und Malz, Gott erhalts
From: kiki@csa.bu.edu (Keith Baccki)
Newsgroups: comp.windows.x.pex
Subject: Re: PHIGS colormap problems, VMS
Keywords: PHIGS 2.3C VAX POSIX
Date: 11 Jan 93 18:41:22 GMT
Distribution: usa
Organization: Computer Science Department, Boston University, Boston, MA, USA

In article <1993Jan11.143505.5065@lpi.liant.com> joes@tgs.com writes:
>In article <1993Jan8.182534.14955@lds.loral.com>, eastwood@lds.loral.com (Jeff Eastwood 5304) writes:
>|> 
>|> I'm using DEC's PHIGS rel. 2.3C under VMS/POSIX on a VAXstation 4000. I can't
>|> start a second instance of a trivial application (one that just opens up phigs,
>|> writes a line of text, posts it, and closes.)  The first invocation works
>|> fine. The second (started while the first is still running) fails in the
>|> popenws() call. The workstation we are using is the PPWSTYPE_MOTIF_PEX_WIDGET
>|> type.
>|> 
>Jeff: 


	Any error messages (PHIGS, X, or otherwise)? Or does it just drop out?
I know I'm developing rather large molecular dynamics code with a Motif/PEX 
workstation on DECstation 5000's using their PHIGS (2.3a I think). The
resulting executable is LARGE to say the least due to the lack of shared
libraries I suppose. Stripped, the code is 6.5 meg. X may be free, but it
sure is expensive! Anyway, if I try to run two distinct copies of the
same program, the machine runs out of swap space/memory/whatever else.
However, I AM able to copy simulations from within the code itself,
and open several workstations without a problem. Might your problem be
memory related (ie, a lack thereof when you try to load more than one
executable into user space)??? 


				keith
Newsgroups: comp.windows.x
From: farshid@baum.NoSubdomain.NoDomain (Farshid Ketabchi)
Subject: Re: JPL XWindows library
Keywords: X xwindows library
Organization: Bellcore
Date: Tue, 12 Jan 93 14:04:53 GMT

In article <1993Jan11.154958.20223@tigger.jvnc.net>, sda@tigger.jvnc.net (Systems Design Associates) writes:
|> About a year ago, I worked with a public domain XWindows development
|> library from JPL (David Smyth) that allowed specification of the 
|> User Interface in the resource file.  I found this an extremely 
|> useful and fast way to development my application.  Unfortunately,
|> I failed to take the information with me from that job and now I need to
|> relocate it.  If someone can send me the name of the package and an
|> ftp site I would be greatly appreciative.
|> 
|> Derek Fields
|> (derek@sysdesign.com)
|> 

I think you're talking about WCL (Widget Creation Library).
Don't have the ftp site address but his email is:

	david@devvax.jpl.nasa.gov

If you have access to archie, then you should be able to do a query
on wcl and get the ftp sites for it.

Farshid Ketabchi
farshid@inoms.bellcore.com
Newsgroups: comp.windows.x
From: umar@compsci.cas.vanderbilt.edu (Prof. A.S. Umar)
Subject: xmailtool Folder button does not highlight? 
Reply-To: umar@compsci.cas.vanderbilt.edu
Organization: CCIP, Vanderbilt University
Date: Thu, 7 Jan 1993 21:45:08 GMT

I am running xmailtool on my rs/6000 everything is working fine except 
I cann't figure out how to get the Folder button to highlight. Under no
circumstance I can get it to function. Is there a trick to this? Does
one have to put something in .mailrc. I tried set Folder=/u/umar/Mail
which is the directory where I keep my mail folders.
Thanks
-- 
umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
Tel: (615) 322-2459                     Vanderbilt University
Fax: (615) 343-7263                     Nashville, TN 37235
Newsgroups: comp.windows.x
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: Re: Cheapest X Option ?
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Distribution: comp
Date: Sun, 10 Jan 1993 23:31:54 GMT

In article <1993Jan10.183905.1571@rs6000.cmp.ilstu.edu> jliddle@rs6000.cmp.ilstu.edu (Jean Liddle) writes:
>In article <C0MnMx.G8u@quadsys.com> roland@quadsys.com (Roland Besserer) writes:
>>chrisw@castle.ed.ac.uk (C Walton) writes:
>>: I don't know if this is the right group for this post but:
>>: 
>>: Can anyone reccomend to me the cheapest way I can get an X Windows
>>: setup?  I have been told that Desqview/X on the PC is the one I
>>: should go for?
>>: 
>>: Thanks in advance - Chris (cdw@castle.ed.ac.uk or cdw@dcs.ed.ac.uk)
>>
>>You should. See my post under 'Running X on a PC'
>>
>
>If using DOS is not a requirement, but using the i386/i486 hardware is,
>then linux + XFree86 may be a very viable option for you.
>
If one does not need to use DOS and Unix simultaneously, then Linux or 386bsd
is a viable option. You can get 386bsd at agate.berkeley.edu:/pub/386BSD
as well as XFree86 for 386bsd. At least under 386bsd, one can always use a
dual-boot manager to bring up dos or 386bsd. Additionally, you will have nfs
so that you can share disk resources in your environment. For instance, one
of the 386bsd systems is connected to the internet and we use it a lot to
compile large packages such as X, interviews, tk, the kernel, etc..

Enjoy,


-- 
This message brought to you by the letters X and S and the number 3
Amancio Hasty           |  
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/incoming
Newsgroups: comp.windows.x
From: aad@siemens.com (Anthony Datri)
Subject: Re: more dumb questions from a dumb beginner
Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ
Date: Sat, 9 Jan 1993 03:26:18 GMT

>telnetting does not "carry across" the connection the terminal type of
>the local tty.

I believe that it's an option.  Some telnets will, some won't.


>environment variable is "dialup," "network," or similar and that
>	$ stty -a
>reports rows = 0 and columns = 0.  more, vi, and emacs depend on these 

>Set "TERM=xterm" and "stty rows xx columns yy" after telnetting to machine B.

Leave the stty values at 0.  termcap and SIGWINCH should do the rest.

-- 

======================================================================8--<
From: bane@vtx.ma.man.ac.uk (Michael!)
Newsgroups: comp.windows.x
Subject: Re: An X mirror program
Date: 12 Jan 93 01:23:09 GMT
Reply-To: bane@vtx.ma.man.ac.uk
Organization: Magic Michael's Mushroom Factory.

In article <C0p380.5uF@encore.com>, tma@encore.com (Thanh Ma) writes:
|> I just wonder if there is an X program that will allow a remote user
|> to see what is going on the host. (as if he was on the host)
|> A typical application is that when an operator at the console wants
|> to inform the administrator that he sees something wrong at the console,
|> the administrator should be able to remotely login and sees what
|> the operator is seeing.( some kind of a mirror window )
|> 
|> Thanks for any pointers.
|> 
|> --
|> thanh ma
|> tma@encore.com


try:

local_host$ rsh remote_host screendump | screenload


(or pipe screendump through rasfilter8to1 before screenload if remote_host
is col and local_host aint)


Micahel
Newsgroups: comp.windows.x
From: zwka01@hou.amoco.com (Bill Aylor)
Subject: Re: Any Experiences with X over serial lines	
Reply-To: zwka01@hou.amoco.com
Organization: Amoco
Date: Wed, 6 Jan 1993 20:24:23 GMT

I think Bill Berry (socon 321-7083) in ESS has tried some experiments with X on a serial line some time ago.

Newsgroups: comp.windows.x
From: chris@ods.com (Chris Atkins)
Subject: Re: timers
Organization: Optical Data Systems, Inc.
X-Newsreader: TIN [version 1.1 PL8]
Date: Mon, 11 Jan 1993 17:23:59 GMT

Gary Lasseter (lasseter@lambda.msfc.nasa.gov) wrote:

: I'm working on a real-time telemetry display application supporting NASA/MSFC.  I'm looking for information regarding the most accurate clock available to use in a Motif/X-windows environment.  I'm aware of the XAppTimeout function, but this is not as accurate as I want for our application.


Gary,
  You are correct about the Xt timers not being extremely accurate.  I believe
the correct questions are:
1)How can you get accurate timers in a non realtime environment(I assume you arerunning in a unix environment)?  You can't.
2)Assuming you could find a solution to 1, how can you get this to work in the
Xt environment?

Chris Atkins
chris@ods.com
Newsgroups: comp.windows.x
From: allan@jade.ab.ca (Jeff Allan)
Subject: Motif libraries for MS-Windows or OS/2
Organization: Jade Simulations International, Inc.
Date: Tue, 5 Jan 1993 23:41:20 GMT

Does there exist a set of libraies for motif, xt, and xlib which will compile
a Motif program that can be run under MS-Windows, or OS/2 Presentation Manager?

We are developing applications which must run both on X and on either or both 
non-Unix PC window systems. We are using Motif because our primary development
and target platforms are Unix workstations (Sparc, HP9000, RS6000).
If possible we would like to use one of the X/Motif GUI builder tools such as
UIM/X or TeleUse which produce Motif/C as output.

We are also considering non-X-based cross-platform GUI development systems but
would prefer to support the Motif look and feel if possible.

Please email your replies and I will summarize to the net.


-- 
------------------------------------------------------------------------------
Jeff Allan				Jade Simulations International Corp.
Product Manager				Third Floor, 1422 Kensington Road N.W.
					Calgary, Alberta, CANADA  T2N 3P9
From: cq377@cleveland.Freenet.Edu (David C. Williss)
Newsgroups: comp.windows.x
Subject: tiny windows
Date: 6 Jan 1993 05:30:42 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: cq377@cleveland.Freenet.Edu (David C. Williss)
NNTP-Posting-Host: hela.ins.cwru.edu


I just got a warning that I'll be disconnected in 5 min, so this'll
be quick.

I've got a problem which shows up mostly when using twm, but has
been observed with mwm as well.  When using interactive placement,
it's possible to get very, very small windows (width == height == 0)

Seems to have something to do with timeout talking to window manager,
as it only happens when system is bogged down, or when running on
a PC (which is always bogged down, even with just one user)


Has anybody else had this problem?  Has anybody solved it?
Please help.


-- 
		-Dave Williss
---------------------------------------------------------------------------
Standards are great!  Everybody should have one of their own!
Newsgroups: comp.windows.x
From: jwanek@zebra.it.uswc.uswest.com (Jim Wanek)
Subject: X property size limitation?
Organization: U S WEST Communications
Date: Wed, 6 Jan 1993 20:42:08 GMT

When I run the command :

	xrdb -load Xdefaults

I get the following error from X:

	X Error of failed request:  BadLength (poly request too large or
	internal Xlib length error)
		Major opcode of failed request:  18 (X_ChangeProperty)
		Minor opcode of failed request:  0
		Resource id in failed request:  0x80067
		Serial number of failed request:  3
		Current serial number in output stream:  5

Assume the format/syntax of the Xdefaults file is correct.  However, it
is quite large (approx. 200K bytes), as it was generated by a user
interface builder tool.  Breaking the file up into smaller files and doing
xrdb -merge on each of the smaller files eventually results in the same error message.

Am I running up against a limit in the X server as to the maximum size
that the RESOURCE_MANAGER property can be?  If so, is there anything
I can do about it?  I am running X11R4, SunOS4.1 on a Sun SPARCstation2
with 48Mb memory.  The X server was started without the -ld option.

Thanks in advance.

Please reply to:	Jim Wanek
			jwanek@lookout.mnet.uswest.com
From: drew@visionware.co.uk (Andy Walker)
Newsgroups: comp.windows.x
Subject: Re: PC-Xview Remote for Windows and DOS
Date: 8 Jan 93 08:49:53 GMT
Organization: VisionWare Ltd., Leeds, UK
X-Newsreader: Tin 1.1 PL4

cdost+@pitt.edu (Constantin D Orogo) writes:
: 
: Anybody out there have used PC-Xview XRemote for Windows or for DOS.
: NCD's brochure claims it's 10 times faster than SLIP or PPP. What
: applications have you ran on that shows decent performance. Also,
: anybody used a Silicon Graphics as the host.

VisionWare's XVision was the first MS-Windows based PC XServer to
licence the XRemote software from NCD.
We make similar claims about the increase in speed over SLIP/PPP
- (its the same protocol and at the host end the same code :)
We use XRemote in-house and for staff to dial into the office.
There are certain types of application which perform _better_ than
others when using XRemote:
Apps which do a lot of line drawing / textual operations are fine
because many of the messages are similar and the redundancy can be 
stripped out.
Apps which use a lot of imaging - eg sending of big bitmaps, perform
less well because all the data has to squeeze thru the serial line.

See also the recent useful posting on Comp.windows.x from Jim Fulton (NCD)
on 01-Jan-93 (Re: What is XRemote? - and notice about LBX).

Hope this helps
Andy

--
Andy Walker
VisionWare Ltd                  EMAIL   : drew@visionware.co.uk
57 Cardigan Lane                PHONE   : +44 (0)532 788858 Ext. 204
Leeds, LS4 2LE, England         FAX     : +44 (0)532 304676
Newsgroups: comp.windows.x
From: atejani@GHG.Hou.TX.US
Subject: Re: What is a Drawable
Organization: The Internet
Date: Mon, 4 Jan 1993 20:18:02 GMT


Drawable is either a Window ID or a Pixmap ID returned by the X Server.
See volume 1 of O'Reilly section 2.3.3 pg 32 in R5 version.

Azmat

--
Azmat A. Tejani                                 email: atejani@ghg.hou.tx.us
GHG Corporation
1300 Hercules, Suite 111                        Phone: 713-488-8806
Houston, TX  77058                              Fax  : 713-488-1838
Newsgroups: comp.windows.x