HDTenEightyP/NetNews huggingface dataset:
From: gaspar@stl-04sima.army.MIL (Al Gaspar)
Subject: X11R5 Novice Questions
Organization: The Internet
Date: Thu, 16 Apr 1992 12:54:32 GMT


    I had submitted this question to the mailing list earlier, but I had
trouble getting added and never saw a reply; so my apologies if someone has
already seen this.  Anyway, I have two (very) novice questions (for a start
:-).

    I recently brought up X11R5 on a Sun SPARCStation 2 running SunOs
4.1.1.  I am having two problems.  First, I can use X at the system console
or from remote PCs running PCxsight or PCxview, but I cannot seem to run it
from a remote sun console.  When I try to run X (using an xinit script after
logging in) from the second sun it humms awhile and then says connection
refused...  Is the X server required on both machines or is there something 
else I have to do special (both machines are SPARC 2s)?

    The second problem has to do with PEX/PHIGS.  I am not sure that I compiled
this code correctly (it sure doesn't run right).  When I run the beach_ball
program (or any other PEX program), it goes into an endless loop echoing PHIGS
errors 5, 6, and 7 for various functions to the screen.  The gist of the
messages are:

    PHIGS error 3 in XXXX:  Ignoring function, function requires 
     state (PHOP, WSOP, *, *).
    PHIGS error 5 in XXXX:  Ignoring function, function requires 
     state (PHOP, *, STOP, *).
    PHIGS error 6 in XXXX:  Ignoring function, function requires 
     state (PHOP, *, STCL, *).

I would like to get this part of X going.  Is there a special server I need to
bring up or something?  I would appreciate any help I can get.

    I lied; I have one more question.  Is there a FAQ list somewhere for this
list.  I found something on ftp.uu.net, but it appeared to be specific to
motif rather than generic X.  If you have trouble replying to me directly,
please use the st-louis-emh2.army.mil address below.

Thanks--

Al

-- 
Al Gaspar	<gaspar@st-louis-emh2.army.mil>
USAMC SIMA, ATTN:  AMXSI-TTC, 1222 Spruce St., St. Louis, MO  63103-2834
COMMERCIAL:  (314) 331-4354	AUTOVON:  555-4354
relay1.uu.net!st-louis-emh2.army.mil!gaspar
From: hadig@kaa.informatik.rwth-aachen.de (Thomas Hadig)
Newsgroups: comp.windows.x
Subject: Problem with X-Windows and OpenWindows
Summary: Where shall I put my libraries ?
Date: 6 Apr 92 08:49:20 GMT
Organization: RBI - RWTH Aachen


Hi,

I have a problem. I'm just installing a SUN Sparc 1+ (standalone).
I want to run X-Windows and OpenWindows (some people like this, some
like that).

After compiling and installing X-Windows (LD_LIBRARY_PATH unset),
I got one problem :

1. xload needs /dev/kmem
--> xload is suid root
2. xload needs libXt.so.4.10/libXt.sa.4.10 (for xclock and so on)
--> so : these libraries have to be in the build-in directories
    (/usr/lib, /usr/5lib and /usr/local/lib)
3. OpenWindows needs another version of these libraries
--> so : these libraries may not be in the build-in directories

To change xload into set-group-id kmem, does result in the same
contradiction.

Are there any solutions ?

Thanks for all help
Thomas

----------------------------------------------------------------------
Thomas Hadig       hadig@ouzo.rog.rwth-aachen.de
                   hadig@messua.informatik.rwth-aachen.de
Otto-Pertersen-Haus Zi.1009, Ruetscher Str. 165, D-5100 Aachen
----------------------------------------------------------------------
Newsgroups: comp.windows.x
From: leei@thunder.mcrcim.mcgill.edu (Lee Iverson)
Subject: MITSHM Extension...
Organization: McGill University, McRCIM
Date: Wed, 8 Apr 92 19:53:23 GMT


Has anybody else actually tried to use this?  I'm trying to setup for
shared images, but it seems that neither of the XShmQuery calls
actually checks that the server is on the same machine as the client.
Is there a simple portable way to do this?  The documentation seems to
indicate that the XShmQueryExtension() call should actually do this,
but it doesn't and everything else works up until the XShmAttach()
call causes a protocol error, namely:

X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  129 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  308
  Current serial number in output stream:  309

This, of course, doesn't happen if the client and server are local to
the same machine.   Aaaarrrggghhh!    Any ideas?

-- 

Lee Iverson			McGill Research Centre for Intelligent Machines
leei@mcrcim.mcgill.edu		Computer Vision and Robotics Lab
				McGill University, Montreal
From: dcook@garnet.berkeley.edu (Dan Cook)
Newsgroups: comp.windows.x
Subject: WANTED: Simple X windows graphics program
Date: 10 Apr 1992 17:34:51 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu
Originator: dcook@garnet.berkeley.edu

I need a example program which will open a window on
an X terminal and then perform simple graphics in the
window, e.g. plotting a set of points, drawing a line, 
etc.  I'm not a very experienced C programmer and I will
be running the program on an IBM rs6000.  If anyone has
something that they have written that they could send me
I would appreciate it greatly!

-dan cook
dan@home.berkeley.edu

Newsgroups: comp.windows.x
From: shankar@rss.dl.nec.com (Uday Shankar)
Subject: Re: Call for Votes : comp.windows.x.apps
Keywords: new group,call for votes
Organization: NEC America
Date: Wed, 8 Apr 1992 12:50:56 GMT


> votes for comp.windows.x.apps

I think we need a new newsgroup for "Windows NT = death of X?" :-)

