HDTenEightyP/NetNews huggingface dataset:
From: niko@iastate.edu (Nikolaus E Schuessler)
Subject: Re: Motif 1.2 books
Keywords: 1.2, sample code
Organization: Iowa State University, Ames, IA
Date: Fri, 8 Jan 1993 01:41:27 GMT

In article <1iidaoINNfon@hpsdlss3.sdd.hp.com> mattb@sdd.hp.com (Matt Bonner) writes:
>Are there any books out there that cover Motif 1.2 other than the 
>OSF books?  I would be especially be interested in a 1.2 version
 ^^^^^^^^^
What / where / isbn's / who / prices / ordering info ??

Nobody answered my post...





-- 
Niko Schuessler               
Project Vincent Systems Manager              email: niko@iastate.edu
Iowa State University Computation Center     voice: (515) 294-1672
Ames IA 50011                                snail: 272 Durham 
Newsgroups: comp.windows.x.motif
From: roger@zeus.alta-oh.com (Roger Grywalski)
Subject: Re: HP Motif Woes
Date: Mon, 11 Jan 1993 15:40:51 GMT
Organization: ALTA Analytics
Keywords: HP Motif

HP patch PHSS0953 fixed this problem for us.
-- 
Roger Grywalski          roger@alta-oh.com
ALTA Analytics           PH# (614) 792-2222
555 Metro Place North
Dublin, Oh 43017
Newsgroups: comp.windows.x.motif
From: matt@macsch.com (Matt Jackson)
Subject: HP Motif Woes
Originator: matt@sparc6
Keywords: HP Motif
Organization: The MacNeal-Schwendler Company b.v.
Date: Fri, 8 Jan 93 13:49:31 GMT


I have configured a FileSelectionBox in a FormDialog to select several
different kinds of files (with different extensions, f'rinstance) by
adding an OptionMenu as the optional WorkArea child of the FSB.

This works great if I display my application on my SUN (running R5), and
even works on OW3. However, if I run my app on the HP console, once
something has been selected from the OptionMenu, the FSB will not accept
keyboard input, and double-clicking to initiate a directory search does
nothing.

Apparently, this is a keyboard focus problem, since setting the focus
to some other window (by clicking on it -- we're using the standard 
vuewm click-to-type deal), then setting it back to my dialog box restores
the "lost" functionality.

Is this a bug? Does anyone know how I can fix or work around this?

Thanks for your time.

-------------------------------------------------------------------
Matt Jackson                           e-mail: m_jackson@macsch.com  
The MacNeal-Schwendler Co. b.v.       Surface: Groningenweg 6
"Lao-tsu never lived in Amsterdam..."          NL-2803 PV Gouda 
                                 
-- 
-----------------------------------------------------------------
Matt Jackson                           e-mail: m_jackson@macsch.com  
The MacNeal-Schwendler Co. b.v.       Surface: Groningenweg 6
"Lao-tsu never lived in Amsterdam..."          NL-2803 PV Gouda
From: robc@rocket.sanders.lockheed.com (Rob Costantino)
Newsgroups: comp.windows.x.motif
Subject: What is the latest Motif version?
Date: 5 Jan 93 13:42:04 GMT
Distribution: comp.windows.x.motif
Organization: Lockheed Sanders, Inc.

What is the lastest OSF Motif version and how long has it been out?

Thanks

--
Rob Costantino 		robc@rocket.sanders.com
Lockheed Sanders
From: joergens@snorre.informatik.uni-dortmund.de (Ulrich Joergens (PG211))
Newsgroups: comp.windows.x.motif
Subject: Problems with XmDeleteAllItems
Date: 4 Jan 1993 16:57:23 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: snorre.informatik.uni-dortmund.de
Keywords: X11R4, Motif1.1

Hello,

1)
I have some problems with XmDeleteAllItems under motif1.1.
Calling this function evokes a core dump.
Even an old workaround (for X11R3) doesn't work anymore.

Are there any bugs known and if so are there any workarounds?

2)
How can i explicitly give the input focus to a widget when it pops up?

