HDTenEightyP/NetNews huggingface dataset:
From: saxe@proline.cs.unc.edu (Eddie Saxe)
Newsgroups: comp.windows.x.motif
Subject: Background for oclock under motif
Date: 8 Oct 92 21:07:25 GMT
Organization: The University of North Carolina at Chapel Hill

There is a [minor] item that I've been trying to deal with.  It's completely
an aesthetic problem, and if I can't deal with it, it's not something I
can't cope with.  But, something inside me says that there should be a way
to deal with it.

This problem only occurs when I use a DECstation with mwm as my window
manager.  When I use a SPARCstation, or when I use twm, this problem doesn't
occur.  But, on a DECstation, Motif somehow puts a background around the
oclock face, to fill out to be a rectangle.  I've tried to edit my
.Xdefaults, putting:
Mwm*oclock*clientDecorations:	none
in it, to no avail.

Which, if there is one, resource do I need to alter to get it to leave the 
background off?  If there isn't a way, why does Motif leave it off on the
SUNs?

Thanks,
Eddie
-- 
 ____/|  Bill the Cat says "Vote Dave Barry | saxe@cs.unc.edu alias
 \ o.O|  for President!"  Actually, he says,| eddie@uncvx2.oit.unc.edu
  =(_)=  "ACK!  THPHTH!" but we're sure that| "That can't be my shirt.  My
    U    he's a Dave Barry supporter.       |  shirt doesn't snore."--G. Marx
From: GJAMES@HUSKY1.STMARYS.CA (GJames)
Newsgroups: comp.windows.x.motif
Subject: Desqview/x
Date: 15 Oct 92 17:17:15 GMT
Organization: Saint Mary's University

It it possible to run Quaterdesk's Desqview/X in 256 colors?


Thanks
From: richm@netcom.com (Richard Mauri)
Newsgroups: comp.windows.x.motif
Subject: Re: Motif Widget Writing
Date: 16 Oct 92 15:35:20 GMT
Distribution: inet
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

In article <9210142220.AA00890@spike.ora.com> adrian@ORA.COM (adrian) writes:
>
>> So when do we get the third volume which describes how to write your own Motif
>> widgets? :-)
>> 
>> (Side note: I just ported a Motif widget I wrote (subclassed from Primitive)
>> to Motif 1.2 and was surprised to find I didn't have to make drastic changes
>> to get it to work again.  Some stuff got moved into different header files
>> and some extern function declarations disappeared on me, but that was easy
>> to fix).
>
>If you want to write a basic widget subclassed from Primitive, 
>Volume 4M chapters 6 and 7 cover it.  Other parts of the book discuss
>certain other widget-writing techniques such as event filters.
>There's also a chapter on writing geometry managing widgets 
>(subclasses of Manager), but I advise against it since it's quite 
>complicated.
>
>I don't think we're likely to have a book on subclassing other Motif
>widgets (such as Text, for example) for a while, until OSF
>documents (or stops changing) the internals of its widgets.  These 
>internals have changed drastically with each Motif release.  For 
>example, subclasses of Label or Text written for Motif 1.1 are probably 
>useless and would have to be totally rewritten for 1.2 because of the 
>new i18n features.
>
>*************************************************************
>Adrian Nye (314) 531-1231    Editor, The X Resource
>O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
>4466 West Pine Blvd.  20-G   St. Louis MO 63108
>Internet:   adrian@ora.com    	UUCP:   uunet!ora!adrian      
>*************************************************************
>


I have just completed my first widget, a map display widget that is
derived from Primitive. I have written a convenience function to
create a form and some other children and my map widget. It works fine
but I wonder if I can make a new widget to do this instead. This new
widget is really just a component widget that wrappers up existing
motif based widgets. I read somewhere that a component widget like
this is the easiest kind of widget to write, even easier that deriving
from Primitive. Well I'm not sure how to go about it. Is there an example
out there or any tips?

Rich Mauri