Uday

______________________________________________________________
Uday Shankar                 uday.shankar@rss.dl.nec.com
NEC - Supervisory Systems    (214) 907-4494
______________________________________________________________
"go flying, put a spin on life"
Newsgroups: comp.windows.x
From: wjh+@andrew.cmu.EDU (Fred Hansen)
Subject: C-F-PAPERS  -  Andrew Technical Conference, 1992
Organization: The Internet
Date: Wed, 15 Apr 1992 16:13:19 GMT


CALL FOR PAPERS  -  Andrew Technical Conference, 1992

The Andrew Toolkit Consortium is pleased to invite your contributions to

	Andrew Technical Conference, 1992
	--  Interfaces beyond ASCII  --

When I write a program, I usually draw little pictures to explain data
structures or decision logic.  Why are these pictures lost when the
program exists?  This is part of the larger question of universal
information forms.

The canonical information form--the lingua franca between
applications--has progressed from single-case text, to ASCII, and now
ISO-8859.  Applications are beyond this stage, however, incorporating
typographic text and embedded images, so it is time to begin extending
the canonical information form with support for enhanced text at a
fundamental level of the system.  It should always be possible to cut
and paste between applications.  Program constants and comments (at
least) should allow illustrations.  Data bases should store pictures of
parts and logos of suppliers.  Electronic mail should routinely transfer
information with the full complexity of the printed page, but without
the frozen and bloated form of fax representations.  As a reader of an
electronic message, I should be able to extract all or a portion of a
message and massage it further with the same ease as the original author.

ATK and AMS, the Andrew Toolkit and Andrew Message System, offer an
environment in which applications can shareextended text and other
objects.  Indeed, AMS has offered interchange of formated information
since 1987.  The theme of this year's ATK/AMS technical conference --
Interfaces beyond ASCII -- is to share experience and speculate on
further requirements and possibilities for integrated environments with
higher level information forms.

In addition to papers related to the theme, the conference invites
papers on the entire realm of ATK and AMS:

	applications based on the toolkit
	extensions to the toolkit
	new objects
	data stream alternatives
	alternative toolkits


Proposals due: 10 May 1992
Acceptance by: 20 May
Completed papers due: 15 June
Electronic submission in ATK format is encouraged, but not required.

Conference dates and location:

	June 25-26, 1992  (Thursday and Friday)
	Adamson Wing
	Carnegie Mellon University
	Pittsburgh PA
		Tutorials: 25 June 1992
		Annual meeting: evening of June 25
		Technical Conference: 26 June


Proceedings will be made available.

For more information, contact:

	Wilfred J. Hansen
	Director, Andrew Toolkit Consortium
	School of Computer Science
	Carnegie Mellon
	238 UCCB
	4910 Forbes Ave.
	Pittsburgh, PA 15213

	wjh+@andrew.cmu.edu
	412-268-6788
From: rnewman@bbn.com (Ron Newman)
Newsgroups: comp.windows.x
Subject: Re: Augmenting the known widget set of UIL
Date: 13 Apr 1992 23:36:50 GMT
Organization: Bolt, Beranek & Newman, Inc.
Distribution: world
NNTP-Posting-Host: spcsun25.bbn.com

In article <13APR199215481717@addvax.llnl.gov>, kettering@addvax.llnl.gov (Brett 'Volleyball Is My Game' Kettering) writes:
 