Thanks
Uli
Newsgroups: comp.windows.x.motif
From: susanh@gvlf4-w.gvl.unisys.com (Susan Hancock)
Subject: Undo in XmText
Organization: Paramax Systems Corporation, Paoli PA
Date: Fri, 8 Jan 1993 16:34:16 GMT

Any suggestions on how to implement an Undo feature for a text 
editor application using the XmText widget?  If not, how about 
an Undelete feature that is only responsible for the last deletion?

Thanks in advance.

Susan Hancock
Newsgroups: comp.windows.x.motif
Subject: Beginners book for programming in motif info needed.
From: cs_sic@cs2.lamar.edu
Date: 11 Jan 93 16:15:30 CST

I would like to know good book on motif for beginner. I appreciate your help,
please mail the details at cs_sic@cs4.lamar.edu.

Thanks in advance,

Suresh Choksi.
From: tlee@vtopus.cs.vt.edu (Timothy Lee)
Newsgroups: comp.windows.x.motif
Subject: Dialog and Menu push button questions
Date: 8 Jan 93 23:24:13 GMT
Reply-To: tlee@vtopus.cs.vt.edu (Timothy Lee)
Organization: Virginia Polytechnic Institute & State University


I have two problems:

1) Goal: I am trying to put up a message dialog w/ a "Please wait..." message 
while my program is processing.  After calculation, I remove the dialog and 
put up a window with results.
   Problem: All I got is a dialog that's not fully displayed (a partial dialog
with no message inside).  The dialog only contains message when my calculations
are completely done, which defeats the purpose of message dialog.

   Skeleton:
       [omitted]
       message = XmCreateMessageDialog ((Widget) parent, "message", arg, i);
       XtManageChild (message);

       codes...(includes some interface code to bring up the results)
	 (create soem widgets...)

       XtUnmanageChild (message);

       codes
      	 (manage the created widgets & displays resutls...)

What's wrong?

2) Goal: Given a pull-down menu, I want to mark the items that are active.
It seems X can include a bitmap with XtNleftBitmap, but not Motif.  How can
I accomplish this?

Thanks.

Tim Lee		tlee@csgrad.cs.vt.edu
Newsgroups: comp.windows.x.motif
From: anil@microware.com (Anil Purohit)
Subject: Use of color with Icons
Keywords: Icon, color etc.
Organization: Microware Systems Corp., Des Moines, Iowa
Date: Wed, 6 Jan 1993 23:26:56 GMT


Hi there!
	I have been trying to create some icons for my applications.
I have the foll. questions

	1) Is it possible to use more than 2 colors in an icon ?

	2) If the answer to the above is NO then read below:
		
		I was running an openwindows application "mailtool"
	   and when iconized it had 3 colors i.e. black, white &
	   blue ( which I believe was the background color ). If 
	   somebody could explain me how to get that, it'll save
	   my life.

Thanks a lot.

anil

-- 
--------------------------------------------------------------------
DISCLAIMER:
Opinions expressed are mine and only mine.

Anil C. Purohit  			E-mail:	anil@microware.com
--------------------------------------------------------------------
From: edbis@solomon.technet.sg (Koh Eng San)
Newsgroups: comp.windows.x.motif
Subject: Help: Retrieving Unix Messages
Date: 5 Jan 93 05:25:17 GMT
X-Newsreader: TIN [version 1.1 PL8]

Hi there,

Have a question on retrieving unix error messages in my X
program.  I know I would be able to do this by piping the error to a file
and read from the file again.  Just wonder if there is any other way of
doing this better.  Can atom be use? If yes, how ?

Would appreciate any help ....

Thanks ....


--
===============================================================================
Koh Eng San				Tel: (65) 3306-779
Systems Programmer			Fax: (65) 3306-786
Economic Development Board		Internet Id: edbis@solomon.technet.sg
of Singapore

			Have a GREAT Day!!!
==============================================================================
Newsgroups: comp.windows.x.motif
From: dennisk@aplcenmp.apl.jhu.edu (Dennis M. Kavanagh)
Subject: ADA Bindings/SERC
Organization: Johns Hopkins Continuing Professional Programs
Date: Thu, 7 Jan 1993 23:33:09 GMT


