HDTenEightyP/NetNews huggingface dataset:
From: meeks@osf.org (W. Scott Meeks)
Newsgroups: comp.windows.x.motif
Subject: Re: Is widget B the child of widget A?
Date: 21 Jul 92 19:45:43 GMT
Distribution: inet
Organization: The Internet

>Date: 21 Jul 92 12:25:35 GMT
>From: (Fu-Min Chen)
>Can someone tell me what is the easy way to find out if widget B is the child
>of widget A?

(widgetA == XtParent(widgetB))

W. Scott Meeks           
Open Software Foundation 
meeks@osf.org            
(617) 621-7229           
Practice random kindness and senseless acts of beauty.
From: shah@fnsony.fnal.gov (Hemant Shah)
Newsgroups: comp.windows.x.motif
Subject: Re: Unknown keysym name with Motif application under OpenWin
Date: 30 Jul 92 18:53:59 GMT
Reply-To: shah@fnalb.fnal.gov
Distribution: usa
Organization: Fermi National Accelerator Laboratory, Batavia, IL

In article <DRAND.92Jul29120042@spinner.osf.org>, drand@spinner.osf.org (Douglas Rand) writes:
|> In article <l7b9hoINN7n7@news.bbn.com> brosen@BBN.COM (Bruce L. Rosen) writes:
|> 
|>    We have an X application that was linked using Motif version 1.1 libraries.
|>    When we attempt to run it under OpenLook on a SparcIPC using SunOS 4.1.1,
|>    we get hundreds of error messages of the type
|> 
|>    X Toolkit Warning: translation table syntax error: unknown keysym name:
|> 	osfActivate
|>    X Toolkit warning: ... found while parsing '<Key>osfActivate: 
|> 	ManagerGadgetSelect() '
|> 
|> 
|>    We have a valid XKeysymDB file in /usr/lib/X11.
|> 
|>    Can anyone explain what causes this error and what the cure might be?
|> 
|> The usual reason *is* a missing entry in XKeysymDB that reads something
|> like "osfActivate	: xxxxxxxx".  Double check it.
|> 
|> 

On SUN make sure that LD_LIBRARY_PATH environment variable is set properly
as follows:

In C shell:

setenv LD_LIBRARY_PATH /usr/lib:$OPENWINHOME/lib

In Bourne shell:

LD_LIBRARY_PATH=/usr/lib:$OPENWINHOME/lib
export LD_LIBRARY_PATH


If you do not set this variable the application will look at 
$OPENWINHOME/lib/X11/XKeysymDB file which does not contain definition for
osf keys.

Hope this helps :-)

-- 
-------------------------------------------------------------------------------
Hemant Shah                            | All the opinions expressed are my own
Fermi National Accelerator Laboratory  | and does not necessarily reflect
Systems Integration Group              | those of Fermilab.
E-mail :shah@fnal.fnal.gov             |
 Voice : (708) 840-8071	               | I haven't lost my mind
   Fax : (708) 840-2783                | it's backed on tape somewhere.
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x.motif
From: marcs@slc.com (Marc San Soucie)
Subject: Re: HP woes...........(HELLLLPPPP!!!)
Organization: Servio Corp, Beaverton Oregon, US
Distribution: na
Date: Tue, 21 Jul 1992 19:53:55 GMT

Ron Natalie (ron@pilot.njin.net) writes:

> The MOTIF on HP/UX 8.07 has numerous problems.  I can't understand
> it as I was told that this is the development platform for MOTIF.
> Problems include:

> 	Double clicking doesn't work in the selection boxes.

> 	There's something wierd with colors, some widgets emerge
> 	oddly colored.

> 	The callback doesn't work that intercepts the WM close event.

> 	The Va versions of the routines won't work with any resource
> 	values of size less than 4 (notably Booleans).

> 	There is no sequence of loading the -lPW library that
> 	will allow something that incliudes an FileSB widget
> 	to compile properly.

