HDTenEightyP/NetNews huggingface dataset:
From: amir@matis.UUCP (Amir Katz)
Newsgroups: comp.windows.x
Subject: Xt Questions
Date: 9 Apr 92 14:39:38 GMT
Article-I.D.: simpson.9204091239.AA02896
Reply-To: matis!ingr.COM!amir%matis.UUCP@uunet.uu.net
Organization: SEE Technologies Ltd.

Xperts,
We have a Motif application using Motif 1.1.3 from ICS. We have two problems
(among many others) that I'm sure that the net can help with:

1. The user selects an option and a widget is created and mapped. The widget
   remains, but it is later obscured by other widgets. When the user selects
   the same option again, we want to raise the widget above all others.
   We are using

       XRaiseWindow (display, XtWindow(widget))

   but it does not work. Why? Is there an Xt-based method of doing that?

2. We need to know, inside the application, whether it is in iconified or
   normal state. Same requirement for some of its widgets.
   Once can call 'XGetWMHints', but is there a neater way of doing it?

-- Thanks in advance,
-- 
/* Amir J. Katz          | UUCP:     uunet!ingr!matis!amir               */
/* System Specialist     | Internet: amir%matis.UUCP@ingr.COM            */
/* SEE Technologies Ltd. | Voice:    +972 52-584684, Fax: +972 52-543917 */
From: arshad@siesoft.co.uk (Arshad Mahmood)
Newsgroups: comp.windows.x
Subject: window in Save-set is moved when display is closed.
Date: 10 Apr 92 10:11:46 GMT
Organization: Siemens Nixdorf Systems Development Group, UK.

I have two clients - client1 and client2.
In client1 I create two window - win1 (parent root, position x1,y1) and
win2 (parent win1, position x2,y2).
In client2 (which is started after client1) I add win2 (of client1) to save-set 
using XAddToSaveSet().No windows are created in client2.
When the display in client2 is closed, win2 is moved to position (x1+x2,y1+y2).

Is it possible to add windows to save-set which are not children of root
window ?

Have I found a bug or what I am doing is not supported ?

Please reply by email.

Thanks in advance.

arshad

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Arshad Mahmood                               |  Tel   : 0344 850987
Siemens Nixdorf Information Systems Limited  |  Fax   : 0344 850096
Siemens Nixdorf House                        |  email : arshad@siesoft.co.uk
Oldbury, Bracknell
Berkshire RG12 4FZ
England.
From: davidd@noaapmel.gov (David Doll)
Newsgroups: comp.windows.x
Subject: remote display problem
Date: 7 Apr 92 23:56:28 GMT
Article-I.D.: wimpie.DAVIDD.92Apr7155628
Organization: NOAA, Sand Point Way, Seattle, WA


Hello, I'm stumped on this. Could someone show me the light: From a
Sparc 2, I'm rlogin or telnet'd to a remote machine (off site) and I
try to do an app like xterm on the remote machine. It should come up
on my machine (local) after I've done setenv DISPLAY mymachine:0.0 and
xhost +. but instead I get:

local-machine> xhost +
local-machine> telnet remote-machine
remote-machine> setenv DISPLAY local-machine:0.0
remote-machine> xterm
XIO: fatal IO error 32 (Broken pipe) on X server "(null)"
     after 0 requests (0 known processed) with 0 events remaining.
     The connection was probility broken by a server shutdown or
     KillClient.
remote-machine>

Is seems like the problem is right in front on my nose, but I can't
see it...Someone sitting in the next office had no problem trying this
at the same time. This was tried Sun to Sun, Sun to Dec, Dec to Sun,
xterminal to etc. Thanks for the help.

David

--
David Doll              |  #include <std.disclaimer> Standard disclaimers 
                        |  apply here...only my opinion,not my employer, etc.
NOAA/PMEL/OCRD          |  
7600 Sand Point Way NE  | --------------------------------------------------
Seattle, WA 98115-0070  |
voice:(206) 526-6862    |  C++: The language where only friends can access
fax:  (206) 526-6744    |  your private members.   
davidd@noaapmel.gov     |
Newsgroups: comp.windows.x
From: ware@oboe.cis.ohio-state.edu (Peter Ware)
Subject: Re: Doesn't anyone use XrLib?
Originator: ware@oboe.cis.ohio-state.edu
Organization: The Ohio State University Dept. of Computer and Info. Science
Date: Tue, 7 Apr 1992 17:24:21 GMT

