HDTenEightyP/NetNews huggingface dataset:
From: sbhatia@mary.fordham.edu (SABU)
Subject: company = G5G, product =  gphigs
Organization: Fordham University
News-Software: VAX/VMS VNEWS 1.41    
Date: Tue, 28 Jul 1992 14:24:00 GMT
X-Posted-From: mary.fordham.edu
X-Posted-Through: sol.ctr.columbia.edu

Hi

   Recently I heard about a Phigs implementation called gphigs, from G5G
(France). Does any one know if they have sales centers in the U.S.
Whether their documentation etc, is in French or is it also available in
English. Plus any experience any one has had using this product.


thanks,

sabu

////////////////////////////////////////////////////////////////////////
/   Internet:  SBHATIA@mary.fordham.edu                                /
/   BITnet:    SBHATIA@FORDMULC                                        /
/                                                                      /
/                                                                      /
////////////////////////////////////////////////////////////////////////
Newsgroups: comp.windows.x.pex
From: najafi@hood.ee.umn.edu (Hossein Lari-Najafi)
Subject: c++ and PHIGS
Organization: University of Minnesota, Minneapolis, EE dept.
Date: Thu, 23 Jul 1992 16:24:47 GMT

I am trying to use PHIGS for very simple animation in a c++ software
package.  Since the PHIGS header files do not follow the sintax of
c++, I am unable to integrate my c++ package and the PHIGS routins.

I would very much appreciate any help in this regard.

	* If you know of a c++ version of PHIGS,
	* have used PHIGS in a c++ environment
	* or, have a simple animation package

be kind and send me an e-mail at the following address.

Hossein Larinajafi (Ph.D.)
1054A 27th Ave. S.E.
Mpls., MN, 554141

E-mail(U of M)  : najafi@everest.ee.umn.edu
From: najafi@matterhorn.ee.umn.edu (Hossein Lari-Najafi)
Subject: Distingushing between the front and back faces of a quad-mesh
Organization: University of Minnesota, Minneapolis, EE dept.
Date: Fri, 31 Jul 1992 17:45:51 GMT