And an Xt-level problem that I've been trying to solve, unsuccessfully:

===============================================================================

I am having some difficulty with the /usr/lib/X11R4 Xt library under HP-UX 
version 8.0.7. I use XtAppAddActions to declare some action names for my 
application, then use those action names in some translations that I apply 
to widgets with XtOverrideTranslations. When I popup the XtTopLevel shell 
in which those widgets live, I get warning messages to the effect that my 
actions cannot be found. I have ascertained that the app context being used 
for XtAppAddActions is the same that XtWidgetToApplicationContext returns 
for the widget whose translations are being changed. I have verified 
spelling and case in the action names. I have compiled and run exactly the 
same code on DEC, IBM, and Sun platforms without error or warnings. Only on 
the HP do I get this behavior.

===============================================================================

    Marc San Soucie
    Servio Corporation
    Beaverton, Oregon
    marcs@slc.com
Newsgroups: comp.windows.x.motif
From: alan@neocad.com (Alan Frost)
Subject: Re: poping XtMainWindow
Organization: NeoCAD, Inc.
Date: Tue, 21 Jul 1992 17:05:57 GMT

Use XMapRaised(display, window) to request that your window be raised.
Newsgroups: comp.windows.x.motif
From: achan@idaho.tdd.sj.nec.com (Amy Chan  x2941)
Subject: Re: Changing the font of Label Widget.
Organization: NEC-AM TDD, San Jose, California
Date: Thu, 23 Jul 1992 18:20:23 GMT

In article <2107@devnull.mpd.tandem.com> swamy@devnull.mpd.tandem.com (Swamy S. Bale (Pi-Net)) writes:
>Hi,
>
>I want to change the fonts of Label widget. I tried    
>
>*label:   -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
>
>but it did not worked. Also tried 
>
>XLoadFont(XtDisplay(labelW),
>        "-adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-");
>
>Is there a way to do that?
>
>thanks for any input.
>swamy 


You can try 

*fontList: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1


Hope this helps.

Amy
--
Amy Chan                 | E-Mail:
NEC America              |  INET: achan@tdd.sj.nec.com
110 Rio Robles           |  UUCP: ...{decwrl,oliveb}!necsun!achan
San Jose, CA 95134       |
Xref: sparky comp.windows.x.motif:5096 comp.windows.x:14135
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: Is there a practical limit to app-defaults?
From: josh@spss.com (Joshua Barr)
Date: Tue, 21 Jul 1992 13:43:05 GMT
Organization: SPSS Inc.

I have a large application whose interface is coded in UIL. I am
considering putting all my labelString resources into my application's
app-defaults file to simplify internationalization/customization,
but am daunted by the strain this will put on launch performance and 
server memory requirements. A conservative estimate is that I have 
15,000 strings. Does anyone have experience with this large an app-defaults 
file or know of alternatives to shipping multiple UID files?


--
Joshua Barr, Interface Designer
SPSS, Inc.
444 N. Michigan Avenue
Chicago, Illinois   60610

josh@spss.com
From: ron@pilot.njin.net (Ron Natalie)
Newsgroups: comp.windows.x.motif
Subject: Re: Default Color of Motif Window Frames
Keywords: FAQ question
Date: 22 Jul 92 17:46:37 GMT
Organization: Rutgers Univ., New Brunswick, N.J.

Cadet Blue?
Newsgroups: comp.windows.x.motif
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Subject: Re: What is "Purify" ?
Organization: Jet Propulsion Laboratory, Pasadena, CA
Date: Thu, 23 Jul 92 17:36:59 GMT

In article <5359@lhdsy1.lahabra.chevron.com> jgmjo@goofy.lahabra.chevron.com (Glyn M. Jones) writes:
>-- 
>Could someone please provide information on "Purify" ? Is this an
>OSF product ? Is is like lint or dbx ?

Yes, no, sort of.