-- 
Richard Mauri               // Not ready to face the winter.
SW Eng / X hack             // Pray for wind.
Trimble Navigation Ltd.     // Pay the bills.
richm@netcom.com	    // Hope nothing breaks
From: pickerig@dns0.bham.ac.uk (Mr. G. Pickering)
Newsgroups: comp.windows.x.motif
Subject: Re: A DialogShell Question ?
Date: 10 Oct 92 15:47:17 GMT
Organization: The University of Birmingham, England
X-Newsreader: TIN [version 1.1 PL6]

jsimon@bnr.ca wrote:
: Hi.
: 
:   I would like to have comments from Motif Gurus, regarding DialogShell
: widget.
: 
:   n = 0;
:   XtSetArg(args[n],XmNmappedWhenManaged,False); n++;
:   dlog_shell = XmCreateDialogShell(top_level,
:                                    "name",
:                                    args,
:                                    n);
: 
:   How come the above piece of code doesn't work? Inspite of setting
: XmNmappedWhenManaged to False, it pops up even before it is mapped
: using XtMapWidget!
: 
:   Has anybody encountered this problem?
: 
:   Any ideas on this would be real great.
: 
:   Thanks.
: 
:   girish.
: 
: PS: I have a lot of widgets on the DialogShell, and I don't like the idea
:     of seeing all these little widgets being drawn of the DialogShell.
:     I just want to map it all when needed.

--
Guy Pickering
Electronic Eng, University of Birmingham, Edgbaston, Birmingham. ENGLAND
G.PICKERING@uk.ac.bham  or pickering@uk.ac.bham.eee
From: lewis@KOALA.DREA.DND.CA (Lloyd Lewis)
Newsgroups: comp.windows.x.motif
Subject: Composite Resources
Date: 13 Oct 92 17:49:34 GMT
Distribution: inet
Organization: The Internet

I'm using Motif 1.0, X11R3, HP-UX 7.00 on an HP 9000/834. 

Could someone please explain to me the meaning of the 
the following description as taken from page 1 of
the Composite (3X) page the OSF/Motif Programmer's Reference
manual (dated July 27, 1989).



        Cardinal (*XtOrderProc) (widget)
                  Widget             w;

        w         Specifies the widget.


I understand its purpose and I want to use it,
but I don't know how to code it.  I need help in
two areas:  1) the XtSetArgs/XtSetValues requirements,
and 2) an example function.

I'd appreciate any contribution.



P.S. The XmNinsertPosition resource is not included in
our set of Xm.h.  I did find XmNchildPosition which I
assume is the same thing.  Another undocumented feature.
--
****************************************************************

Lloyd Lewis  BSc(CS), MSc(CS)                  271 Brownlow Ave.
Systems Development Group                      Dartmouth, N.S.
OCEANROUTES CANADA INC.                        Canada  B3B 1W6
lewis@koala.drea.dnd.ca                   tel: (902) 468-3007
                                          fax: (902) 468-3009

****************************************************************
From: gsa@informatik.uni-kiel.dbp.de (Gisa Susanne Ahrendt)
Newsgroups: comp.windows.x.motif
Subject: Wanted: Help Manager
Date: 12 Oct 1992 07:30:55 GMT
Organization: Department of Computer Science, University of Kiel, Germany
Distribution: inet
NNTP-Posting-Host: odin.informatik.uni-kiel.dbp.de
Keywords: Help Manager

I'm looking for a 'help manager' program under motif or open window.
The 'help manager' should work like the program 'WinHelp()' under MS
DOS Windows 3.0 or 3.1 (or like that in OS 2).

It should be possible to integrate the help functions in my own
programs.

Any hints appreciated.

Please mail to  gsa@informatik.uni-kiel.dbp.de

Thank's in advance,

Karsten Arndt
--
 Gisa Susanne Ahrendt
 Department of Computer Science, University of Kiel
 Preusserstr. 1-9,  W-2300 Kiel 1, Federal Republic of Germany
 E-mail: gsa@informatik.uni-kiel.dbp.de (gsa@odin.inf...)