I am trying to use the PHIGS' quadrilateral mesh. For visualization reason, 
I would like to give the back side of it the mesh PSTYLE_SOLID.  I refered
to the example on page 240-241 of the Gaskins' book, it make sence, but it
does not work (believe me, I ftp'd the example and ran it).  

Is there anyone out there that knows how to do this?  If so, I will
appreciate it if you send me a note in this regard at the following e-mail.

Thank you much

Hossein Larinajafi
najafi@everest.ee.umn.edu
Newsgroups: comp.windows.x.pex
From: jjehlers@flapjack.dsd.es.com (Jennifer Ehlers)
Subject: Re: PEX Documents
Organization: Evans & Sutherland
Date: Thu, 30 Jul 92 16:17:53 GMT

From your questions, I think you would do best with a good book
on PHIGS.  There is an excellent book published by O'Reilly.  It
is "PHIGS Programming Manual" by Tom Gaskins.  You should be able
to get it from your favorite technical book store.
-- 
  Jennifer Ehlers                   
  jjehlers@dsd.es.com  		    
  Evans & Sutherland Computer Corp. 
  Salt Lake City, Utah
From: inb@creare.COM (Ian Brown)
Newsgroups: comp.windows.x
Subject: Re: fork()ing in an event loop??
Date: 22 Jul 92 18:07:55 GMT
Reply-To: inb@creare.UUCP (Ian Brown)
Organization: Creare Inc., Hanover, NH

In article <1992Jul14.202317.10570@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
:>> I have a grapher that gets input from stdin.  Once it has been told
:>> to plot, it opens an window, and plots.  Then of course I go into an
:>> event loop that processes expose events.  The problem is, I want to
:>> process these events at the same time (and in the background) as I
:>> get more lines of input from stdin.  I think what I need to do is
:>> fork(), but I don't really know how to do it.
:>
:>If you're using Xt, then you just use XtAppAddInput to add file
:>descriptor 0 as a source of input, then have its callback read and
:>process the lines.

Note that this doesn't always work very well.  On some systems, your event
handler will be called constantly, regardless of whether or not any new data is
ready to be read on stdin.  If the code needs to be portable, an alternative
would be to use a timer (XtAppAddTimeout) and perform non-blocking I/O to
actually read the file (you could do the non-blocking I/O in the handler for
XtAppAddInput, but you will effectively have a busy loop.)

I found out what a problem this can be when trying to port a routine that used
XtAppAddInput from an HP-UX machine (where it worked correctly) to a Sun
machine (where it didn't).  Since my code was expecting to find something to
read, it would lock up in the event handler when nothing was available.

In my case, I was using pipes for the I/O.  If you aren't using pipes, this may
or may not apply (I don't remember offhand whether this is documented in the X
toolkit books or under select() and don't feel like searching unless someone
really wants me to.)





-- 
Ian Brown
inb@creare.com
Newsgroups: comp.windows.x,comp.unix.sysv386
From: ice@skynet.uucp (Ice)
Subject: Drivers for ATI VGAWONDER??
Organization: Industrial Cybernetics
Date: Wed, 29 Jul 1992 02:20:34 GMT


Please, if you know where drivers are that can be used with
X386 1.2E and an ATI VGAWONDER with 512K (a popular card- why
haven't I found drivers?), please tell me about it.

Responses forwarded.

Thanks in advance for any help. 


Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Kills from Window Manager
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 24 Jul 92 18:28:35 GMT

In article <1992Jul19.104259.6128@pictel.com>, oj@pictel.com (Oliver Jones) writes:
> In article <1992Jul18.132220.18254@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>> If an application would simply exit when asked to delete its window,
>> and it has no requirement for user interaction during its cleanup
>> operations, if any, I see no reason why it should bother
>> participating in WM_DELETE_WINDOW. ...  Do you see any such reason?

> Yes.  If the wm uses XKillClient to get rid of the application, then
> the application's route to oblivion is through its XIO error handler.
> [...this produces a possibly disturbing error message...]

So install an I/O error handler that exits quietly instead of printing
a noisy complaint first.  (Or implement WM_DELETE_WINDOW, but the
former requires significantly less code, at least for my programs.)

> If you're using Athena, it takes less than a dozen lines of code to
> get this right.

Even in bare Xlib, the I/O error handler solution takes only two lines,
if you're willing to write the I/O error handler as one line:

myIOerror(d) Display *d; { exit(0); }

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Writing your own Screen Saver under X???
Keywords: screen saver
Organization: McGill Research Centre for Intelligent Machines
Date: Sat, 25 Jul 92 10:44:38 GMT

In article <1992Jul20.142330.22230@panix.com>, miner@panix.com (Ed Miner) writes:

> I am trying to write my own screen saver under X to replace the blank
> screen that comes up.  I know with xset , you can turn on the screen
> saver, so that a X logo will float around the screen.  My question is
> how do you change this so that a program that I write will be
> displayed instead?

It is not possible to do it right without adding an extension to the
server.  I believe one exists by the name of xidle.

Without such, you have to approximate it by selecting for events on
other applications' windows and hoping you don't lose by missing
ButtonPress events.  It ain't pretty.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: roegel@loria.fr (Roegel Denis)
Newsgroups: comp.windows.x
Subject: STOP: text translations in Athena widget
Date: 30 Jul 92 11:20:48 GMT
Organization: CRIN (CNRS) Nancy - INRIA Lorraine


Hello netters,


This is a little question about the translations (of an Athena widget). 

I have a line looking

static String   text_translationsT = "\
	<Key>Delete:    DeleteT() end-of-file() delete-previous-character()\n\
        ...


I would like to call delete-previous-character() only conditionnally, 
depending on the result of DeleteT(). Let's assume that DeleteT() sets an 
integer 'yes' either to 0 or 1, and that I want to call 
delete-previous-character() when 'yes' is equal to 1.

How can I achieve it ?

Thanks very much in advance,

Denis.  INTERNET e-mail: roegel@loria.fr
Newsgroups: comp.windows.x
From: "David Herron" <david@twg.com>
Subject: Re: X server for MS-Windows?
Sensitivity: Personal
Encoding:  23 TEXT , 4 TEXT 
Conversion: Prohibited
Organization: The Wollongong Group, Inc., Palo Alto, CA
Conversion-With-Loss: Prohibited
Date: Wed, 29 Jul 1992 18:35:25 GMT

Looking outside the narrow valley which is MS-Windows for a second ...

The article & brochure on DesqView/X in the August BlYTE made it
sound really interesting.  

There is an X server in there.  An Xt compatible toolkit which allows
for local X applications.  Any DesqView/X application can display itself
on any X display, even ones which are currently active.  They set up
something so that MS-Windows displays into an X window, allowing for it
to be directed to any X display.  Of course any X application can display
on a DesqView/X screen.  &c

Their window manager looked pretty silly.  Fortunately you can get an mwm
or olwm on DesqView, but it is warned that your hair will fall out if
you do so.

Anybody know anything more?  So far it sounds good enough that this wizened
DOS hater was recently heard to say:

	"This almost makes me interested in buying a DOS system to
	 run it on.."

And here I'd been ignoring their booths at trade shows ...

<- David Herron <david@twg.com>, Just: Another E-Mail hacker ...
<-
<- As for the prevalence of gratuitous stupidity in modern life, well,
<- need I say more than "MS-DOS"? -- Bill Janssen
Newsgroups: comp.windows.x
From: bturner@cv.hp.com (Bill Turner)
Subject: Re: Xt/Motif and Visuals
Organization: Hewlett-Packard Company, Corvallis, Oregon USA
X-Newsreader: Tin 1.1 PL4
Date: Tue, 28 Jul 1992 00:01:08 GMT

> Using the X-toolkit or Motif, is there a way I can create a
> widget and window and specify the visual being used?  This seem
> trivial with X since the visual is an argument to the XCreateWindow
> call, but I'm hunting for the incantation for Xt and Motif and,
> obviously, have not found it yet.  Any help would be greatly
> appreciated.

I'm posting as well as mailing to you, since I think there are others
who would be interested in this.

The answer is, yes and no, currently more no than yes.

Xt is set up so that a shell widget can be created with a different
visual than the default visual; Motif 1.1 is partially set up to handle
this, but it doesn't work.  Motif 1.2 will work correctly.

What happens is that any child of the shell will inherit the shell's
visual.  So you would create a hierarchy from the shell down in the
desired visual (sorry, can't mix-n-match visuals in the same hierarchy).
Under Motif 1.1, a number of resources such as tiles were cached, but
these were all created off the default visual, so you'd get a "BadMatch"
error trying to create widgets off a different visual.  In Motif 1.2,
this will work correctly.

--Bill Turner (bturner@cv.hp.com)
HP User Interface Technology Division, Corvallis
From: martin@trchp.eas.asu.edu (Ross Martin)
Newsgroups: comp.windows.x
Subject: keyboard repeat rate in X11R5
Date: 28 Jul 92 22:38:18 GMT
Distribution: na
Organization: Arizona State University

Does someone know how to change the keyboard repeat holdoff and
keyboard repeat rate on a Sun running straight X11R5?

Thanks in advance.

--Ross Martin
martin@trchp.eas.asu.edu
From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan)
Date: Fri, 24 Jul 1992 16:23:20 GMT
Subject: Re: Can you hide or lock your original xterm???
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.windows.x

> I am writting a Motif program to be run on a touch screen terminal.
> Unfortunately, even though I can keep the user from exiting the program,
> I cannot keep him or her from grabbing the original xterm and selecting
> close (which logs the terminal completely off).  Is there a way to hide this
> icon or lock it without stopping the application?
> 
> Thank you in advance ;-)
> 
> Robert Buccigrossi

You could try something like this.

#include <X11/Xlib.h>
main()
{
	Display *display = XOpenDisplay("");
	XUnmapWindow(display, (Window) atoi(getenv("WINDOWID")));
	XSync(display, 0);
	sleep(5);
	XCloseDisplay(display);
}

Mike Stroyan, mike_stroyan@fc.hp.com
Newsgroups: comp.windows.x
From: carson@cs.columbia.edu (Carson A. Gaspar)
Subject: Re: Problems with Type1 font support - X11R5p14 SunOs 4.1.2
Organization: Columbia University Department of Computer Science
Distribution: usa
Date: Mon, 27 Jul 1992 18:51:42 GMT
X-Posted-From: shadow.cs.columbia.edu
X-Posted-Through: sol.ctr.columbia.edu


Looking at fix-13, it seems that get_bitmaps and get_extents have been
killed.  All the other font code has just had all references removed,
with no other changes as far as I can tell.

If anyone can tell me what's going on, please do.  For now, I'll just
comment out the offending lines and pray.

-- 
			    Carson Gaspar
			carson@cs.columbia.edu
From: scott@toro.MTS.ML.COM (Scott Strool)
Newsgroups: comp.windows.x
Subject: blank background
Keywords: background
Date: 30 Jul 92 19:23:00 GMT
Organization: Merrill Lynch Municipal Analytics & Systems, NY

Is there any way that I can have my screen go 'blank' when inside a window.
except ofcourse for the window my cursor is in. Then when I move to the window
manager background the icons and other windows re-appear. This way I can
have a less clutered screen when in my editor or program. 

thanks


-- 
Scott Strool	       /\
Software Consultant   /**\
Merrill Lynch        /_II_\
scott@ml.com  (212) 449.1456
Newsgroups: comp.windows.x
From: roband@monu6.cc.monash.edu.au (Robert Andrew)
Subject: File format for xpic
Keywords: xpic
Organization: Monash University, Caulfield Campus
Date: Wed, 29 Jul 1992 08:10:13 GMT


Does anyone out there have the file format for xpic.

Thanks in advance.
-- 

Robert Andrew
Department of Software Development
Monash University, Caulfield Campus
Newsgroups: comp.windows.x
From: brian@nds.com (Brian Dockter)
Subject: Re: benchmark for xserver
Organization: Northwest Digital Systems
Date: Tue, 21 Jul 92 17:56:26 GMT
X-Newsreader: Tin 1.1 PL3

raney@teal.csn.org (Scott Raney) writes:
: In order to do double-buffered animation, you *have* to draw into
: offscreen memory (or count on non-portable server extensions).  The

You do not *have* to draw into offscreen memory to do double buffered
animation. Another approach which is faster is to draw into the
window and flip the colormap to show the new image.  Of course this
assumes that you have a writable colormap (i.e. GrayScale, PseudoColor,
or DirectColor).

Just run "ico -dbl -p8" to see this method in action.

Brian
-- 
Brian Dockter                    | Northwest Digital Systems
UUCP: uunet!nds!brian            | Voice: 206-524-0014
Internet: brian@nds.com          | FAX: 206-524-0018
Newsgroups: comp.windows.x
From: hammer@fmr.maschinenbau.th-darmstadt.de (Matthias Hammer)
Subject: X11R5 server for 4D310 and irix 4.0.1
Date: Fri, 24 Jul 1992 17:28:21 GMT
Distribution: comp
Organization: TH-Darmstadt

Dear sgi folks,

we have some trouble making X11R5 on an SGI 4D310 VGX, irix4.0.1.

All clients and Libs were made with minor problems. After we made this stuff, we saw, that in
sgi.cf #define BuildServer was set to NO!
No server was made....
After searching in the server directories and reading again the release notes, we found no
matching server for SGI machines.

- Which server do we have to use if one works?
- Does anybody have a working sgi.cf and site.def file?
- Does anybody have the sgi server sources?
- Does anybody have the X11R5 binaries including Server and PEX?
- Can anybody put it on our university ftp server (ftp.hrz.th-darmstadt.de)
  in /pub/incoming/sgix11r5/ ? 

Thank you

Matthias Hammer and Paolo Gobbi

-------------------------------------------------------------------------------
Matthias Hammer and Paolo Gobbi
FG Flugmechanik und Regelungstechnik
FB 16 -  TH-Darmstadt
Petersenstrasse 30
6100 Darmstadt                  Germany

Tel.:  (0049)6151/166569
email: hammer@sgi1.fmr.maschinenbau.th-darmstadt.de
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
Matthias Hammer
FG Flugmechanik und Regelungstechnik
FB 16
Petersenstrasse 30
6100 Darmstadt

Tel.:  06151/166569
email: hammer@sgi1.fmr.maschinenbau.th-darmstadt.de
-------------------------------------------------------------------------------
From: meo@pencom.com (Jaime Retief, IV)
Newsgroups: comp.windows.x
Subject: Re: Can you hide or lock your original xterm???
Date: 24 Jul 92 05:43:09 GMT
Organization: Roadkills-R-Us

Out of the mouth of bucci1@donner.uucp (25853-pastor):
>I am writting a Motif program to be run on a touch screen terminal.
>Unfortunately, even though I can keep the user from exiting the program,
>I cannot keep him or her from grabbing the original xterm and selecting
>close (which logs the terminal completely off).  Is there a way to hide this
>icon or lock it without stopping the application?

1) Do away with the xterm.  Start the Motif app from the .xinitrc .
   Simplest method.  There's nothing sacred about that xterm.

2) From the xterm, run the Motif app in background, then lock
   the xterm (say, with a script that turns off interrupts
   and sits in a read loop.

In either case, turn off mwm decorations, or just don't run
it if you don't need it.

-Miles
meo@pencom.com
Newsgroups: comp.windows.x
From: R.W.J.Ashmore@cen.ex.ac.UK
Subject: unsubscribe
Organization: The Internet
Date: Fri, 31 Jul 1992 08:08:25 GMT

unsubscribe Rob Ashmore
From: rjc@cogsci.ed.ac.uk (Richard Caley)
Newsgroups: comp.windows.x
Subject: Re: Twm
Date: 21 Jul 92 16:00:02 GMT
	<1992Jul18.130934.17668@thunder.mcrcim.mcgill.edu>
Organization: Human Communication Research Center
In-reply-to: mouse@thunder.mcrcim.mcgill.edu's message of 18 Jul 92 13:09:34 GMT

In article <1992Jul18.130934.17668@thunder.mcrcim.mcgill.edu>, der Mouse (dm) writes:

In article <1992Jul16.135236.14295@syma.sussex.ac.uk>, kierant@syma.sussex.ac.uk (Kieran Turner) writes:

kt> Just a quick query - anybody know if it would be _possible_ to make a
kt> patch for twm that could de-iconify on tty output to an xterm?

dm> It is not.  twm has no opportunity to find out when output to an xterm
dm> occurs.  You'd have to make the patches to xterm, not twm.

If you tell the console xterm to log to a file then output to the
xterm will change the file and so can be seen. This works to drive an
xbiff, for instance.

To open the window, the easiest thing is probably to write a little
shell daemon which checks the size of the log file and uses xse to
send an event to the window when the file gets bigger. The WM can then
be told to open when that event occurs. 

No source hacking and absolutely no redeeming aesthetic value :-).

--
rjc@cogsci.ed.ac.uk			_O_
					 |<
Newsgroups: comp.windows.x
From: mahesh@widget.evb.com (B.G. Mahesh)
Subject: How to create a window which stays in front always ?
Reply-To: mahesh@evb.com
Organization: SETT Inc.
Affiliate-Of: EVB Software Engineering, Inc.
Distribution: usa
Date: Thu, 23 Jul 1992 15:55:46 GMT

 I have created a window using XCreateSimpleWindow.  I want
 this window to be in front of all the window at all times.
 I don't know the exact technical term used for such a thing.
 I dont't want other windows to overlap this window. How
 do I do this ? Please respond by email.

thanks

-- 

Mahesh
mahesh@evb.com
Newsgroups: comp.windows.x
From: terence@cs.washington.edu (Chung Chan)
Subject: Correction
Organization: Computer Science & Engineering, U. of Washington, Seattle
Distribution: uw
Date: Fri, 24 Jul 92 00:30:17 GMT

	I am the author of article 56783
	I type my user name incorrectly
	My user name should be terence@wolf.cs.washington.edu

	So, can you reply or send program to terence@wolf.cs.washington.edu

	Sorry!!



Newsgroups: comp.windows.x
From: schnepp@nodecg.ncc.telecomwa.oz.au (Tom Schnepple)
Subject: Validating Text Widgets
Organization: Network Computer Centre
Date: Thu, 23 Jul 1992 12:40:18 GMT

Problem: Validating Text Widgets 

My application uses the MOTIF library and run under X. It has several text
entry forms, and each text field needs to be validated and acted upon.
What I want to do is to implement a text entry validation routine for
these text widgets.

The only appropriate callback resource for text widgets in my application
is XmNlosingFocusCallback, so I have attached a callback to each of my text
widgets as follow:

XtAddCallback(text_widget, XmNlosingFocusCallback,
		text_callback, callback_data);

In the callback routine (text_callback), I would check to see if the 
entered text is valid, if not, I would output an error message. 
After outputing the error message, I also want to put the focus back on 
the text widget that has called the callback routine so that the user 
can re-enter the text:

	void   text_callback
	(
		Widget	    	widget,
		caddr_t		client_data,
		caddr_t     	call_data
	)
	{
	      char	      ascii_text[10];

		/* get the text entered in the text widget and
		** initialise the text in the ascii_text array
		*/
		  strcpy(ascii_text, XmTextGetString(widget));

		/* validate the entered text
		** validate text are either "YES" or "NO"
		*/
		  if ((strcmp(ascii_text, "YES") != 0) or
			(strcmp(ascii_text, "NO")  != 0))
			{
			    /* outputing error messages
			    */
				  /* ...., code too complicated to add here */

				/* setting the focus at the widget so that
				** the user can re-enter the text
				*/
				  XmProcessTraversal(widget, 
							XmTRAVERSE_CURRENT);
			}
	}

PROBLEM: I can't seem to be able to place the focus back to the text widget 
	which is being validated. Since to be able to invoke the callback 
	the user has to hit a Tab key to move to the next field 
	(ie: callback is called when the text field has lost its focus). 
	Thus, after the user has finished entering the text and hit the Tab 
	key to move to the next field, the callback function was called and 
	the focus was set back to the text field, but after the callback 
	has finished, the Tab key action is processed and the focus is set 
	to the next field.
			
HELP	Does anyone know how I can set the focus back the the text widget 
	that is being validated?? Any help would be much appreciated!!

Thanks in advance!!
 

     _--_|\    Tom Schnepple  (schnepp@telecomwa.oz.au) 
    /      \   Perth, Western Australia
--> *_.--._/ 
          v 
Newsgroups: comp.windows.x
From: grega@verdix.com (Greg Alonso)
Subject: set uid bit for xterm?
Organization: Verdix Corp.
Date: Wed, 22 Jul 1992 13:50:44 GMT

In my installation of X, xterm has the uid bit set with root as owner:
-rwsr-xr-x  1 root       188416 Aug  2  1990 /usr/bin/X11/xterm*

If that is the case, why can I delete an xterm process after it is
spawned?  Isn't it owned by root when it is running?


-- 
..........................................................
. Gregory Alonso                 EMail grega@verdix.com  .
. Verdix Corporation             Voice (703)318-5834     .
. 250 Van Buren St.              Fax   (703)318-9304     .