Does anyone have any thoughts on the above package?
We are looking to use the product on the RS6000...
From: deveau@oceanroutes.ns.ca ("Terry J. Deveau")
Newsgroups: comp.windows.x.motif
Subject: Re: Changing the mouse arrow
Date: 7 Jan 93 18:50:44 GMT
Reply-To: deveau@koala.drea.dnd.ca
Distribution: inet
Organization: Seimac Limited

Merlin (University of Chicago) writes:
> 
> I would like to change the mouse arrow in my application to an hourglass
> or a clock when it's performing a long, cpu intensive calculation in order
> to reassure the user that something is still occuring.  
> 
> Does anyone know where I can get a public domain pixmap of a hourglass
> or a clock for such an effort?

My copy of OSF/Motif Programmer's Reference (1.0) lists several cursor
pixmap names that are included with Motif on the last page of the entry
for XmRowColumn. "hourglass" is not listed, but "clock", "coffee_mug",
and "Watch" are. The pixmap files for these must be *somewhere*, no? Try
UNIX find.

--

Terry J. Deveau                   Internet: deveau@oceanroutes.ns.ca
Seimac Limited                    Phone: (902) 468-3007
Dartmouth, N.S., Canada           Fax: (902) 468-3009
From: huub@cwi.nl (Huub Bakker)
Newsgroups: comp.windows.x.motif
Subject: xmCascadeButtonWidget problem
Keywords: dynamic pulldown menu's
Date: 6 Jan 93 15:40:38 GMT
Reply-To: Huub.Bakker@cwi.nl
Organization: CWI, Centre for Mathematics & Computer Science

Hello world,

I want to make 'dynamic' pulldowm menus in my application. My application is a
User Interface Manager of a programming environment generator which resides in
another process. 
When the user clicks on a dynamic pulldown menu, the application has to ask
the programming-environment-generator-process what the content of the menu
will be. I've implemented the pulldown-menus using a CascadeButtonWidget and
the XmCreatePulldownMenu function.

The first thing I've tried is to  use the XmNcascadingCallback of the cascade
widget to do the communication and to change the content of the pulldown menu.
But something very strange happens: it looks like the X-server being blocked.
I can't type in any character in an xterm, only the window manager is still
working.

Then I tried to use an EventHandler for the ButtonPressMask on the cascade
widget. The same thing happened but now also the windowmanager is not anymore
usable.

Because the whole thing works fine for PushButtonWidgets instead of
CascadeButtonWidget I'm beginning to worry for a bug in the
CascadeButtonWidget software?

Am I doing anything wrong? Does anyone out there has a solution?


Thanks in advance,

Greetings, Huub.

-- 
CWI, P.O. Box 4079 			Huub Bakker (huub@cwi.nl)
1009 AB Amsterdam
The Netherlands
Tel. 31 20 5924080
Newsgroups: comp.windows.x.motif
From: afsypng@cid.aes.doe.CA (Jacques Marcoux)
Subject: Re: MrmNcreateCallback documentation?
Organization: Environment Canada
Date: Tue, 12 Jan 93 15:08:01 GMT

In article <1993Jan9.171824.3426@wam.umd.edu> liuxia@wam.umd.edu (New VaxHacker) writes:
>	I am trying to find the functionality of MrmNcreateCallback.
>I looked at the UIL programming guide but couldn't find any explanation
>for it. Any help would be greatly appreciated. 
>	
>	liuxia@wam.umd.edu 
 
Basically it is called whenever that widget is fetched. It have the same prototype
as any other callback.


-- 
================================================================================
Thou shalt check the array  bounds of all  strings  (indeed,  all  arrays),  for
surely where thou typest ``foo'' someone someday shall type ``supercalifragilis-
ticexpialidocious''.
Newsgroups: comp.windows.x.motif
From: vprasad@dragon (V G Prasad)
Subject: Problem with Building Motif library on Sun4
Organization: UMass/Lowell Center for Productivity Enhancement
Date: Fri, 8 Jan 1993 17:00:04 GMT