Xrlib is the very, very old X-ray toolkit from HP[1].  This was
originally developed under X10R4 (yes, X10) probably around 1988.
Many lessons learned in developing Xr were applied to the Xt
Intrinsics.  The X-ray toolkit was ported to X11 out of the kindness
of someones heart.  You are probably the only person in the entire
world using this library.

Switch to using an Xt based widget set such as Athena (free and ugly),
Motif (sexy but cancerous), Open Look Intrinsics Toolkit (sexy but
hard-to-get) or another toolkit such as Xview (Sun, free), Interviews
(Stanford, free, c++), OI (Solbourne/AT&T, $, c++).  There are
probably others.

[1] After I wrote HP I suddenly started thinking maybe it was
    Tektronix that did Xr.  Oh well, I'm sure someone will correct me.

--pete
--
Pete Ware / Ohio State University /
           ware@cis.ohio-state.edu
           (614) 293-0535
Newsgroups: comp.windows.x
From: rsmith@proteus.arc.nasa.GOV (Roger Smith -- IAS)
Subject: X Load Monitor
Organization: The Internet
Date: Mon, 6 Apr 1992 18:31:04 GMT


On Sun, 5 Apr 1992 08:24:23 GMT, if36@vaxb.acs.unt.edu writes:

>>> Hi
>>>   Few days  back I saw a article in computers.windows.x.announce
>>> about x load monitor program. Can anyone send that ftp address to
>>> my account

>>> Thanks in advance

>>> nvkumar@cs.unt.edu 


Here is the main text of the message you are referring to:

I just parked an X based ethernet load monitor
on export.lcs.mit.edu in the /contrib directory
under the name of XEnetload.tar.Z

Here is a brief excerpt from the man page:

DESCRIPTION:
     The xnetload program displays a periodically updating histo-
     gram  of  the  ethernet load average for the specified host.
     The resulting graph is scaled as a 0% to 100% load. NOTE:The
     specified host must be running rpc.etherd.


This program uses the Athena StripChart widget. Its output appearence 
is identical to the xload program we all know and love, with the 
exception that it displays a minimum of ten scale lines which 
correspond to ethernet load in increments of 10%. With this 
program you can monitor the ethernet load of any node your network
can access, provided that the target node is running rpc.etherd.

The Z file contains an Imakefile, a Makefile, and a complete man page.
Be sure to use "make install" so the  resource file gets properly
installed in the app-defaults directory.

Enjoy! Comments and suggestions eagerly accepted. Problems or bug
reports dealt with as time allows. Flames to /dev/null
------------------------------------------------------------------
Roger Smith
Sterling Software at
NASA-Ames Research Center
rsmith@proteus.arc.nasa.gov
- 
If change is -- inevitable -- predictable -- beneficial -- 
doesn't logic demand that you be a part of it?
One man cannot summon the future. But one man can change the present!
    -- Kirk and the Alternate Spock, "Mirror, Mirror," stardate unknown
+
From: gert@fwi.uva.nl (Gert Poletiek)
Newsgroups: comp.windows.x
Subject: X Image Extension
Keywords: Imageprocessing
Date: 9 Apr 92 15:34:45 GMT
Organization: FWI, University of Amsterdam



Does somebody on the net know anything about something called 
the 'X Image Extension' (XIE). I know that someone worked on this
and that a manual should exists (dated some 1.5 years back).

I would like to know if there are any more recent descriptions
of this extensions.


Please mail to me directly.
Thanks in advance


Gert Poletiek
gert@fwi.uva.nl
University of Amsterdam
Faculty of Mathematics and Computer Science
The Netherlands

-- 
Gert Poletiek  Dept. of Math. and Computing Science, University of Amsterdam,
               Kruislaan 409, NL-1098 SJ  Amsterdam, The Netherlands
Internet:      gert@fwi.uva.nl                   uucp:          gert@uva.uucp
bitnet:        gert%fwi.uva.nl@mcsun.bitnet
From: mahan@tgv.COM (Patrick L. Mahan)
Newsgroups: comp.windows.x
Subject: Re: Using color masks in XImage structure
Date: 8 Apr 92 02:51:56 GMT
Article-I.D.: TGV.920407195156.21a0055a
Organization: The Internet

# I am using XGetImage to get information about an image in
# a drawable. As a result, an XImage structure is returned with
# the information. Is it possible for me to use the red, green and blue
# masks in the XImage structure to find out the RGB colormap values?