From: amga@hpuerca.atl.hp.com (Anne Gale)
Date: Thu, 8 Oct 1992 13:53:13 GMT
Subject: Re: Motif 1.1.3 on HP700
Organization: the HP Response Center, Atlanta
Newsgroups: comp.windows.x.motif

/ hpuerca:comp.windows.x.motif / peterson@maunakea.Data-IO.COM (Joe Peterson) /  7:32 pm  Oct  6, 1992 /


I used to get "_regcmp" as undefined during link.  I checked the FAQ
and rebuilt FileSB.o with -DNO_REGEX and now I get "re_comp" and "re_exec"
as undefined during link.  The FAQ says to use libPW.a, but I can't find
tghis file on the HP700 we have.

How do I get a Motif app to link on the HP700?
--------------------------------------------------------------------------


libPW.a lives in /lib on a 700.  You should just specify -lPW and you
shouldn't have a problem.

Anne Gale

Newsgroups: comp.windows.x.motif,comp.windows.open-look
From: yrjola@hkkk.fi (Matti Yrjola)
Subject: Re: XtAppCreateShell
Date: Wed, 7 Oct 92 09:12:29 GMT
Organization: Helsinki School of Economics, Finland
Keywords: Motif,shell,OpenLook,HP

In <1992Oct6.062352.7747@newsserver.rrzn.uni-hannover.de> riepe@ifwhp1.ifw.uni-hannover.de (Michael Riepe) writes:

>In article <1992Sep25.204432.29954@ast.saic.com>, doc@fajita.saic.com (Thomas W. Dockery 6429) writes:
>|> I ran into the following oddity yesterday.  Running our motif application on an
>|> HP 710, with motif 1.1, I set $DISPLAY to a Sun SparcStation running OpenWindows
>|> 3.0.  Nada.  Locally on the HP, and on the SparcStation running OpenWindows 2.0
>|> and X11R4, all worked fine.  I find that it is hanging on the following call:
>|> 
>|> 	MFTI_Shell = XtAppCreateShell( NULL, "cfwin"
>|> 		applicationShellWidgetClass, MFTI_Display, Args, ac );
>|> 
>|> So far I have tried changing all arguments but the class and the display, to no
>|> avail.  Any ideas?
>|> 
>[lengthy .sig deleted]

>Are you sure that your Motif application really hangs ? I have a similar problem with a HP720 and a Sparc10 (OpenWindows 3.0) - when I run an xterm on the HP with $DISPLAY set to the Sun, everything works; but when I run a Motif application, the window just doesn't pop up. This happened with hpterm and xrn as well as with one of my own applications. So, I killed the jobs on the HP and went on. But I forgot to kill one of the processes, and about ten (!!!) minutes later the window suddenly popped up o

>Sun.

>This seems to be a HP related problem; applications running on a RS 6000 or VAX
>will display their windows immediately.

>Do you believe in magic ? Anyone else ?
>-- 

There has been some discussion in comp.sys.hp about similar problems
with sun machines. 
I will include the following posting by HP people:

--- begin clipping ---
Subject: Re: Problems with lrom

In comp.sys.hp, hb@woody.csd.uu.se (Henrik B}kman  CSD) writes:

>I'am trying to use lrom, the new laserrom reader, against a sun
>running xnews, OW3, but it doesn't work :-( lrom just hangs and
>I have to kill it. When I run an MIT X11R5 server on the sun
>everything works fine.

>Do I do something wrong or is there a bug somewhere? I haven't
>run xscope or anything like that yet. I thought I should ask the
>net before I dig to deep in it.

Don't know for sure, but it sounds like a known problem with the OW3
server.  You might try setting the *useColorObj resource to False.  If
this solves the problem, try getting patch 100444 from Sun.  That
should
solve the problem without having to set the resource.

And by the way, if this IS the problem, lrom is not actually hung, but
merely taking a VERY long time to start.  Various applications that
hit
this OW3 server problem have been known to take over 20 minutes to
start.

Aaron 
--- end clipping ---

Matti