Hi,
I am trying to build Motif library on Sun4 (R5) and I get the following 
error 
ld: Undefined symbol 
 _XtStrings 

 Am I missing something ??
From: joe@Veritas.COM (Joe Fasano)
Newsgroups: comp.windows.x.motif
Subject: MotionNotify Events in 1.2 menus
Date: 12 Jan 93 17:11:38 GMT
Distribution: comp.windows.x.motif
Organization: VERITAS Software


I am printing all the dispatched events occuring
in the Motif 1.2 periodic demo program.

Does anyone know why no MotionNotify events are produces
while moving in the pulldown menus.

All my applications produce MotionNotify events in pulldown menus.

Is the periodic program different ?  Is it because of UIL ?

Help!

- joe

joe@veritas.com

-----------------------------------------------------------------------------
Joe Fasano                         Internet: joe@veritas.com
Veritas Software                   uucp:   ...!{apple,pyramid}!veritas!joe
4800 Great America Pkwy
Santa Clara, CA  95054             Phone:  408-727-1222'


-- 
	-------------------------------------------------------------
	joe			ARPAnet:  veritas!joe@apple.com
	joe@veritas.com		UUCPnet:  {apple,pyramid}!veritas!joe
Newsgroups: comp.windows.x.motif
From: garath@irony.engin.umich.edu (Scott Grosch)
Subject: Re: heller updates
Date: Sat, 09 Jan 93 16:12:38 EST
Organization: University of Michigan (CAEN)
Distribution: na
Reply-To: garath@engin.umich.edu
Originator: garath@irony.engin.umich.edu