Pure Software Inc.
2111 Grant Road.
Los Altos, CA, 94024
USA
(415) 903-5100
support@pure.com

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: rk@NMS.HLS.COM
Newsgroups: comp.windows.x.motif
Subject: Re: Is widget C the decendant of widget A?
Date: 25 Jul 92 01:12:12 GMT
Followup-To: comp.windows.x.motif
Organization: Hughes LAN Systems Inc., Mountain View, Ca


In article <1992Jul22.140334.28234@osf.org> dbrooks@osf.org (David Brooks) writes:

  >>In article <1992Jul21.202155.23809@uhura.neoucom.edu>, fmc@uhura.neoucom.edu (F
  >u-Min Chen) writes:
  >>#  If widget C is the child of widget B and widget B is the child of widget A,
  >>#  What can I do to determine is widget C the descendant of widget A?
  >>

  >Try this question: How can I tell if widget B is *a* descendant of widget A?

          >for (C = B; C; C = XtParent(C))
          >  if (C == B) return true;     /* This shud be: (C == A) */
          >return false;


I was hoping someone would suggest a correct soln using XtNameToWidget 
(we've been having problems using this) function which goes top-down 
(instead of bottom-up as this FOR loop); returns True of a Widget named 
XtName(B) is a child of A; if this function returns a non-None widget, 
check the returned widget against the widget B (since two widgets may 
have the same name). The problem is that XtNameToWidget stops at the 
first level after the parent and doesn't traverse the widget tree recursively. 
To "coax on" XtNameToWidget further down the subtree, someone suggested
that an asterisk needs to be added at the end of the string returned by 
XtName(B). There was a thread about the usage of XtNameToWidget a few weeks 
ago where this problem was discussed (i.e., how to make XtNameToWidget do 
recursive traversal). Unfortunately I forgot to save the article. Will the 
person who posted it please repost the soln ? Thanx a lot.

Fu-Min Chen 's rephrasing of the question is quite confusing:

 >>If widget C is the child of widget B and widget B is the child of widget A,
 >>  What can I do to determine is widget C the descendant of widget A?

If C is a child of B and B is a child of A why do you  need to *determine* if
C is a descendent of A ? Beats me.



  >David Brooks                                    dbrooks@osf.org


---
S Ramakrishnan, Hughes LAN Systems Inc., Mountain View, Ca
Newsgroups: comp.windows.x.motif
From: misek@solbourne.com (Steve Misek)
Subject: Re: What is "Purify" ?
Organization: Solbourne Computer, Inc.
Date: Sat, 25 Jul 1992 17:35:15 GMT

 :: 
 :: >If you release software that you have not run through purify, you're just
 :: >begging for trouble.
 :: 
 :: Yeah swell, but not all the world is Suns...
 :: 

Of course not.  I work for Solbourne.
However, the question was:
	What is Purify.

And the correct answer is:
	An incredibly well written tool that significantly contributes
	to writing better software.

steve
misek@solbourne (NOT SUN) .com

Newsgroups: comp.windows.x.motif
From: rogerr@netcom.com (roger reynolds)
Subject: Re: Rooms for Motif
Date: Thu, 23 Jul 92 20:21:32 GMT
Organization: Netcom - Online Communication Services (408 241-9760 guest)

In article <1992Jul16.202300.22757@ccd.harris.com> rrc@controls.ccd.harris.com (R. Russell Caldwell) writes:
>
>
>Does anyone know of a Motif application that is comparable
>to the MS/Windows program "Rooms" from Xerox?
>
>"Rooms for Windows" will allow the user to group programs, buttons
>and doors into logical groups.  It is similar to the
>virtual desktop feature of twm, but it saves the locations and
>details about all the rooms so upon the next login it can restore
>the rooms to the way they were left.
>
>Thanx in advance!
>
>Russcky


	VR is a program which I recently picked up from export
	which does exactly this.  Works pretty well too...

	rogerr@netcom.com

Newsgroups: comp.windows.x.motif
From: janzen@lichen.mpr.ca (Martin Janzen)
Subject: Re: XmTextSetString to NULL
Reply-To: janzen@mprgate.mpr.ca
Organization: MPR Teltech Ltd.
Date: Fri, 24 Jul 92 20:01:34 GMT

In article <9207231530.AA11249@amil.co.il>, danny@amil.co.il (Danny Bar-Dov) writes:
>I am having a trouble trying to set a XmTextField to a null
>string. It core dumps the program.
>
>Is
>pointer=NULL;
>XmTextSetString(text_widget, pointer)
>allowed ?

It is for XmText widgets, but not for XmTextField widgets.  For XmText widgets,
XmTextSetString() tests for a null pointer and replaces it with "".  But for
XmTextField widgets, it calls XmTextFieldSetString(), and that function calls
strlen() with the null pointer; thus your core dump.

N.B. I'm looking at Text.c and TextF.c in Motif 1.1.2.

-- 
Martin Janzen                     janzen@mprgate.mpr.ca (134.87.131.13)
MPR Teltech Ltd.                  Phone: (604) 293-5309
8999 Nelson Way                   Fax: (604) 293-6100
Burnaby, BC, CANADA  V5A 4B5
Newsgroups: comp.windows.x.motif
From: alan@neocad.com (Alan Frost)
Subject: Re: Unknown keysym name with Motif application under OpenWin
Organization: NeoCAD, Inc.
Date: Wed, 29 Jul 1992 23:42:19 GMT

>In article <l7b9hoINN7n7@news.bbn.com> brosen@BBN.COM (Bruce L. Rosen) writes:
>
>   We have an X application that was linked using Motif version 1.1 libraries.
>   When we attempt to run it under OpenLook on a SparcIPC using SunOS 4.1.1,
>   we get hundreds of error messages of the type
>
>   X Toolkit Warning: translation table syntax error: unknown keysym name:
>	osfActivate
>   X Toolkit warning: ... found while parsing '<Key>osfActivate: 
>	ManagerGadgetSelect() '
>
>
>   We have a valid XKeysymDB file in /usr/lib/X11.
>
>   Can anyone explain what causes this error and what the cure might be?
>
>
>Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
>The usual reason *is* a missing entry in XKeysymDB that reads something
>like "osfActivate	: xxxxxxxx".  Double check it.
>


Under olwm 3.0 we have found that XKeysymDB must be in $OPENWINHOME/lib

alan
From: ren@kowande.bu.oz.au (Renato Iannella)
Newsgroups: comp.windows.x.motif
Subject: The best way to update dialog display?
Date: 24 Jul 92 09:02:51 GMT
Reply-To: ren@kowande.bu.oz.au
Distribution: world
Organization: SICS, Bond University

-- 

Motif = 1.1.3

What is the best way to make sure that labelStrings in message
dialogs are properly displayed (ie the expose event gets processed)?

For example
 (1) setup a cpu intense WorkProc
 (2) display a WorkingDialog with label
 (3) change the work dialogs labelString
     (with updated feedback from the WorkPorc)
 (4) complete the WorkProc

The problem I find is that in step (2) the dialog does not get 
fully displayed (probably becase the WorkProc is taken over
and mwm is swapped out?)
I added calls to XmUpdateDisplay( dialog ) after I changed the
dialogs labelString in step (3) - but this still did not work
(sometimes it even core dumps in _XmFindTopMostShell - which
I assume is called from XmUpdateDisplay?)

Any help would be greatly appreciated.

Cheers

Renato Iannella
Senior Research Fellow
///////////////////////////////////////////////////////////////////////
X.500: CN=Renato Iannella,OU=School of Information & Computing Sciences
       O=Bond University, C=Australia
COMMS: VOICE= +61 (0)75 953381   FAX= +61 (0)75 953320
EMAIL: AARNET=ren@bu.oz.au  COMPMAIL=r.iannella
Newsgroups: comp.windows.x.motif
From: wayne@ita.lgc.com (Wayne McCormick)
Subject: Re: Settting file filter in a file selection box from C..
Organization: Landmark/ITA Inverse Theory and Applications
Date: Thu, 30 Jul 1992 17:50:48 GMT

What you want to do is set the XmNpattern attribute of the file selection
box before you manage/MapRaised it.  The XmNpattern requires an XmString
parameter.  It is just the pattern to be matched.  The XmNdirectory
attribute will specify the directory.

--
Wayne McCormick                  | Landmark/ITA, Inverse Theory & Applications
wmccormick@ita.lgc.com           | Calgary, Alberta, Canada  
                                 | Phone:(403) 269-4669
From: nazgul@alfalfa.com (Kee Hinckley)
Newsgroups: comp.windows.x.motif
Subject: Re: What is "Purify" ? (Ostriches)
Date: 28 Jul 92 06:11:05 GMT
Distribution: inet
Organization: The Internet

> package from X11R5 they said.... Per Computer world , July 20 page 1 and 20 , as of end of
> 1991 there were 500,000 motif and 550,000 OpenWindows installations ( not counting non Suns or

Be careful what you are counting.  OpenWindows is the default X server that
comes on a Sun.  It includes a bunch of OL applications.  That does not mean
that OpenLook is the preferred interface of the owner of the Sun, or that
they use the OL window manager.

Besides which, this is all peanuts when it comes to installed copies of GUIs.

nazgul@alfalfa.com
617/646-7703 voice/fax

If Unix is the answer, then we've clearly forgotten the question.
Newsgroups: comp.windows.x.motif
From: raney@teal.csn.org (Scott Raney)
Subject: Re: SCO ODT and startx problem
Organization: Colorado SuperNet, Inc.
Date: Thu, 30 Jul 1992 00:23:50 GMT

gec@admiral.uucp (George E. Cabanas) writes:

>Hello all,

>I'm encountering a new problem when I start X under SCO-ODT 1.1.
>It did work a while ago, but I haven't used it in some time.

>To the best of my knowledge, I haven't changed any config files
>and I haven't deleted anything.  This error occurs to any user,
>including root.

>This is the result of executing "startx."

>==========
>$ startx
>Open event driver failed:: No such file or directory
>                                                    giving up.
>xinit:  Invalid argument (errno 22):  unable to connect to X server
>Open event driver failed:: No such file or directory
>                                                    Open event driver 
>failed:: N
>o such file or directory
>                $

SCO ODT has a habit of creaming its serial port and event drivers.
This just happened to me (again) this weekend.  My workaround is to go
back and reinstall the serial port and mouse drivers, and relink the
kernel.  There may be a better way, maybe someone from SCO will post
it.
  Scott

>==========

>Any help would be greatly appreciated.

>Thanks.

>George

>--
>gec%admiral.uucp@yale.edu (George E. Cabanas) <yale!admiral!gec>
>The Admiral's Public UNIX - Greenwich, CT - System Administrator: Doug Fields
>(HST/V32) (203)661-2873 -- (PEP/V32) -1279 -- (V32) -0450 -- (V29/MNP6) -2967
>>FREE!< Unix shell accounts, Usenet access, and Internet-style mail available
-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
Newsgroups: comp.windows.x.motif,comp.windows.x
From: meir@tfs.com (Meir Zaid)
Subject: Re: Using xwd to dump menus
Organization: TRW Financial Systems
Distribution: usa
Date: Wed, 29 Jul 1992 17:52:08 GMT

Chee Chew writes:

>In article <1992Jul28.212909.20892@tfs.com>, meir@tfs.com (Meir Zaid) writes:
>|>
>|>
>|>I would like to dump an images of a menu from an application I am
>|>writing in order to put it in the documentaion.  The problem is that
>|>when I run xwd while the menu is posted I get the error -
>|>
>|>xwd: error: Can't grab the mouse.
>|>
>
>This is from the grab that's done while the mouse is held down?  
>Try doing a:  sleep 5; kill -STOP <proccess id> 
>right before posting the menu.  Then dumping it as the process is suspended.
>
>-Chee


Bad idea..  I tried it.  The process stops alright, but with it everything
else is suspended.  The problem is that while the window is posted, the
only input allowed anywhere on the screen is mouse clicking on the menu
area.  So I had to go to a different terminal and do a kill -CONT <pid>.

-- 

Meir Zaid			meir@tfs.com
TRW Financial Systems		(510) 704-3362
Berkeley,  California		Fax: (510) 845-7311
Newsgroups: comp.windows.x
From: trw@unixland.natick.ma.us (Tim Weil)
Subject: libX11.a - X11R4 link problem
Organization: Unixland Public Access Unix  (508) 655-3848
X-Newsreader: Tin 1.1 PL3
Date: Sun, 26 Jul 1992 02:29:27 GMT

I'm trying to compile a program under X11R4 (1.0) on ESIX 5.3.2D.
In order to save on disk space, I only load the X11 libraries which
I think are necessary (in this case, libX11.a).
 
Using gcc as my compiler I get the following link error -
 
              Undefined symbols
              -----------------     
              grantpt
              unlockpt  
              ptsname               in /usr/lib/libX11.a
 
Do I need other 'X11R4' libraries installed?  Do I need the <1.1>
release of X11R4? Or what....?
 
BTW, the program is a '3-D' Mandelbrot display program - 'cpm'
and runs fine under X11R4 on my office HP 720.
and runs fine under X11R4 on our office SPARC and HP 720 machines.
 
 

Timothy.Weil@dialcom.tymnet.com 

Newsgroups: comp.windows.x
From: klee@wsl.dec.com (Ken Lee)
Subject: Re: One program - two displays - two cursors
Reply-To: klee@wsl.dec.com
Organization: DEC Western Software Laboratory
Distribution: na
Date: Tue, 28 Jul 92 17:16:55 GMT

|> >Just open connections to each display.  If you're using the X Toolkit, put
|> >all the display pointers into the same application context for easy event
|> >handling.
|> 
|> Could somebody briefly explain how Xt implements this internally (or is
|> it too involved)?  Thanks!

Briefly, it just uses select() on the all the sockets.  You can check
the source code for more details.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
Newsgroups: comp.windows.x
From: dan@watson.ibm.COM (Walt Daniels)
Subject: Debugging keyboard grab problems
Organization: The Internet
Date: Tue, 28 Jul 1992 15:38:52 GMT

One of our users occationally gets hung in a state where it looks like
the keyboard is grabbed by someone, i.e. the clock updates, you can
popup a new day window from xcalendar, etc. but you can't type in any
window. You can't perform any window manager functions (Motif).

The first attempt at debugging was to kill windows individually and test
if the grab was still in effect. Unfortunately it was until all the windows
were killed. So my assumption is that the server somehow got the bit
set and there is no mechanism to clear it.

So the question is: How do you find the culprit that set the bit?

Newsgroups: comp.windows.x
From: cwikla@morrison.wri.com (John Cwikla)
Subject: xfred -- a little munching game
Summary: xfred now available
Keywords: X,game
Organization: Wolfram Research, Inc.
Date: Wed, 29 Jul 1992 00:07:30 GMT

The alpha (that way I don't have to have great docs!) version of
xfred is available at export.lcs.mit.edu/contrib/xfred.tar.Z

This game should be a tad familiar to anyone living.  I know that
there are other games that are kind of like it out there already
but I hope this one is more playable.

Basically xfred looks a little like the game PacMan. :-)

It does have an Imakefile, but the docs aren't great, and
the game probably isn't perfect (I wrote it in a week, late
at night, when I got tired of doing real work...)

However, I do believe it has it's own flare.

Take a peek, and if you have anything nice to say, let me
know what you think.

John 
--
o  John L. Cwikla          o
 o  X Programmer            o
  o  Wolfram Research, Inc.  o
   o cwikla@wri.com           o