-- 
----------------------------------------------------- I did it  M   M  Y   Y
 Matti Yrjola, Helsinki School of Economics, Computer Center !  MM MM   Y Y
 Runeberginkatu 14-16, 00100 HELSINKI, FINLAND               !  M M M    Y
 INTERNET: yrjola@hkkk.fi                                    !  M   M  waY
Newsgroups: comp.windows.x.motif
From: test@next1.mae.okstate.edu 
Subject: Command Widget
Keywords: Prompt String in Command widget
Reply-To: muthann@next1.mae.okstate.edu
Organization: Oklahoma State University Computer Center
Date: Mon, 12 Oct 1992 17:41:33 GMT


Hi,
	I am trying to create a Command widget with the prompt string in  
line with the text entry region & have problem with it. The prompt is  
placed a step above. Is there any way of controlling the position of the  
prompt string independently. Any help would be appreciated.
	Muthanna.
	
(muthann@mae.okstate.edu)
	
Newsgroups: comp.windows.x.motif
From: cons@mercury.cern.ch (Lionel Cons)
Subject: Re: Help!  Menus aren't working on my HP 750
Followup-To: comp.windows.x.motif
Organization: CERN, European Research Center for Particle Physics
Date: Wed, 14 Oct 1992 12:57:58 GMT

>>>>> On 13 Oct 92 23:09:23 GMT, hebo@hp850.mbari.org (Bob Herlien) said:

Bob> Simple option and popup menus don't appear to work properly on my
Bob> HP 750 system, although the same code works correctly on my HP
Bob> 370.
     [description deleted]

We had the same problems, the solution is to use the following patch:

Patch Name:  PHSS_1378
Patch Description: August 1992 Periodic Patch for Motif 1.1
--

Lionel Cons

+------- CERN - European Laboratory for Particle Physics -------+
| E-mail: cons@dxcern.cern.ch                                   |
| Earth-mail: CN/SW/WS, CERN, CH-1211 GENEVE 23, Switzerland    |
| Phone: +41 22 767 49 13              Fax: +41 22 767 71 55    |
+---------------------------------------------------------------+
From: adrian@ORA.COM (adrian)
Newsgroups: comp.windows.x.motif
Subject: Re: Motif Widget Writing
Date: 14 Oct 92 17:20:00 GMT
Distribution: inet
Organization: The Internet


> So when do we get the third volume which describes how to write your own Motif
> widgets? :-)
> 
> (Side note: I just ported a Motif widget I wrote (subclassed from Primitive)
> to Motif 1.2 and was surprised to find I didn't have to make drastic changes
> to get it to work again.  Some stuff got moved into different header files
> and some extern function declarations disappeared on me, but that was easy
> to fix).

If you want to write a basic widget subclassed from Primitive, 
Volume 4M chapters 6 and 7 cover it.  Other parts of the book discuss
certain other widget-writing techniques such as event filters.
There's also a chapter on writing geometry managing widgets 
(subclasses of Manager), but I advise against it since it's quite 
complicated.

I don't think we're likely to have a book on subclassing other Motif
widgets (such as Text, for example) for a while, until OSF
documents (or stops changing) the internals of its widgets.  These 
internals have changed drastically with each Motif release.  For 
example, subclasses of Label or Text written for Motif 1.1 are probably 
useless and would have to be totally rewritten for 1.2 because of the 
new i18n features.

*************************************************************
Adrian Nye (314) 531-1231    Editor, The X Resource
O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
4466 West Pine Blvd.  20-G   St. Louis MO 63108
Internet:   adrian@ora.com    	UUCP:   uunet!ora!adrian      
*************************************************************

Newsgroups: comp.windows.x.motif,comp.windows.x
From: dyoung@gizmo.wpd.sgi.com (Doug Young)
Subject: Re: Young's C++/Motif - a few problems
Reply-To: dyoung@1.com
Organization: Silicon Graphics, Inc.
Date: Fri, 16 Oct 1992 23:14:09 GMT