Example  15-8   editor.c   (page 504 in my book)

  else {
        /* make sure a newline terminates file */
        if (text[len-1] != '\n')
            fputc(fp, '\n');
-------------------^^^^^^^

These arguments are in reverse order of what they should be.
-- 
Scott Grosch                              Internet: garath@engin.umich.edu
Programmer                                        Bitnet: user7a4b@umichum
Computer Aided Engineering Network                  University of Michigan
Newsgroups: comp.windows.x.motif
From: kiron@vedge.com (Kiron D. Bondale)
Subject: Text field widget supporting multicolors
Organization: Visual Edge Software Ltd.
Date: Fri, 08 Jan 1993 18:26:58 GMT

Hi all...

would anybody be able to point me to a text widget that supports
multiple colors (within the same widget).  I seem to recall having
seen something about one in the last little while...

Thanks

Kiron

-----------------------------------------------------------------------
+ Kiron D. Bondale     + "The man in black fled across the desert,    +
+ Systems Manager      + and the gunslinger followed"... Stephen King +
-----------------------------------------------------------------------
+ Visual Edge Software Ltd +  3870 Cote Vertu, St. Laurent, Quebec,   +
+ kiron@vedge.com          +  CANADA, H4R 1V4  Tel: (514)-332-6430    +
-----------------------------------------------------------------------
-- 
-----------------------------------------------------------------------
+ Kiron D. Bondale     + "The man in black fled across the desert,    +
+ Systems Manager      + and the gunslinger followed"... Stephen King +
-----------------------------------------------------------------------
Newsgroups: comp.windows.x.motif
From: jdw@medicus.com (Jim Wolters)
Subject: Is the mwm hourglass cursor available to the rest of us?
Summary: Can we get the hourglass cursor?
Keywords: Motif, hourglass
Organization: Medicus Systems Corporation, Alameda, California
Date: Tue, 12 Jan 1993 17:51:51 GMT

Can the rest of us Motif applications get the mwm hourglass cursor or is it
private to mwm?  I've been using XC_watch but it doesn't look as nice.

------------------------------------------------------------------------------
Jim Wolters                                                    jdw@medicus.com
Medicus Systems Corporation                                         -or-
Alameda, CA                                      {uunet,sun!rtech}!medicus!jdw 
Newsgroups: comp.windows.x.motif
From: vadi@csi.com (Vadivelu Elumalai)
Subject: Re: heller updates
Organization: Comdisco Systems Inc.
Distribution: na
Date: Tue, 12 Jan 1993 22:25:53 GMT

Section: 11.1.5

	Example 11-2. The xcal.c program  Page # 366 (in my book)


In main(), local variable month_no should be initialized (to 1).

While,

% xcal                       initializes month_no


% xcal 1993                  does not.



This is a potential bug as month_no is passed to XmListSelectPos() later
in main() procedure.

		XmListSelectPos(w, month_no, True);

Problem Code: In main()

	int i, month_no ;

It should be,

	int 1, month_no = 1 ; /* or any number in the range 1 - 12 */


-Vadi
vadi@csi.com
-----------------------------------------------------------------------------
vadi@csi.com | Sex is not the answer. Sex is the question. Yes is the answer.
-----------------------------------------------------------------------------

Newsgroups: comp.windows.x.motif
From: sglanger@vela.acs.oakland.edu (LANGER STEVEN C)
Subject: Capturing the Close Gadget
Organization: Oakland University, Rochester MI.
Distribution: na
Date: Mon, 4 Jan 1993 21:40:38 GMT

Hi all;
  A couple of days ago I noticed a posting of the wm_delete.c
program from pg. 588 of Dan Heller's MOtif Programming manual
I tried to run it, but during the compile I get parameter type
mismatch on the final arg tin the XmAddWMProtocolCallback func.

here's the basic code;

Widget dialog, shell;
Atom WM_DELETE_WINDOW;

	dialog = XtVaCreateManagedWidget ("title", xmDialogShellWidgetClass,
		mainWindow, XmNdeleteResponse, XmDO_NOTHING, NULL);

	XtManageChild (dialog);

	shell = XtParent (dialog);
	WM_DELETE_WINDOW = XmInternalAtom (XtDisplay(mainWindow),
				"WM_DELETE_WINDOW, False);

	XmAddWMProtocolCallback (shell, WM_DELETE_WINDOW, response, dialog);
------------------------------------------------------------------------^
compiler says this should be a pointer to char (XtPointer) and not a 
pointer to struc (ie the Widget dialog).

void response (Widget w, XtPointer data, XmAnyCallbackStruct *cbs)
{
	printf (" in RESPONSE\n");
}

Furthermore, when I replace dialog with "test string" to get the comiler
to not choke, the code rruns flawlessly, EXCEPT the resonse func is 
never entered.

I apologise if there is a plethora of minor typose in the above,the
VAX editor is abominable, but take my word for it, the only line 
the compiler chokes on is the one I indicated.

Has anyone else tested this example and gotten it to work as
written? I am using a SGI Indigo with IRIX 4.0.5

--steve
-- 
Steve Langer  			       sglanger@argo.acs.oakland.edu (VMS)
Oakland University		       sglanger@vela.acs.oakland.edu (Ultrix)
---------------------------------------------------------------------------
Standard disclaimers apply. In addition, the author makes no guarantees,
concerning the grammatical accuracy of his writing. Therefore, any ^B's, ^C's, 
midword character additions/deletions and other non-sense which occurs (after 
the work leaves the author's decade old text editor via his decade old Amiga, 
struggles through a local 1200 baud Merit server to be further mauled via the 
remote VAX mail servers) is someone elses problem - namely yours.
---------------------------------------------------------------------------
Newsgroups: comp.windows.x.motif
From: joses@delilah.Jpl.Nasa.Gov (Jose Salcedo)
Subject: Motif Interface builder on the Sun
Organization: Jet Propulsion Laboratory, Pasadena, CA
Distribution: usa
Date: Wed, 6 Jan 1993 15:35:57 GMT

Can anyone recommend an interface builder on the Sun platform? Any pointers
would be greatly appreciated.

Thanks in advance
Newsgroups: comp.windows.x.motif
From: sbakke@xcuseme.MITRE.org (Steve Bakke)
Subject: Having trouble with scroll bars.
Organization: MITRE Corp. McLean Va.
Date: Mon, 11 Jan 1993 21:05:16 GMT


I am having problems with scrolled windows.  Whenever I attempt to scroll a window using
the scroll bar, I get a memory fault.  The following is the call tree to the point
where it crashes:

main
XtAppMainLoop
XtDispatchEvent
DecideToDispatch
DispatchEvent
_XtTranslateEvent
HandleSimpleState
HandleActions
Select
ScrollCallback
XtCallCallbackList
HorizSliderMove

I am using motif 1.1.1 with X11R5  (Compiled with #define MotifBC yes) on a 
Sun Sparc-2.

Anyone know why this might be happening?

Thanks.
Newsgroups: comp.windows.x.motif
From: diaz@venice.sedd.trw.com (Phillip Diaz)
Subject: Orphan Dialog Boxes
Organization: TRW Systems Engineering & Development Division, Carson, CA
Distribution: usa
Date: Tue, 12 Jan 1993 03:02:54 GMT


HELP,

	When I spawn multiple processes with a 
Working Motif Dialog Box (one per process) I 
sometimes get "orphan windows". This meaning
that only a partial drawing of the dialog box
gets displayed onto the screen (usually just 
the top left corner of the dialog box and
just the first letter of the name of the dialog
box).

	My question is, how to stop processing
long enough (controlling my own events during
exposure) to ensure that all of the dialog box
can be displayed before being swapped out by
other processing?

		Thanks in advance,

				Phil Diaz
From: pms@galaxy.uci.agh.edu.pl (Piotr Machowski)
Newsgroups: comp.windows.x.motif
Subject: HELP the GREENHORN !!!
Date: 12 Jan 93 19:22:19 GMT
Distribution: inet
Organization: University of Mining & Metallurgy
NNTP-Posting-Host: galaxy.uci.agh.edu.pl
X-Newsreader: TIN [version 1.1 PL8]

Almighty Motif Programmers,

  at the very beginning: I'm new to the group and to the subject :-(
but I have to become familiar with motif in a month ... 

By now I'm looking for information about:

1) FAQ file location for this group
2) hint on what books should I read and where to buy them (prices?)
3) hint on where one can buy motif (to be installed on sparc running
   SunOS 4.1.3 and X11R5.pl19) --> email contacts prefered