I don't believe so (but if I'm wrong somebody will tell me ;-)).

When I have implemented the usage of grabbing the image data using
XGetImage() I always used ZPixmap format which required getting
the colormap with XGetColors() (sp?).  Then using the pixel to index
into the the XColor array to locate the RGB values.

Since, I don't have my docs handy, I can't say off the top of my head
for using the other two formats.


Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz)
Newsgroups: comp.windows.x
Subject: Re: Communication.
Date: 8 Apr 92 09:57:07 GMT
Article-I.D.: bauv106.stefans.702727027
Organization: Universitaet der Bundeswehr Muenchen (Germany)

srp@godiva.ssw.COM (Selene R. Platt) writes:


>> 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.  What is a good
>> way to do this?  Do I have to make my comm process an X-Windows process
>> in order to to successfully communicate?  I'm on a VAXstation 3100 using
>> VMS and Motif 1.1.

>We had to implement a similar sort of thing, and found that we had to use a
>polling approach rather than an interrupt-driven one.  I'll preface this by
>saying that I know nothing about any utilities available on the VAX.  Our
>application runs on DG AViiON's and uses Xipc for interprocess communication.

>In the X/Motif application, a timeout is registered for 'n' seconds, after 
>which the application's Xipc queue is checked for any new messages.  These
>messages can come from any other process - X/Motif or not.  If there are more
>messages on the queue, the next X timeout registered is 0 seconds; if there
>are no more messages, the timeout is 'n' seconds.  With this implementation,
>all processes use a common IPC mechanism but the purely comm processes don't
>have to get involved with X/Motif.  If your comm mechanism can support this
>scenario, it might be the way to go.

Why so complicated!
Make your comm-process a simple X-process (without any windows).
Then you use ICCC to communicate with your X-application.
There is no need for timeouts and your application is totally
independent of the underlying operating system.

Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
Newsgroups: comp.windows.x,comp.windows.x.motif
From: aw@jello.bae.bellcore.com (Andrew Wason)
Subject: Re: Should XtOverrideTranslations work this way?
Reply-To: aw@bae.bellcore.com
Organization: Bell Communications Research
Date: Fri, 10 Apr 92 22:12:59 GMT

In article <ku9d3hINN8i2@news.bbn.com>, rnewman@bbn.com (Ron Newman) writes:
> In the following Wcl "program", a new translation for
> "<Key>" seems to override the old translation for 
> "<Key>g", even though the left-hand side is not the
> same.  Why does this happen?
> [...]
> *but.activateCallback: WcTraceCB (overriding translations) \n\
>     WcSetValueCB (^raw.translations: #override\n\
>       <Key>: WcTraceACT("key pressed (override)"))
> [...]
> *raw.translations: \
>    <Btn1Down>: WcTraceACT("Button 1 down") \n\
>    <Key>g: WcTraceACT("G key pressed") \n\
>    <Key>: WcTraceACT("Key pressed (original)")


The R5 Xt spec says about XtOverrideTranslations:

  XtOverrideTranslations logically appends the string
  representation of the widget's current translations to the string
  representation of the new translations and reparses the result
  with no warning messages about duplicate left-hand sides

  i.e., if the new translations contain an event or event sequence
  that already exists in the widget's translations, the new trans-
  lation overrides the widget's translation.

Assuming this applies to translations applied via XtSetValues
with the #override directive, then your overriding translations
are prepended to the widgets existing translations and you end up
with:

    <Key>: WcTraceACT("key pressed (override)")\n\
    <Btn1Down>: WcTraceACT("Button 1 down") \n\
    <Key>g: WcTraceACT("G key pressed") \n\
    <Key>: WcTraceACT("Key pressed (original)")

So the first translation for <Key> grabs all key events.

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
From: datri@convex.com (Anthony A. Datri)
Newsgroups: comp.windows.x
Subject: Re: Motif vs Open-look vs X
Date: 9 Apr 92 16:59:29 GMT
Article-I.D.: news.1992Apr9.165929.6784
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
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.


>	For Motif, it comes shipped on many platforms, and I believe that 
>the royalty (license ?) fee is $50.00 per app shipped. This is more
>expensive than OpenLook, but considering the cost of the average Unix
>app, it's not too bad.

Neither Motif nor OpenLook is a product, and neither can be shipped.  Do
any of your vendors ship the color "Blue"?