In article <1992Oct16.193223.8564@sunova.ssc.gov>, rupen@smurf.ssc.gov (Rupen Sheth) writes:
|> In trying to use Young's MotifApp model (which I think is great) for our applications, I have run into
|> two problems.
|> 
|>   There are some things in Motif that do not have a client data. For example, in order to change
|>   the file search procedure in FileSelectionBox, we have to register a XmNFileSearchProc.  I
|>   cannot think of a way I use this to do what I want.  


One way around this would be to store the this pointer on the widget using
the XmNUserData resource. Then this can be retrieved in any callback.

|> Second problem: Related to using ObjectCenter.

Sorry, I haven't used ObjectCenter.

Doug

Newsgroups: comp.windows.x.motif
From: dwd@cbnewsc.cb.att.com (David W. Dykstra)
Subject: Can someone explain useAsyncGeometry to me?
Organization: AT&T
Date: Wed, 7 Oct 1992 20:41:02 GMT

My application is both resizing and moving it's windows by setting the 
width, height, x, and y resources on the TopLevelShell.  I was running 
into instances where reading those resources after setting them would 
show that they had not changed.  The window had indeed resized and 
moved but the internal widget geometries did not get recalculated 
because the resource values hadn't changed.  

If I then set those values again to the same values there are cases 
where the program hangs and a stack back trace shows it inside 
_XmRootGeometryManager and _XtwaitForSomething.  

I stumbled across the resource 'useAsyncGeometry' in TopLevelShell and
setting it TRUE seems to solve the problems.  Does anyone know if this may
cause trouble in other situations?  If not, why isn't it the default?

'strings' on mwm says I'm using Motif 1.1.  It's an NCR SVR4 i386 box.

- Dave Dykstra
  dwd@graceland.ih.att.com
From: grante@aquarius.rosemount.com (Grant Edwards)
Subject: Re: Running Motif application without Motif
Reply-To: grante@aquarius.rosemount.com (Grant Edwards)
Organization: Rosemount, Inc.
Date: Tue, 13 Oct 1992 21:14:50 GMT

jaaksi@cc.tut.fi (Jaaksi Ari) writes:
: 
: I've made an application using Motif in SUN.  Now I'd like to send
: my compiled executable program files to somebody who doesn't have 
: Motif but only X and Open Windows in his SUN.
:

It can be done, I run the Motif version of the Wingz spreadsheat from
Informix, but I don't run Motif.  I run MIT X11R4 and the twm window
manager -- no problems so far!

--
Grant Edwards                                 |Yow!  FEELINGS are cascading
Rosemount Inc.                                |over me!!!
                                              |
grante@aquarius.rosemount.com                 |
Newsgroups: comp.windows.x.motif
From: sasarh@demetris.unx.sas.com (Tony Hefner)
Subject: Geometry Management Problem
Originator: sasarh@demetris.unx.sas.com
Date: Wed, 14 Oct 1992 17:28:26 GMT
Organization: SAS Institute Inc.


I have a co-worker who sets up the following widget heirarchy:

                   Form->ScrolledWindow->RowColumn

He then dynamically adds Forms to the RowColumn which contain Labels and
PushButtons arranged horizontally, like so:

                     ^    ^     ^
                     |    |     |
                  <-PB <-PB <-Label   (arrows indicate attachments)
                     |    |     |
                     v    v     v

The RowColumn has packing=PACK_COLUMN, orientation=VERTICAL, numColumns=1,
and adjustLast=False.

The problem is that unless he explicitly sets the height of each form,
it seems to be placed in the RowColumn as though it had a height of 1.
All of the children of the forms are managed before the form.  Does anyone
have any ideas on why this may be happening.

                            -- Tony Hefner (aka sasarh@unx.sas.com)
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x.motif
Subject: Re: xmkmf
Date: 8 Oct 1992 11:57:47 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: tommy
Keywords: xmkmf imake

In article <1992Oct7.203702.10308@mcs.kent.edu>, chen@humboldt.kent.edu
(Chen) writes:
|> I still don't know why one imake works while the other doesn't, with the
|> same xmkmf.
|> I thought it was because of the shared libaray, may be someone needs to
|> explain
|> more...

