HDTenEightyP/NetNews huggingface dataset:
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: auto_box example on monochrom screen
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
Date: Tue, 1 Sep 92 19:31:25 GMT

In article <1992Sep1.140938.29791@rz.uni-karlsruhe.de>
	schmidt@rpksun1.mach.uni-karlsruhe.de (Martin Schmidt) writes:
>Is there any possibility to run the PEX-SI example auto_box
>on a monochrome machine (MIT-X11R5, PEX-SI, SparcIPC, Mono) ??

Yes.

>I now that within the FAQ they say NO.

Actually, the FAQ says (or perhaps it should be more clear) that the
PEX-SI server doesn't support a monochrome Sun.  The server has
control of the screen, not the client.  Therefore, it is not a problem
with the example client, but the sample server.

						-- 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
From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
Newsgroups: comp.windows.x.pex
Subject: Can I get 2D NDC primitives out of PEX without hacking the server?
Keywords: n
Date: 4 Sep 92 17:22:12 GMT
Organization: MIT Artificial Intelligence Lab

Hi, Folks
    My company has a visualization system that uses 2D and 3D display-list
graphics features.  Currently these are implemented by a widget that I wrote
in-house.  It's a 3D display-list version of the Xlib drawing primitives.
Anyway, it supports wysiwyg output to PostScript and AutoCAD DXF format by
sending 2D NDC (i.e. screen-ready) primitives out the bottom of the widget
to either a PS or DXF engine.

    We'd like to "go standard" and use a more portable drawing package than
my proprietary widget but we need to retain our wysiwyg PS and DXF capability.
So can I get 2D NDC primitives out of PEX without hacking the server?  If not,
how does everyone else do what we do?  Is there a better approach than the one
we've taken?

			Thanks in advance for any help you can give me.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to:  joe@ConSolve.com or gillett@ai.mit.edu
Newsgroups: comp.windows.x.pex,comp.graphics,comp.sys.sgi
From: akin@sgi.com (Allen Akin)
Subject: Re: PEX data reformatting issue (was: Future development of PEX/PHIGS)
Keywords: PEX, OpenGL
Organization: Silicon Graphics, Inc.
Date: Mon, 31 Aug 1992 17:53:14 GMT

In article <1992Aug30.113052.9729@shograf.com> jimb@shograf.UUCP (Jim battle) writes:
| 
| I feel that the 3.75x system bus bandwidth difference between a
| ShoGraphics PEXStation and an SGI Indigo would make a bigger difference
| in system performance than having a funky user-accessible DMA capability.

I agree completely.  The extra system bus bandwidth would be useful in
many more contexts than the extra DMA functionality, so it should be a
bigger win overall.

| I agree with you that for some cases the OpenGL approach is a significant
| win for a specific machine, but I remain unconvinced that it matters that
| much in general.

Perhaps we have different opinions here because my position is a little
higher on the food chain.  As a software guy, it's important to me to
select the interface with maximum implementation flexibility and best
performance on as wide a range of machines as I can envision, because
I'll have to live with it for at least a decade.  If the OpenGL
approach allows me to squeeze more performance out of some classes of
machine (without unduly degrading others), or if it allows me to
configure systems more flexibly (e.g. reducing the coupling between CPU
cost/performance and graphics cost/performance) or if application
developers tell me the interface allows them to complete their ports
more quickly, then to me it looks like a big win.  In your case it may
look less important because your hardware base is one of those for
which the choice of graphics interface doesn't matter.

| ...

Thanks for the comments on the i860.  I've participated in some
graphics design efforts using it, and I remain favorably impressed.

| |                                      ...why not choose a 3D graphics
| | interface that allows you to reduce bus bandwidth requirements in the
| | cases where that results in performance or price improvement?
| 
| I guess political reasons.  ...

Probably so.  Technical issues are only one factor in the business
decisions of all the companies you mentioned.  Even financial issues
aren't dominant; otherwise companies would be more careful about
evaluating full productization costs rather than pricing the sample
implementations alone.