I'll appreciate any form of help. 
Thanks, Piotr.

/*--------------------------------------*-----------------------------------*\
|  University of Mining and Metallurgy  |           Piotr Machowski          |
|            Computer Centre            |      SUN & VAX systems manager     |
|        30-059, Krakow, Poland         |                                    |
|          av. Mickiewicza 30           |  tel: (+48 12) 33 81 00 ext 28 85  |
| tel/fax (+48 12) 338907,  tlx 0322203 |  pms@uci.agh.edu.pl, pms@plkagh11  |
\*--------------------------------------*-----------------------------------*/
Newsgroups: comp.windows.x.motif
From: tac@uniware.de (Thomas Ackermann)
Subject: Motif licence poilitics
Organization: UniWare Computer GmbH
Date: Thu, 07 Jan 1993 15:37:56 GMT
X-Newsreader: Tin 1.1 PL4


Hi,

is there anybody out there able to answering my questions concerning
osf/motif licences ?

Does OSF licence version 1.1.x of Motif still yet ?

If they do so, what would it cost to get a runtime-licence for SOLARIS
2.1 (we have a source code licence of Motif 1.1.x and want to sell a
Motif based product to our customers - therefore we need to get
licenced our binaries) ?

Now there is Motif 1.2 - customers have heard about it. Why to buy an
elder version of Motif, why not 1.2 ?

Licence conditions of OSF say that we can buy a >> limited distribution
right cpu source licence <<. 
What would happen if we want to sell run time copies of our products based 
on that >> limited distribution right cpu source licence << to customers 
who don't have machines with motif object code installed and licenced on ?

Sounds crazy, doesn't it ? If anybody understood my question, I would
be very pleased to get some answers ...
 
Would there be a silver line on the horizon ... ?

Bye,

Thomas

-----------------------------------------------------------------------

Thomas Ackermann
UniWare Computer                           e-mail:  tac@uniware.de
Berlin                                     phone:   +49 30 310009 - 249
Germany                                    fax:     +49 30 310009 - 250