Hmm, whatever the reason is (see Paul DuBois' comments on this subject) you
can still try imake-pure. It is a "real" MIT X11R5 Imake and should thus
work.

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
Newsgroups: comp.windows.x.motif
From: papka@bert.eecs.uic.edu (Michael Papka)
Subject: Checkmark in Menu
Organization: University of Illinois, Chicago
Date: Wed, 7 Oct 1992 15:18:15 GMT

 I was wondering if there is a way of representing a
selected item in a pulldown menu with a checkmark?

			Thanks
			mike
			papka@bert.eecs.uic.edu

Newsgroups: comp.windows.x.motif
From: jaaksi@cc.tut.fi (Jaaksi Ari)
Subject: Running Motif application without Motif
Organization: Tampere University of Technology, Finland
Date: Thu, 8 Oct 92 08:27:08 GMT


Hi!

I've made an application using Motif in SUN.  Now I'd like to send
my compiled executable program files to somebody who doesn't have 
Motif but only X and Open Windows in his SUN. Is it possible to
create Motif application so that it includes all Motif things
inside a program file and doesn't need Motif available at the
run time? Or do I need all Motif files available both when I 
compile and link and when I run the application?

Thanks for help!

Ari Jaaksi
From: casey@austin.ibm.com (Casey Kimbrell)
Newsgroups: comp.windows.x.motif
Subject: open-look to motif
Keywords: open look motif
Date: 10 Oct 92 00:13:30 GMT
Organization: IBM Austin
Originator: casey@fjord.austin.ibm.com

Hi,
	I need to know the following:

IS THERE A TOOL TO CONVERT OPEN LOOK APPLICATIONS TO MOTIF APPLICATIONS? 

If anyone out there has any information with regard to this request I
would be most appreciative if it were shared with me; whether it is
free, or proprietary-for-sale software makes no difference.  Please
mail responses to: kc@austin.ibm.com.
					Thank You,
						-Casey.
Given:
a: I would not want anyone to represent my opinions but myself;
b: I would not represent anyone else's opinion but my own;
premise:
a=True
a=b

1: a=b
2: a & b->(b & a)
3: b & a->(a & b)
4: (a & b)<=>(b & a)
5: a<=>b
6: a=True
.: I would not want anyone to represent my opinions but myself,
   and 
   I would not represent anyone else's opinion but my own.
-- 

_______________________________________________________________________________
Casey Kimbrell                |  Internal : casey@fjord.austin.ibm.com
IBM AWD Tech Support          |  External :
From: lewis@KOALA.DREA.DND.CA (Lloyd Lewis)
Newsgroups: comp.windows.x.motif
Subject: reordering widget traversal within a row/col widget
Date: 9 Oct 92 18:41:21 GMT
Distribution: inet
Organization: The Internet

The row/col table saga continues.

Is it possible to insert a new text widget into a table of
text widgets within a row/col widget such that Motif will
then traverse the text widgets in the order in which they
appear within the table on the display.

I experimented with it today, but didn't have any luck.  
I built a table of text widgets within a Row/Col widget.  
Using the XmNx and XmNy resources, I started the first row 
of the widgets far enough down in the row/col area so as
to allow a new row of widgets to be inserted at the top, and
then inserted a new row of widgets at the top.

However, when traversing through the widgets the focus goes to the first
widget of the second row (actually the widget which was originally
created first, obviously Motif keeps the order of traversal restricted
to the order in which the widgets are created).  Traversal through 
the remaining widgets eventually leads
back to the new first row as if it were placed at the end
of the table.

Any advice on how to override Motif's traversal policy through
its row/col widget members will be appreciated.  
--
****************************************************************

Lloyd Lewis  BSc(CS), MSc(CS)                  271 Brownlow Ave.
Systems Development Group                      Dartmouth, N.S.
OCEANROUTES CANADA INC.                        Canada  B3B 1W6
lewis@koala.drea.dnd.ca                   tel: (902) 468-3007
                                          fax: (902) 468-3009

****************************************************************