|> I have the version of UIL delivered with my Motif license.  It handles the
|> motif widget set (well it doesn't have dialog shells) well enough, but I
|> want to be able to add widgets to it.  I know that there is a file somewhere
|> that determines the parse rules for the UIL, but I don't remember where it
|> is and can't find any info in FAQ's or the V1.1 book for Motif.
|> 
|> Has anyone ever added widgets to the UIL?  Can you point me to some`
|> instructions on how to do it?

If you need to do this, this is an excellent reason to stop using 
UIL and use Wcl (Widget Creation Language) instead.   Adding new
widgets to Wcl is trivial.

-- 
Ron Newman		rnewman@bbn.com
From: bret@tfd.COM (Bret Weinraub)
Newsgroups: comp.windows.x
Subject: compiling R5 under SUNOS 4.1e
Keywords: SUNOS 4.1e
Date: 9 Apr 92 20:22:31 GMT
Organization: Twenty-First Designs, Wash, DC


This is an open question concerning compiling X11R5 under SUNOS 4.1e.

I would be interested to hear the experiences of others who have done this;
specifically any problems that surfaced.

Also I would be interested to know if R4 was tested for this operating
system.


Thanks a bunch.

BRET D WEINRAUB
Twenty-First Designs Inc.
bret@tfd.com
From: bret@codonics.com (Bret Orsburn)
Newsgroups: comp.windows.x
Subject: Re: Repeat KeyPress vs Real KeyPress
Date: 13 Apr 92 19:39:32 GMT
Organization: Codonics Inc.

Oops. Sorry. A couple of people (myself included) responded to this post:

In article <GRITTON.92Mar26170407@alaska.caedm.byu.edu> gritton@byu.edu writes:
>   I'd like to recieve only "real" KeyPress events, i.e. those generated by
>actually pressing the key. Looking at Xlib, I see no way to differentiate
>between those and events generated as a result of keyboard repeat. Is there
>any way to tell the difference between the two?

We indicated that auto-repeat KeyPress events would typically not have
KeyRelease events associated with them. We were wrong.

A session with xev is sufficient to show that X servers (at least the four
servers from different vendors that I tested, spanning R3 to R5) do indeed
generate KeyRelease events for auto-repeat keystrokes.

Sorry for the misinformation.

Perhaps it's time to invoke der Mouse's principle and inquire what the
original poster was trying to accomplish? There may be a better way to
approach the problem than defeating auto-repeat.

-- 

bret@codonics.com
uunet!codonics!bret            "Never post news after dark"
Bret Orsburn                                               -- Me
From: steve@unidata.ucar.edu (Steve Emmerson)
Newsgroups: comp.windows.x
Subject: Re: Motif vs Open-look vs X
Date: 12 Apr 92 16:52:40 GMT
Article-I.D.: unidata.steve.703097560
Distribution: na
Organization: University Corporation for Atmospheric Research (UCAR)

emuleomo@yoko.rutgers.edu (Emuleomo) writes:

>Use the OI toolkit. It does NOT FORCE you to choose b/w OpenLook or Motif.
>You can have both. 

When using Motif, how does OI implement the OpenLook Drag-and-Drop 
metaphor?
--

Steve Emmerson        steve@unidata.ucar.edu        ...!ncar!unidata!steve
From: gonzalod@amex-trs.com (Gonzalo Diethelm)
Newsgroups: comp.windows.x
Subject: Question regarding X events...
Date: 7 Apr 92 16:17:02 GMT
Article-I.D.: cs90code.9204071617.AA34783


Distribution: world

Hi there,

I'm posting this for a friend. Please send answers (and flames 8^) by email
to my signature; I'll pass anything I receive to him. Thanx in advance.

Note: I don't know enough of X to even understand his question. I hope
      you guys out there can help him. Regards.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

        We are having a problem to get X to do an application.  This
will probably take a person with good X Server knowledge.

PROBLEM:
        We need to know when any X event happens on the X station.  At
the very least we need to know when any keyboard or mouse event occurs 
in any window.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


+=============================================================================+
|* NOTE: DON'T USE ADDRESS IN From: FIELD. USE THE FOLLOWING ADDRESS INSTEAD *|
+--------------------------+---------------------------------------+----------+
| Gonzalo A. Diethelm      | Phone:  (602)375-8410  home           | +------+ |
| 16220 N 7th St. Ap. 1314 |         (602)492-3536  office         | |        |
| Phoenix, AZ 85022        |         (602)492-5749  FAX            | |   ---+ |
| U.S.A.                   | e-mail: gonzalod@amexphx.amex-trs.com | +------+ |
+--------------------------+---------------------------------------+----------+
| Research is what I'm doing when I don't know what I'm doing -- W. von Braun |
|    I always speak for myself. MY OPINIONS ARE MINE. You can quote them.     |
+=============================================================================+
From: johnston@spc5.jpl.nasa.gov (Paul D. Johnston)
Newsgroups: comp.windows.x
Subject: Re: HP Widget set (was Re: Motif vs Open-look vs X)
Date: 9 Apr 92 15:03:00 GMT
Organization: Jet Propulsion Laboratory, Pasadena, CA

In article <23222@life.ai.mit.edu> gillett@rice-chex.ai.mit.edu (Walter E. Gillett) writes:
>Why doesn't anybody ever mention the HP Widgets (libXw.a) as an alternative to
>Athena or Motif/OpenLook?  Aren't they pretty much Athena functionality with
>a Motif look?  And they're free, right?

   Nobody mentions the HP Widget Set too often because they're not a great
alternative to Athena/Motif/OpenLook (they definitely don't have a Motif
look).  Yeah, they're free, but you get what you pay for.


=========================================================================
| Paul D. Johnston, TSG, Inc. | My comments/opinions are  |  God Rules! |
| johnston@spc5.jpl.nasa.gov  | not shared by anyone      |             |
=========================================================================
Newsgroups: comp.windows.x
From: datri@convex.com (Anthony A. Datri)
Subject: Re: Communication.
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
Date: Thu, 16 Apr 1992 05:14:28 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

>>> Here's my problem:  I have an X-Windows application process running and
>>> a non-X communications process running.  When a message is received by my
>>> comm process, I want to interrupt the X-Windows application and update
>>> a status window indicating that a message has arrived.

This sounds just like ntalk and the new xtalk, which plug-n-play with
each other.  
-- 


======================================================8--<
Newsgroups: comp.windows.x
From: tom@bim.itc.univie.ac.at (Tom Kovar)
Subject: Re: X11R5, fs
Organization: Inst.of Theor.Chemistry,Univ.of Vienna,Austria
Date: Thu, 16 Apr 1992 08:02:20 GMT

In article <1992Apr15.210606.15180@cfa.harvard.edu> you write:
> 
> Hello,
> 
> 	I have recently installed X11R5 on our sun4/4_1_1 system... I want to
> start up the font server but am a little confused about how to do this.  I
> know I can just start up the fontserver itself in the rc.local file... But
> what I want to know is how to integrate the use of the fontserver by all the
> clients.  Do I have to add something to startx?  Also, how would I get xdm to
> use the fontserver.
> 
  You do not have to tell the clients anything. The font server usage is just
the matter of the server. You simply add the entry 

tcp/<host>:<port>

to the font path of the server (either using the -fp parameter of the server
when starting it, or using the xset command with one of the forms of the
fp parameter - see the xset documentation; do not forget to say "xset fp rehash"
after it). <host> stands for any form of the INet address of the host running
the server, <port> is the port on which the server is listening.
  For example, we have the following statement in the .xinitrc:
  xset fp= rcp/tiger:9999
  Naturaly, you may have more servers in the list (separated by commas) and
combine them with "classical" directory entries.

  Good luck,
								Tom
(PS sorry for replying over UseNet, but the address in the From: header was
unresolvable for the mailer :( )
From: gurney@pacific.cps.msu.edu (Eddy J. Gurney)
Newsgroups: comp.windows.x
Subject: How to position child widgets using Xaw?
Date: 13 Apr 92 17:01:24 GMT
Organization: Dept. of Computer Engineering, Michigan State University
Originator: gurney@pacific.cps.msu.edu

I spent about five hours last night trying to figure out how to get
the Athena Widget set to position some Command (push button) widgets
where I want them in a Form widget.

At first I tried using the Resource manager and setting the x, y, 
height and width values, but that didn't appear to have any affect.
The first command widget was the only one which ever appeared, and
filled the entire form.

I found an example in Xaw/examples/xwidgets.c which used XtSetArg
to add an "XtNfromHoriz" when doing an XtCreateManagedWidget and that
DID have an effect... but I still cannot tell it that I want the 
widgets to be wide and short instead of always trying to be square and
filling the entire form.

This SHOULD be a very simple form in my opinion:
	+---------------------------------+
        | +------------+   +------------+ |
        | |  Button 1  |   |  Button 2  | |
        | +------------+   +------------+ |
        |                                 |
        | +-----------------------------+ |
        | |                             | |
        | |                             | |
        | |            Label            | |
        | |                             | |
        | |                             | |
        | +-----------------------------+ |
	+---------------------------------+

But the best I can get, using 'XtNfromHoriz' and 'XtNfromVert' is this:
	+---------------------------------+
        | +-------------+ +-------------+ |
        | |             | |             | |
        | |  Button 1   | |  Button 2   | |
        | |             | |             | |
        | +-------------+ +-------------+ |
        | +-------------+                 |
        | |             |                 |
        | |    Label    |                 |
        | |             |                 |
        | +-------------+                 |
	+---------------------------------+

Any suggestions?  I know Xw (HP) widgets has 'xAttachRight' and 
'yAttachBottom' type resource options... but how do you make a
form like the first diagram in Xaw?

Any hints, ideas or references to a good book on Athena Widgets 
would be greatly appreciated!  Right now the only thing I have 
is the Athena Widget manual which comes with the X11R5 distribution...
and it doesn't have any detailed examples! :-(

Thanks,
Eddy

P.S. Running X11R5 under A/UX 2.0.1 on a MacIIcx, with gcc 2.1...

-- 
         Eddy J. Gurney  N8FPW       THE ECCENTRICITY GROUP           EEEEGGGG
gurney@cps.msu.edu     gurney@egr.msu.edu     17158EJG@MSU.BITNET     EEE G GG
   (Preferred)          (If you want to)      (If you HAVE to :-)     EEEEGGGG
--
   "Failures are divided into two classes-- those who thought and never did,
         and those who did and never thought."     John Charles Salak
Xref: sparky comp.windows.x:9622 comp.editors:1342
From: etxmesa@eos.ericsson.se (Michael Salmon)
Newsgroups: comp.windows.x,comp.editors
Subject: Re: VI bug using X.
Date: 6 Apr 92 07:34:15 GMT
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB

In article <1992Apr3.031346.27292@sunspot.noao.edu>, hcohl@sunspot.sunspot.noao.edu (Howard Cohl) writes:
|> 
|>    Hi Folks,
|> 
|>    I am using the following setup:
|>      SPARCstation 2
|>      SunOS 4.1.1
|>      Sun NeWS server.
|>      twm (Tab Window Manager)
|> 
|>    I used sunview in the past and am now switching
|>    to X.  When I use VI to edit a file, it used
|>    to work that when I pressed an arrow key while
|>    I was in insert mode, it would take me out of
|>    insert mode and then go wherever the arrow pointed
|>    to.  Now that I am using an xterm in the above
|>    mentioned setup, when I enter an arrow key
|>    while I am in insert more, it doesn't take
|>    me out of insert mode and puts the letters
|>    A,B,C and D depending on which arrow I use.

It sounds like vi isn't recognising the ecscape codes that vi sends. Check the
"Enable Application Cursor Keys" entry in the control-middle menu of xterm and the
titeInhibit resource.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.windows.x
From: dwb@IMD.Sterling.COM (David Boyd)
Subject: Re: X Toolkit Callback Order
Reply-To: dwb@IMD.Sterling.COM
Organization: Sterling Software
Date: Wed, 8 Apr 1992 15:48:45 GMT
X-Md4-Signature: 5a452db66bf836808252278c94e3af4f

In article <vtqj4g+.nathan@netcom.com>, nathan@netcom.com (Nathan Alan Whelchel) writes:
|> 
|> The X Toolkit Technical Reference Manual (O'Rielly & Assoc.) states that
|> the function XtAddCallback() adds the specified callback to the
|> end of the callback list.
|> 
|> The X Toolkit Programming Manual shows by example (in section 3.4.2)
|> that callbacks are called, in sequence, from the first entry in the list 
|> to the last.
|> 
|> My experience tells me that it works as these manuals indicate it should.
|> 
|> I have had a few people insist that callback invocation order cannot
|> be gauranteed from one implementation to the next.  (Although none has
|> coughed up their references, for whatever reason) 
|> 
|> Question:
|> 
|>   Can one depend on callbacks (more than one registered for a single
|> callback resource) being invoked in order they were added to the list.
|> 
	In the current incarnation of Xt the order is pretty
well known.  But in would be a very bad practice to depend on this
order IMHO.  There is a reference someplace in the original Xt 
documentation that flat out states that the order callbacks are
invoked is undefined.
-- 
David W. Boyd	             UUCP:     uunet!sparky!dwb
Sterling Software IMD        INTERNET: dwb@IMD.Sterling.COM
1404 Ft. Crook Rd. South     Phone:    (402) 291-8300 
Bellevue, NE. 68005-2969     FAX:      (402) 291-4362