My understanding is the the O$F requires a license for their library on each
*system*.  This means that you end up paying for the same license multiple
times, even if you have a site license.

Almost all vendors who ship XView or OSF/Motif library products can't
understand shared libraries.

-- 


======================================================8--<
From: Paul.Terray@fifi.univ-lyon1.fr
Newsgroups: comp.windows.x
Subject: looking for Xaw and Xmu for HP
Date: 7 Apr 92 03:57:02 GMT
Organization: INSA Informatique, Lyon, France
NNTP-Posting-Host: fifi.univ-lyon1.fr

While compiling some ftp programs on HP s400 with X11R4 and HP/UX 8.0,
some of them ask for Xaw and Xmu to run. When looking further,
it appears to be llib-lXaw.ln and llib-lXmu.ln that are missing.
Is there a way to find them? By ftp? please answer by email.
BTW, the program we are trying o compile is Xboard to make it run
with gnuchess.
--
Paul TERRAY			Internet:	popaul@fifi.univ-lyon1.fr
INSA de Lyon   	69621 Villeurbanne CEDEX	France		  	
Newsgroups: comp.windows.x
From: stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: Motif to act like spreadsheet
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Wed, 8 Apr 1992 10:11:36 GMT

ahsiung@bbn.com (Anita Hsiung) writes:

>Hello all.  The platform we are using is:

>	386 PC running SCO UNIX 
>	Motif 1.0+ (not quite 1.1)
>	X11R3

>The following shows the basic layout:

>		Label 1     Label 2     Label 3    Label 4     ^
>Label A          xxx         xxx         xxx        xxx        #
>Label B          yyy         yyy         yyy        yyy        #
>Label C          zzz         zzz         zzz        zzz        |
>Label D          www         www         www        www        |
>                                                               V
><##########--------------------------------------------------->

>The labels and data (PushButtons) are on a Form with a parent of
>ScrolledWindow with scrollbars on the Right and Bottom sides.

>What I want to do is:
>   Scroll up and down (right SB) with the top row of labels frozen
>   Scroll left and right (bottom SB) with the left column of labels
>	frozen.

>Is there an easy way to do this?


Have you had a look at XbaeMatrix, posted some time ago to
comp.sources.x.
The author is Andrew Wason (aw@bae.bellcore.com).
I think he has implemented a widget with exactly such a functionality.

Stefan

-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: mahan@tgv.COM (Patrick L. Mahan)
Subject: Adding CC options to Imakefile
Organization: The Internet
Date: Thu, 9 Apr 1992 15:54:36 GMT

Does anyone have a clue as how to add CC options to an Imakefile?  We are
having problems building X11R5 under SunOS 4.1.1 using CC.  It fails here 
and there with "compiler(iropt) error: write_irfile: No space left on device"
and seeing from root the "/" was full.  We would like to use the CC option
-tmp to get around this.  How do I add it to the Imakefile to ensure that
this gets done?

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: pwickman@cerebus.cc.edu (Paul J. Wickman)
Newsgroups: comp.windows.x
Subject: XtCallbackPopdown
Date: 7 Apr 92 04:06:49 GMT
Article-I.D.: carroll1.3095
Reply-To: pwickman@cerebus.cc.edu (Paul J. Wickman)
Organization: Carroll College-Waukesha, WI


	I am having trouble working with XtCallbackPopdown.  Can
someone please send me some example code that makes it work?  Just
a small program that allow you to popup a secondary shell and to close it
again.  I'd really appreciate it.

	Oh ya, I'm using X11r4.


	
--
Paul J. Wickman - Systems/Network Administrator, Computer Science Dept.
Carroll College	 Waukesha, WI 53186
Internet: pwickman@carroll1.cc.edu	Phone: 414-524-7343
Xref: sparky comp.windows.x:9783 comp.windows.open-look:2158 comp.sys.m88k:186
From: chestr@bu-it.bu.edu (Stephen Dyer)
Newsgroups: comp.windows.x,comp.windows.open-look,comp.sys.m88k
Subject: Building XView3 on a Motorola 88k (help?)
Date: 9 Apr 92 18:16:25 GMT
Reply-To: sdyer@bbn.com (Stephen Dyer)
Followup-To: comp.windows.x
Distribution: na
Organization: Bolt, Beranek & Newman Systems and Technologies, Cambridge, MA