| Thanks for your response; sorry if I've mangled the content of your
| arguments by excerpting it this way.

No problem.  This discussion has been well worthwhile.

Allen
Newsgroups: comp.windows.x.pex
From: Kall@Mayo.EDU
Subject: Re: 3d WC from Cursor Position
Reply-To: Kall@Mayo.EDU
Organization: Mayo Foundation
Date: Tue, 1 Sep 92 21:23:08 GMT

I guess what I was wondering (or dreaming of) is:

Yes the cursor 'sits over a pixel in the 2D device coordinate space
of the screen'.  The escape X_DRAWABLE_TO_WC_POINTS
returns some 3d location based on the X,Y drawable
location and some Z  value you pass in.  

Isn't there anyway for Phigs to  figure out  from the
scene what pixel the 2d cursor is sitting on (i.e. traverse the
whole scene from Z-min to Z_max  for that 2d X,Y coordinate
and find out what the 3d WC coordinate is of the pixel that you
are seeing on the screen.  After traversal  doesn't only one 3d WC coordinate
deposit that pixel even if structures overlap? 


---



\------------------------------------------------------------\
 \   Bruce Kall                \  Internet:   Kall@Mayo.edu   \
  \   Mayo Clinic (Foundation)  \  Phone: (507)-255-4768       \
   \   Rochester, MN 55905       \                              \
    \------------------------------------------------------------\
From: devil@diablery.10A.com (Gil Tene)
Newsgroups: comp.windows.x.pex
Subject: GLX? OpenGL?
Date: 26 Aug 92 11:20:00 GMT
Organization: Diablery, cloud seven, Hell. (also 10A Inc.)

What is the availability of GLX/OpenGL in comparison with
PEX/{PHIGS SI, PEXtk, PEXlib, etc.)

A sample PEX server is included with X11R5. Most vendors now
have PEX server products for their workstations. PEX termianals
(X-Terminals that support PEX) are on the market. This means
that PEX clients are assumed of widely available, relatively 
vendor-independant and cheap (PEX-IS is free) servers. Can the
same be said for GLX/OpenGL?

-- 
--------------------------------------------------------------------
-- Gil Tene			"Some days it just doesn't pay     -
-- devil@imp.HellNet.org	   to go to sleep in the morning." -
-- devil@diablery.10A.com 					   -
--------------------------------------------------------------------
Newsgroups: comp.windows.x.pex,comp.graphics,comp.sys.sgi
From: slevy@noneuclid.geom.umn.edu (Stuart Levy)
Subject: Re: Future development of PEX/PHIGS
Keywords: PEX, OpenGL
Organization: Geometry Center, University of Minnesota
Date: Wed, 26 Aug 1992 01:07:06 GMT

In the debate over efficient transport of graphics data, I'm
still puzzled by the fact that GL & OpenGL both use a procedure call
for each low-level data item.  On the current MIPS processors,
does a procedure call + jump through shared-library table + return sequence
plus something like store-pointer-into-magic-location really come out
faster than, say, copying three or four words of memory plus 1/N
procedure calls for an object with N vertices?  Or is this a design that
will win on future systems, but doesn't especially on current ones?

    Stuart Levy, Geometry Center, University of Minnesota
    slevy@geom.umn.edu
From: wohler@sapwdf.UUCP (Bill Wohler)
Newsgroups: comp.windows.x
Subject: want generic resource to override specific application resource
Date: 31 Aug 92 16:01:06 GMT
Reply-To: Bill Wohler <wohler@sap-ag.de>
Organization: SAP AG, Walldorf, Germany


  i have the following in my .Xresource (that i load with xrdb):

	*vt100.translations:#override Meta<KeyPress>: string(0x1b) insert()

  however, while this works on the dec, it doesn't work on the hp
  unless i place a leading "xterm" on the line.  on the hp,
  /usr/lib/X11/app-defaults/XTerm has:

	XTerm*VT100.Translations:#override Meta<KeyPress>: insert-seven-bit()

  what do i need to do to get the translations listed initially to work on
  the hp?  i appreciate your taking a moment to answer.

Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team
Newsgroups: comp.windows.x,comp.windows.x.apps
From: sinkwitz@ifi.unizh.ch (Rainer Sinkwitz)
Subject: Re: Choosing colors  for X11 - a palette ?
Organization: University of Zurich, Department of Computer Science
Date: Tue, 1 Sep 92 08:09:09 GMT


In article <17m0c4INN977@agate.berkeley.edu>, desouza@asmara.berkeley.edu (Paulo de Souza) writes:
> I seen on some DEC and IBM machines a palette that lets you move a
> stick around and choose a color giving you (in another part of the
> window) the combo of Red-Green-Blue that you need to match that
> color.
> 
> Does anybody knows if such a thing is available for X11 (for example
> on a Sparc Station) ? And where one could find it ?
> 
> Paulo Ney                                desouza@math.berkeley.edu
On Sun's you have readily available the "props" program normaly 
as "Properties" on the root menu.
It's also available as soure in the XView distribution.

-- 
oooooo    oooo  Rainer Sinkwitz, Multimedia Lab         sinkwitz@ifi.unizh.ch
 $   $   $   "  University of Zurich, Switzerland        VOICE +41-1-257-4346
 $"$$    """"$  Inst.f.Informatik, Winterthurerstr. 190   FAX +41-1-363-00-35
o$o "$o  $ooo"  CH-8057-Z\"urich
Newsgroups: comp.windows.x
From: rot@multisys.com (Republic of Taiwan)
Subject: Re: XView and XGetImage
Organization: Multimedia Information Systems Corporation, San Jose, CA                        TEL: (408) 437-3031            E-mail: info@multisys.com
Date: Sat, 29 Aug 1992 18:38:18 GMT

In article <1992Aug28.031837.18034@seas.smu.edu> rrb@seas.smu.edu (Robert R. Bailey) writes:
=I am working with a 7-bit gray scale image and an overlay of several colors
=using XView on a Sun SPARC.  After displaying the image and generating the
=overlay, I can't seem to read the resulting image back so that I can write
=it out to a rasterfile.
=
=The following is a summary of how I display the image:
=  dsply = (Display *) xv_get( canvas, XV_DISPLAY);
=  win = (Drawable) xv_get( canvas_point_window( canvas), XV_XID);
=  set color map;
=  xi = XCreateImage( dsply, default_visual, 8, ZPixmap, 0, data,
=    width, height, 8, width);
=  XPutImage( dsply, win, gc, xi, 0,0,0,0, width, height);
=
=Now, I draw on top of the image:
=  XDrawLine( dsply, win, gc, x,y,x,y); 
=  etc.;
=
=I can scroll around and draw some more.
=Now I want to take the resulting modified image and write it to a rasterfile.
=(If I can get it to an XImage, I can to it.)  I tried:
=  new_xi = XGetImage( dsply, win, 0,0, width,height, AllPlanes, ZPixmap);
=
=But this does not work.  I can only get that part of the image that is
=currently displayed in the window, which is smaller than the whole
=(1024 X 1024) image.
=
=How do I get the whole image?
=
=Thanks for any suggestions.
=
=Bob Bailey
=-- 
=From: Bob Bailey = rrb@seas.smu.edu

I don't know much about xview, but...
IMHO, try getting the image from xi than getting from win.
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Newsgroups: comp.windows.x
Subject: Re: multiple screens (display), single pointing device....
Date: 31 Aug 92 16:06:05 GMT
Distribution: usa
Organization: Jet Propulsion Laboratory, Pasadena, CA

In article <CHRISTIA.92Aug29144516@latenite.ssc.gov> christia@latenite.ssc.gov (Mike Christiansen) writes:
>Is it possible under R5 to support multiple displays using a single
>mouse / pointer. That is, like the mac I want to install two (or
>three) frame buffers and manipulate windows on all three through a
>single pointer such that the cursor is run into the side of one, it
>apperars on the next longical display. Is this possible under
>open-look?

Well, all the documentation for X defines a "display" as 1..n screens, a 
keyboard and a pointing device.  So the answer is, yes, it's possible to 
install two or three frame buffers and manipulate windows on all three...  
In fact, the MIT sample server has a #define that limits the maximum number 
of screens to three.

The unasked, and more important question, is can your hardware support the 
installation of two or three frame buffers?

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
Newsgroups: comp.windows.x
From: tim@ial7.jsc.nasa.gov (Tim Sullivan)
Subject: .login not read???
Organization: nasa-jsc
Distribution: usa
Date: Thu, 27 Aug 1992 15:30:07 GMT


The .login file is not read when I start up X on my Silicon Graphics 
using the 4.0.2 operating system running under X11R4.  This is not read
on any of the Silicon Graphics we have.  The .xsession is read, but no 
.login,  What am I doing wrong??? or what do I need to do???

		Thanks for your help

				tim@ial7.jsc.nasa.gov
Newsgroups: comp.windows.x
From: noname@cbnewsl.cb.att.com (  )
Subject: keysymdef.h, Why it is defined that way?
Organization: AT&T Bell Laboratories
Distribution: usa
Date: Tue, 1 Sep 1992 03:52:54 GMT
Keywords: keysym


   
In the "keysymdef.h" file, the data looks like this:
   
#define XK_space	0x020
#define XK_exclam	0x021
      ...                 ..
      ...                 ..
      ...                 ..
#define XK_braceright	0x07d
#define XK_asciitilde	0x07e
                                <---- please note the blank line here. 
#define XK_nobreakspace	0x0a0
#define XK_exclamdown	0x0a1
      ...                 ..
      ...                 ..
  (and so on) 
  
******  
My question is:
  
    Is there any particular reason that jump the keysym code definition
from 0x07e to 0x0a0? 
******
  
Kevin Feng, ckf@hover.att.com
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Finding out the current cursor
Date: 3 Sep 92 23:20:27 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <1992Aug31.081357.8161@kth.se>, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:

> How can i obtain the cursor-definition that's used in a window?

> I mean just the graphical representation, not the location.

Put briefly: you can't.

> For instance: if I want to reset the cursor after I have changed it,
> and I don't know what cursor was used in the first place - how do I
> find out the current cursor before I change it?

In general, you can't.  Within the core protocol, there is no way to
find out anything about a window's cursor after the fact, nor about the
appearance of a cursor after it's been created.  An extension could be
defined to address either or both of these desires, but as far as I
know no such extension exists, and if it does, it definitely is not
common enough for depending on it to be a good idea.

Depending on what you want, you may be able to get a similar effect by
creating an InputOnly blanket window; check the FAQ item about busy
cursors for more on this technique.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: aardvark@nt1l.krl.com (Donald Koch)
Subject: Re: Xauthority file
Organization: Koch Research Labs
Date: Sat, 29 Aug 1992 07:01:57 GMT

In article <BtpxEv.47n@agora.rain.com>, bobb@agora.rain.com (Bob Beauchemin) writes:
>   If XDM creates the .Xauthority file in the user's home directory at
> login time, then this file exists on the machine that runs XDM (call this
> Host A). The .Xauthority file is only readable by the user.
>   Now, that user wishes to rlogin to another machine (Host B) and run
> program FOO. The Xau library is linked with program FOO on Host B. The FOO
> program is supposed to read the magic cookie from the .Xauthority file and
> present it to the server for verification.
>   But the FOO program (Host B) is using Xau, which does fread(). The
> .Xauthority file is on Host A. How is this accomplished without the use of
> NFS? Or is NFS a strict requirement?

Nope.  You can use (from the man page):

xauth extract - $DISPLAY | rsh B xauth merge -

where B is the name of host B.  (RTFMP? :-)
-- 
Don Koch
aardvark@nt1l.krl.com
Xref: sparky comp.windows.x:15953 alt.religion.computers:625 comp.windows.news:577 comp.windows.misc:1267 comp.human-factors:1972
Newsgroups: comp.windows.x,alt.religion.computers,comp.windows.news,comp.windows.misc,comp.human-factors
From: ematias@dgp.toronto.edu (Edgar Matias)
Subject: Re: GUIs Considered Harmful
Organization: CSRI, University of Toronto
Date: 1 Sep 92 06:10:45 GMT


In article <YANDROS.92Sep1003712@j-g-ballard.MIT.EDU>,
yandros@Athena.MIT.EDU (Chad Phillip Brown) writes:
>
> a freind and I spent several minutes the other day sitting at
>a Mac II running System 7 trying to find out how to do some
>straightforward manipulations from the keyboard, and managed to find a
>suggested binding that required use of keys on boths sides of the
>keyboard IN CONJUNCTION WITH the mouse...  so much for User Interface

Sounds like you need a one-handed keyboard.  Check out the Half-QWERTY
software demo's available for DOS and Mac.  You can get them via
anonymous FTP from explorer.dgp.toronto.edu in the /pub/1handkbd directory.

DISCLAIMER:  I invented this keyboard design and own a majority share in
the company.  Still, it is a good interface and no special hardware is 
required.  Worth a look...

Edgar
Newsgroups: comp.windows.x
From: huho@banruc60.BITNET
Subject: (none)
Organization: The Internet
Date: Mon, 31 Aug 1992 12:51:55 GMT

Hello xperts,


I'm writing an application using the Athena widgets (R5) and I'm a bit puzzled
about one of the examples in contrib/examples/Xaw.
The example I'm refering to is xtext.c. The following  lines are used to
obtain the string from an asciiTextWidget named text.

   Arg args[1];
    String str;

    XtSetArg(args[0], XtNstring, &str);
    XtGetValues(text, args, ONE);

My question is :
Is it necessary to use &str as an argument to XtSetarg? str is of type String,
,so it's already a pointer. Wouldn't  str without the & be sufficient?

                        Thanks for any information,
                                Van Hove Hugo

Hugo Van Hove
University of Antwerp, RUCA
AI project
Groenenborgerlaan 171
B-2020 Antwerpen, Belgium

Tel: +32 3 2180308
Fax: +32 3 2180217
Telex: RUCABI 33362

E-mail: huho@banruc60.bitnet

Newsgroups: comp.windows.x
From: harthc@ntmtv.UUCP (Howard Hart)
Subject: building X11R5 on a SPARC
Keywords: Sun X11R5
Organization: Northern Telecom Inc, Mountain View, CA
Date: Fri, 28 Aug 1992 22:08:45 GMT


I just finished building X11R5 (w/patches 1-17 installed) on a Sun SPARC
running SunOS 4.1.1. Just wondered if anyone else noticed two annoying
warning messages during the compile:

Warning #1:
ar clq libdidipex.a dipexParse.o dipexExt.o pexDump.o pexError.o dipexBuf.o pexUtils.o
ranlib libdidipex.a
ranlib: warning: libdidipex.a(pexDump.o): no symbol table
ranlib: warning: libdidipex.a(pexError.o): no symbol table

Warning #2:
cc -O -pipe -I../include -I../../../include/PEX -I../../../../X11
  -I../../../../.       -target sun4 -c  ar_conv.c
"ar_conv.c", line 68: warning: illegal pointer combination
"ar_conv.c", line 74: warning: illegal pointer combination
"ar_conv.c", line 84: warning: illegal pointer combination
"ar_conv.c", line 90: warning: illegal pointer combination


Warning #1 is a mystery to me. Warning #2 is caused by references to
a cast of a function call to in the file

	(TOP)/extensions/lib/PEX/archive/ar_conv.c

The cast is below

	(PEXFLOAT (*)())SwapCARD32

Any patches available for these? Should I ignore? Do they matter? As
usual, I'll post a summmary of the answers.

-- 
Howard Hart		UUCP:{ames,pyramid!amdahl,hplabs}!ntmtv!harthc
System Administrator	INTERNET: ntmtv!harthc@ames.arc.nasa.gov
Northern Telecom	PHONE: (415) 940-2680
Mt. View, CA
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Xterm with VT320 emulation
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 4 Sep 92 09:00:51 GMT

> Distribution: comp.windows.x

Please don't misuse newsgroup names as distributions.

In article <HAWKES.92Aug31114038@kuwait.whizkids>, hawkes@whizkids (Steven C. Hawkes) writes:

> Can anybody explain to me how to get xterm to emulate a VT320 with
> 8-bit control sequences (i.e., DEC CSI/SS3 crud)?  Or is there
> another X terminal emulator that will do the job?

mterm should be capable of dealing with this, when you ask for ansi or
decansi emulation.  (In fact, it recognizes the 7-bit sequences by
internally converting them to the 8-bit form.)

Anonymous ftp to larry.mcrcim.mcgill.edu (132.206.1.1), cd
/X/mterm.src, and fetch mterm.README (to see what you need) or
mterm.ball-o-wax (the whole thing)...or send mail to me.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: How to get rasterized outline fonts in a window?
Organization: PictureTel Corporation
Date: Tue, 25 Aug 1992 17:41:15 GMT

In article <1992Aug20.165540.20980@cimlinc.uucp> bharper@cimlinc.uucp (Brett Harper) writes:
>I would like to render outline style fonts 
>to a window.  I have the rasterizer but have no efficient way to get
>the resultant bitmap into the window.  How is this usually done?  

XPutImage.  Take a look at the Xlib source for a routine like
XCreateBitmapFromData.

>(BTW: The application makes HEAVY use of text.)

Frame Maker works this way, and works quite well.

>Does X11R5 provide a server side renderer that takes care of this problem?

Yes, R5 can render from Bitstream Speedo and PostScript Type 1 outlines.
From: mjk@hoot.esd.sgi.com (Mark Kilgard)
Newsgroups: comp.windows.x
Subject: Re: What's new in R6?
Keywords: X11R6
Date: 28 Aug 92 04:46:15 GMT
Organization: Silicon Graphics, Inc.

In article <1992Aug27.232636.7983@nosc.mil>, worthen@nosc.mil (Richard H. Worthen) writes:
|> 
|> What will be in X11R6? When will it be available?

I heard either today or tomorrow.

|> Will code written for R5 run on R6?

No, it has to all be converted to C++ to run under R6.

|> I've heard talk about a "multi-media" flavor for X. Is this true? 
|> If so, will it be a part of R6? X12? 

What do you mean just "talk of multi-media" for R6?
With the XBell call, you can add audio to your clients
today!

|> What is the status of the multi-threaded extension?

Work on the multi-threaded "extension" is all tied
up right now.

|> What plans (if any) are there for X12?

This is just a rumor but I heard they are building a
SoftPC extension that allows clients to download DOS
executables to the X server for it to run.  There is
even some talk of actually having clients download themselves
into the server.

For client programmers, the X resource mechanism is being
extended so the entire client can be nothing but an app-defaults
file.  A lot of users were complaing that X resources
"just weren't configurable enough."

|> thanks in advance,

No problem.

I'm not sure if all of this is true but if enough people
repeat it, it will seem like it is true.

- Mark Kilgard
Newsgroups: comp.windows.x
From: reza@peri.jsc.nasa.gov (Reza Razavipour)
Subject: Properties
Organization: Lockheed Engineering & Sciences 
Date: Tue, 1 Sep 1992 15:15:32 GMT

I have been asked to display an animated busy icon when I am
doing long number crunching routines. I want the animation of 
the icon to be as smooth as possible. So I have thought of forking
a process to merely do the icon animation. I will control this
process with Properties. The question is how do I tell the icon 
animator process the window IDs that I want it to change.
Any help is grealty appreciated.
Reza.
Newsgroups: comp.windows.x,comp.windows.x.apps