Hello, all.

I'm trying to get XView3.0 installed on a Motorola 88k machine
running System V/88.  I currently have X11R5 installed (except
the server and PEX) and at least nominally functioning, after
tracking down problems and fiddling with the MIT distribution.
But while X11R5 wasn't a simple conversion (at least not for
me), at least it came close to building with the original dist.
XView, on the other hand, looks like it will be extremely non-
trivial to port.  My current problem, which precludes making
a whole lot of progress toward finding other problems, is that
XView is looking for include files which simply don't exist
on this system.

So.  My question to the net is this:  has anyone out there
managed to get XView3 onto an 88k SYSV/88 machine?  And 
functioning properly?  Or know someone who has?  If so, I
would greatly appreciate any assistance, in any form.

Responses via e-mail would be preferred, as I don't generally
read these groups.

Thanks in advance,
Stephen Dyer
BBN Systems and Technologies
MS 14/2d
70 Fawcett St.
Cambridge, MA 02138
(617)873-2308
From: uhqy@vax5.cit.cornell.edu
Newsgroups: comp.windows.x
Subject: routines for displaying images
Date: 15 Apr 92 18:02:00 EDT
Distribution: comp
Organization: Cornell University

Does anyone have X-routines for displaying images under X-window?
We have grabbed some motion frames from our camera in our lab, and 
would like to display them one after another so as to create a cartoon
like sequence.  Any help would be greatly appreciated.  

Thanks

-Alex
From: dsg@mbunix.mitre.org (Goldberg)
Newsgroups: comp.windows.x
Subject: X Video Class (Summary)
Date: 1 Apr 92 16:40:18 GMT
Organization: The Mitre Corp., Bedford, MA.


Well, there's not much out there.  The only place we found was Hands
on Learning in Boston, 800-248-9133.  We did get offers from several
other places to do a live class here and allow us to tape it.  That's
probably too expensive and we will likely go with HOL.

The National Technological University in Ft. Collins Colorado (303)
484-6050 does satelite uplink classes, and they said they might be
willing to tape one and sell it to us, but I haven't gotten enough
details from them as far as terms etc go, yet.

Thanks to everyone who responded.
--
Dave Goldberg                      UNIX Systems Programmer/Administrator
Post: The Mitre Corporation MS B020 202 Burlington Rd. Bedford, MA 01730
Phone: 617-271-2460
Domain: dsg@mbunix.mitre.org  UUCP: {your neighborhood}!linus!mbunix!dsg 
Newsgroups: comp.windows.x
From: olson@sunfish.aaet.csc.ti.com (Doug Olson)
Subject: C++ and Xinterfaces
Organization: Texas Instruments Incorporated, Austin, TX
Date: Wed, 15 Apr 92 21:21:30 GMT

Hi,

	I am currently working on a project that is in its beginning
stages. We are going to be developing a system in C++ and want the
User Interface to be Motif compliant. Right now we are trying to
determine whether a UIF builder would be of value to our development
efforts. How helpful are UIF builders outside of the prototyping
realm? What suggestions/ideas are out there with regard to 
creating X window interfaces with C++ applications in general? Are
there any good tools or development environments that significantly
aid the development of X based user interfaces for C++ applications??  

Any suggestions/thoughts/ideas would be greatly appreciated,
--
=======================================================
Doug Olson		| P.O. Box 149149, M/S 2227	
Texas Instruments	| Austin, Texas, 78714-9149	
12501 Research Blvd	| olson@add.itg.ti.com		
=======================================================
Newsgroups: comp.windows.x
From: dsr@chickpea.mitre.org (Douglas S. Rand)
Subject: Re: HP Widget set (was Re: Motif vs Open-look vs X)
Organization: The MITRE Corporation
	<23222@life.ai.mit.edu>
Date: Thu, 9 Apr 1992 15:01:43 GMT

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?

How about the level of support available?  Motif and OLIT are
supported products and MIT supports Athena.  Who supports Xw?

Xw,  at least the last Xw I used before Motif came out,  did not 
have the Motif look and feel.  It did have a similar,  but smaller,
widget hierarchy than Motif.


--
Douglas S. Rand 
Internet:   <dsrand@mitre.org>
Snail:	    MITRE, Burlington Road, Bedford, MA 
Disclaimer: MITRE might agree with me - then again...
Amateur Radio: KC1KJ
Newsgroups: comp.windows.x