HDTenEightyP/NetNews huggingface dataset:
From: rrybacki@ringer.cs.utsa.edu (Richard M. Rybacki)
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: Re: How to get mouse x,y location???
Date: 9 Apr 92 13:51:09 GMT
Organization: University of Texas at San Antonio

In article <1992Apr8.135439.1@pa621a.inland.com> solomon@pa621a.inland.com (Paul J. Solomon) writes:
>Greetings!
>
>Does anyone know how to query the X-server for the current x,y coordinates
>of the mouse pointer?
>
>Any help would be greatly appreciated.  :-)
>
>-paul.
>-- 
>----------------------------------------------------------------------
>| Paul J. Solomon            |  "Consequences, Schmonsequences...    |
>| solomon@pa881a.inland.com  |       as long as I'm RICH!!!"         |
>| Inland Steel Co.           |             -Daffy Duck               |
>----------------------------------------------------------------------

#include <Xm/Xm.h>

void
GetXY(x_return, y_return)
int *x_return;
int *y_return;
{
    extern Widget   TopLevel;

    Window  root;
    Window  child;
    int     childX;
    int     childY;
    int     mask;

    XQueryPointer(XtDisplay(TopLevel), XtWindow(TopLevel),
        &root, &child, x_return, y_return, &childX, &childY, &mask);
}
-- 
Richard M. Rybacki                |     Happiness = Reality - Expectations
rrybacki@ringer.cs.utsa.edu       |     -- Click & Clack, The Tappet Brothers
Newsgroups: comp.windows.x.motif
From: pnd@jach.hawaii.edu (Phil Daly, JAC, 665 Komohana St, Hilo HI 96720, USA)
Subject: PostScript Viewer?
Reply-To: pnd@jach.hawaii.edu
Organization: UK/Canada/Netherlands Joint Astronomy Centre, Hilo, HI
Date: Thu, 9 Apr 1992 21:57:03 GMT

Hi, Does anyone have a PostScript Viewer running under DECwindows/Motif?
Thanks in advance, Phil
Newsgroups: comp.windows.x.motif
From: e-sink@uiuc.edu (Eric W. Sink)
Subject: (Q) What's the going salary for Motif programmers ?
Originator: sink@sunb2.cs.uiuc.edu
Reply-To: e-sink@uiuc.edu
Organization: University of Illinois at Urbana-Champaign
Date: Thu, 16 Apr 1992 16:53:27 GMT

I posted this article to misc.jobs.misc this morning.  I am
reposting it here to reach a more specific audience.  Flames
to e-sink@uiuc.edu only.

--------
I realize that this a rather broad question, as the answer depends
on a number of other variables.  I'm interested anyway.

Please give me your opinion or experience on what a typical salary
range is for Motif or X programmers.  The information is to satisfy
my own curiosity.

If you send me a specific salary figure, please give me a geographic
location as well.

I'm not particularly asking anyone to tell me what they make personally.
However, be aware that if you do so, I won't be telling anyone your name.
If you're giving me that kind of information, make sure I know that it
is personal info and not just your opinion.

If people want, I'll summarize any results I get.  Please let me know
if you do NOT want your response included in any summary.  Names will
be withheld in any case.

Please email response to me at the address below.

Thanks in advance,

-- 
Eric W. Sink, USACERL         | The essence of GUI programming : "What
Box 9005, Champaign, IL       | started out as a half hour hack has been
61826-9005 1-800-USA-CERLx449 | bothering me for two weeks now." -- Matt Mora
---- e-sink@uiuc.edu ---------|
From: vedati@watoga.cerc.wvu.wvnet.edu (Krishna Vedati)
Newsgroups: comp.windows.x.motif
Subject: Help with scrolled list widget
Date: 10 Apr 92 13:41:16 GMT

I am using BX( builder Xcessory to create an interface.
In my Interface, I want scrolled list widget with both horizontal 
and vertical scroll bars. But when I dont't have any Items
 in the list both the horizontal and vertical scroll bars
 disappear. How can I makethem appear even if there are no
 items in the list.


I am using SunOS 4.1.1 1 and motif 1.1
and builder Xcessory 2.0


thanks in advance

Please send me e-mail to vedati@cerc.wvu.wvnet.edu


--
		
Krishna Vedati
(vedati@cerc.wvu.wvnet.edu)
Concurrent Engineering Research Center
From: UMCKA01@VAXA.CC.IC.AC.UK
Newsgroups: comp.windows.x.motif
Subject: (none)
Date: 6 Apr 92 09:03:33 GMT
Distribution: inet
Organization: The Internet

Hello,
	We bought OSF/MOTIF form your representative here in UK, i.e., K2
Software. For the last three months we have trying together with K2 to solve
a problem that has made the usage of OSF/MOTIF on the SUN 3/60 impossible.
	We did the installation according to the instructions without any
problems. On trying to run the Motif window Manager (MWM) it comes out with
the following error message:
	"ld.so: warning: /usr/lib/libc.so.0.10 has older revision than expected
	15"
After that error message it will just return you back to the shell prompt.
At first I suspected it was probably due to our operating system as we are
still running SUN OS 4.0, but K2 told us that did not matter. As for running
ld.config on the libraries, this was done during the installation. The MOTIF
version we are running is 1.1.1 which we were told is the version for Sun 3's.
We were originally supplied with version 1.1.3 which was later withdrawn on the
grounds that it was a SPARC station version. This was after we had problems
when trying to install it.
	We sent a FAX addressed to the Manager, ICS, almost three weeks ago
and we haven't heard anything. This is contrary to the good reputation we have
heard about ICS. We would appreciate any help that we can get as we can't wait
forever with a product that doesn't work.
	Regards,
		Dr Wilson Mutagwaba.
From: snail@lsl.co.uk
Newsgroups: comp.windows.x.motif
Subject: Re: XtDestroyWidget questions
Date: 6 Apr 92 10:58:50 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <66040004@misty.boeing.com>, walden@misty.boeing.com (Bill Walden) writes:
> XtGurus and XmGurus,
> 
>  I seem to be having a problem with XtDestroyWidget (or so I think).

There is a problem in XtDestroyWidget in X11R4 where it tramples memory with 
the bcopy() function call. It passes the wrong amount of data. Solution: get
X11R5. Don't know if this is your problem, since I couldn't quite figure
what you were going on about (I didn't read the code) from the text.

Hope this snippet helps.

Steve the Snail.
-- 
===== Yes, it's meant to be a snail, I speak only for myself and my snail =====
===== not for Laser Scan.                                                 =====
                                                              *      *
Stephen Kellett                                _______         \    /
Software Engineer                            --   ___ --        \  /  
Laser Scan Ltd                              (    _   __ )      ======
Science Park                               (    (  |   ) )    =      =
Milton Road                                (     (_)    ))   =  *  *  =
Cambridge CB4 4FS                           (           )  ==   .  .  =
England                                      --       --===      ..  =
snail@lsl.co.uk                              ==_______             ==
(+44) 223 420414 ex 275              ========                  ====   
                          ===========                      ====      [ ]BEER
                       ====================================          | |CIDER
-------------------------------------------------------------------------------
From: nazgul@alfalfa.com (Kee Hinckley)
Newsgroups: comp.windows.x.motif
Subject: Re: Motif in parallel programming.
Date: 16 Apr 92 01:49:13 GMT
Distribution: inet
Organization: The Internet

> Imagine one process allocates a resource (say some pushbutton widget)
> and then tell another process that widget's id. Supposedly that second
> process can freely manupulate that resource. If an event occurs (user
> pushed the button) will X server send that message to only the original
> process or is it posssible to set it up so that when that event occurs
> MORE than one process will receive it?
Basically the question is moot.  Widgets are per-process data, the server
only knows about widget - two processes can't share a widget.

> Thanks for your help.
> Please, reply to my account directly.

I'd love to - but you didn't say what it was. News addresses are not
necessarily repliable.

Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/646-7703 (voice/fax)        |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
From: dcook@garnet.berkeley.edu (Dan Cook)
Newsgroups: comp.windows.x.motif
Subject: How to learn motif
Date: 13 Apr 1992 19:11:07 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu
Originator: dcook@garnet.berkeley.edu

I'm looking for some good introductory documentation
on how to get started programming with motif... Any
ideas?

-dan cook
dan@home.berkeley.edu
Newsgroups: comp.windows.x.motif
From: ali@anchor.cs.colorado.edu (Ali Bahrami)
Subject: Summary: Does mwm support the WM_COLORMAP_WINDOWS property?
Organization: University of Colorado, Boulder
Date: Thu, 9 Apr 1992 00:03:17 GMT

I posted the following last Friday:

> I have a Motif program that contains Drawing Area widgets. These
> drawing widgets use a private colormap. I am setting the WM_COLORMAP_WINDOWS
> property on the top-level shell, but my colormap does not get loaded
> when I'm using mwm as my window manager. If I display remotely on a
> Sun using olwm, the WM_COLORMAP_WINDOWS property does the trick and
> my colormap does get loaded.
>
> Is it true that mwm does not understand the WM_COLORMAP_WINDOWS
> property?
>
> Is there a different Motif specific mechanism that I can use to
> get the same effect as WM_COLORMAP_WINDOWS?

There was one response, which was posted to this newsgroup
by Ken Lee. He suggested looking into the mwm f.next_cmap function.

f.next_cmap causes the draw widget colormap to be loaded whenever the
top level base gets the pointer focus. This is a little different from
what I want (I want the draw widget colormap to get loaded only when
the draw widget itself has the pointer focus). The problem is that all the
other widgets become invisible if the draw widget colormap gets loaded.

So, my conclusion is that mwm does not really support WM_COLORMAP_WINDOWS.
It does have f.next_cmap, but this solves a slightly different problem.

- Ali Bahrami

Newsgroups: comp.windows.x.motif
From: rod@philips.oz.au (Rod Roberts)
Date: Fri, 10 Apr 92 06:13:24 GMT
Organization: Philips Public Telecommunications Systems, Melbourne, Australia
Subject: Hypertext Help
Summary: Is OSF developing a general purpose hypertext help system

I had heard rumors the OSF is working on some sort of general hypertext/help
application/library. Does any one have any info on this. This would save a lot
of reinventing the wheel for Motif application developers. Any info out there
in netland???

-- 
-------------------------------------------------------------------
Rod Roberts <rod@philips.oz.au>                Phone: +61 3 8813574
Philips Public Telecommunications Systems      Fax:   +61 3 8813577
Melbourne, Australia
Newsgroups: comp.windows.x.motif,comp.windows.x.open-look
From: peterson@Data-IO.COM (Joe Peterson)
Subject: Cut/Paste between Motif & OPENLOOK
Organization: Data I/O Corporation
Date: Mon, 13 Apr 1992 16:34:01 GMT

X11R4, Motif 1.1.3, Sparc, Sun OS 4.1.1

We have a Motif application that has several XmText Widgets.  During some
usability testing we found that some users wanted to Cut and Paste to and
from the Motif application and some OPENLOOK applications using the L6
(Copy) and L8 (Paste) keys on the Sun keyboard.

The Motif application seems to ignore L6/L8.  Is there any way to get
L6/L8 working with Motif?

I've also noticed that using the XmTextCut() and XmTextCopy() works fine
within the Motif application, but the buffer used by L6/L8 gets cleared
after these functions calls.  Any insights on this behavior?

What I really want to to provide a way to easily cut and paste text
between our Motif application and all other Motif and OPENLOOK applications,
including L6/L8 support.  If any one has an idea, I'd like to see it.

Thanks,

Joe Peterson
peterson@data-io.com
From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: Re: Non-echoing text widget for password entry
Date: 10 Apr 92 13:57:48 GMT
Followup-To: comp.windows.x.motif
Organization: MIT Artificial Intelligence Laboratory

In article <BMHpHL.2DC@world.std.com> jlw@world.std.com (James L Walker) writes:
>In article <1992Apr9.180843.1605@lsl.co.uk> snail@lsl.co.uk writes:
>>In article <david.702575486@colt.cc.iastate.edu>, david@iastate.edu (David M. Martin Jr.) writes:
>>> I would like to use a Text widget to acquire a password from the user.
> ...  The best way to do this
>would be to have a special font which displays an 'x' or something for
>every character.

I believe that this would NOT be a good way to protect a password as the text
could still be clipped via mouse selection and pasted into an xterm, xclipboard,
etc.  Unless, of course, there's some way to prevent selection in a Text widget.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to:                      gillett@ai.mit.edu
Newsgroups: comp.windows.x.motif,comp.windows.x
From: dwb@IMD.Sterling.COM (David Boyd)
Subject: Scrolled Window color problem
Followup-To: comp.windows.x.motif
Keywords: color scrolled window
Reply-To: dwb@IMD.Sterling.COM
Organization: Sterling Software
Date: Tue, 7 Apr 1992 14:59:24 GMT
X-Md4-Signature: a1bbc21782dc041b70907790de3cb18c

In my application I have the following heirarchy:
	
	Scrolled Window
		|
		|
	Row Column
		|
		|
	-------------------------
	|	|	|	|
	(A variable number of toggle buttons)

In this particular case I have set my scrolled window color
to a gunmetal gray (#b9b9b9).  My row column and toggle buttons
use a background color of cornsilk.  The problem is that I
want the rowcolumn to resize dynamically based on the number of
toggle buttons.  The problem comes when the row column is shorter
than the length of the scrolled window.  The scrolled window
clip area background is not grey but the standard motif blue, even
though the scrollbars are the correct color.  I have tried numerous
different resource specifications and can not seem to change the
clipwindow color.  I also tried retrieving the background color of
the row column and the clipwindow widget id from the scrolled window
and setting the clipwindow background to the rowcolumn background.  
This results in a third color that does not match each the grey or
the cornsilk.  I also tried setting the background of the clipwindow
window directly using XSetWindowBackground and got the same results.

Does anyone out there in net-land have any idea of how to do this. I
guess I could always set the size of the row column after the buttons
are added to at least fill up the clip window but would rather not
futz with that.  If that is the case does anyone know how to 
retrieve the size of the clipwindow area?

Thanks in advance.


-- 
David W. Boyd	             UUCP:     uunet!sparky!dwb
Sterling Software IMD        INTERNET: dwb@IMD.Sterling.COM
1404 Ft. Crook Rd. South     Phone:    (402) 291-8300 
Bellevue, NE. 68005-2969     FAX:      (402) 291-4362
Newsgroups: comp.windows.x.motif
From: koverber@cs.ulowell.edu (Kurt Overberg)
Subject: Moving the buttons on a FileSelectionBox...
Organization: University of Massachusetts at Lowell CS Dept.
Distribution: comp
Date: Thu, 9 Apr 1992 13:03:15 GMT

 
Hello, 

	I was wondering if anyone has found a way to move around the 
buttons at the bottom of a xmFileSelectionBox.  I have tried using 
XmFileSelectionBoxGetChild to access the widgets and re-assign their 
attachments, but this has come to no avail, the widgets just pop up
in the same place.  Any ideas?  Please email, I can't keep up with this
newsgroup. If there is sufficient interest, I will summarize...


					Thanks, 

					   Kurt

--
Kurt Overberg            |  The opinions expressed here are not           
Interactive Media Group  |    necessarily those of my employers.  
U of Mass, Lowell        | "The nice thing about standards is that       
koverber@cs.ulowell.edu  |  there are so many to choose from." - A. Tanenbaum
From: snail@lsl.co.uk
Newsgroups: comp.windows.x.motif
Subject: Re: How to learn motif
Date: 14 Apr 92 12:48:55 GMT
Organization: Laser-Scan Ltd., Cambridge

In article <scmcbINN5qg@agate.berkeley.edu>, dcook@garnet.berkeley.edu (Dan Cook) writes:
> I'm looking for some good introductory documentation
> on how to get started programming with motif... Any
> ideas?
Said it before, say it again...

This book :- Motif Programming Manual by Dan Heller
ISBN 0-937175-70-6 cost 35.95 Pounds Sterling (English Money)

Very Very good book! OK?
-- 
===== Yes, it's meant to be a snail, I speak only for myself and my snail =====
===== not for Laser Scan.                                                 =====
                                                              *      *
Stephen Kellett                                _______         \    /
Software Engineer                            --   ___ --        \  /  
Laser Scan Ltd                              (    _   __ )      ======
Science Park                               (    (  |   ) )    =      =
Milton Road                                (     (_)    ))   =  *  *  =
Cambridge CB4 4FS                           (           )  ==   .  .  =
England                                      --       --===      ..  =
snail@lsl.co.uk                              ==_______             ==
(+44) 223 420414 ex 275              ========                  ====   
                          ===========                      ====      [ ]BEER
                       ====================================          | |CIDER
-------------------------------------------------------------------------------
From: boote@eureka.scd.ucar.edu ( Jeff Boote)
Newsgroups: comp.windows.x.motif
Subject: Re: Non-echoing text widget for password entry
Date: 16 Apr 92 21:37:05 GMT
Article-I.D.: ncar.1992Apr16.213705.13108
Organization: NCAR/UCAR

In article <23283@life.ai.mit.edu>, gillett@rice-chex.ai.mit.edu (Walter E. Gillett) writes:
>jlw@world.std.com (James L Walker) writes:
>>snail@lsl.co.uk writes:
>>>david@iastate.edu (David M. Martin Jr.) writes:
>>>> I would like to use a Text widget to acquire a password from the user.
>> ...  The best way to do this
>>would be to have a special font which displays an 'x' or something for
>>every character.
> 
>I believe that this would NOT be a good way to protect a password as the text
>could still be clipped via mouse selection and pasted into an xterm, xclipboard
>etc. Unless, of course, there's some way to prevent selection in a Text widget.

You can use the XmNgainPrimaryCallback of the text widget to prevent selection.

/*
 * Callback: DeselectCB
 * This function is used to disable selections from text widgets
 * ie. a user couldn't select the text and paste it somewhere else to
 * view. - used to protect password entering.
 */
/*ARGSUSED*/
void
DeselectCB(w, client_data, call_data)
Widget w;
caddr_t client_data, call_data;
{
   XmTextClearSelection(w,CurrentTime);
}

-- 
-
Jeff W. Boote  <boote@ncar.ucar.edu>      *********************************
Scientific Computing Division             * There is nothing good or bad  *
National Center for Atmospheric Reasearch * but thinking makes it so.     *
Boulder                                   *                   Hamlet      *
                                          *********************************
From: cindy@SSD.CSD.HARRIS.COM (Cindy Walters)
Newsgroups: comp.windows.x.motif
Subject: How to turn off rectangle around checkbox item?
Keywords: checkbox radiobox rectangle
Date: 10 Apr 92 20:31:51 GMT
Article-I.D.: travis.7811
Distribution: usa
Organization: Harris Computers Systems Division, Fort Lauderdale,FL

I have a radioBox that I am using as a check box (n-of-many selection).
Each time I click to select an item, a highlight rectangle appears around
the check-box/label.  I do not want to see this rectangle, and I suspect
there is a resource I can use to turn this off, but I can't seem to find
the right documentation to tell me what resource to use.  Could someone 
please tell me how to get rid of this rectangle?

Please email, and thank you :-)

Cindy Walters
cindy@ssd.csd.harris.com
 
Newsgroups: comp.windows.x.motif,mail.alfalfa.motif
From: georgeb@fai.UUCP (George Bosworth)
Newsgroups: comp.windows.x.motif
Subject: How to Kill "Restore"?
Date: 10 Apr 92 16:15:03 GMT
Reply-To: georgeb@fai.fai.com (George Bosworth)
Distribution: usa
Organization: Fujitsu America, Inc

With Modif 1.1.3, I am making a fixed-size dialog shell and setting
the XmNmwmFunctions to MWM_FUNC_MOVE | MWM_FUNC_CLOSE so that,
under mwm, only "Move", "Lower", and "Close" appear in the titlebar
popdown. 

Unfortunately, "Restore" (insensitive) also appears.  Is there any
way to elimate "Restore"?

Kindly email. Thanks.

George

George Bosworth            georgeb@fai.com
                           uunet!fai.com!georgeb
Xref: sparky comp.windows.x.motif:3170 comp.windows.x:9913
From: solomon@pa621a.inland.com (Paul J. Solomon)
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: Help with mappedWhenManaged resource (for dialogs)
Date: 10 Apr 92 16:46:19 GMT
Article-I.D.: pa621a.1992Apr10.114619.1
Organization: Inland Steel Company, East Chicago, IN
Nntp-Posting-User: wayman

Greetings.

I'm working on an application in which I must popup various dialog
boxes.  Before popping up the dialog, I call XQueryPointer() so
that I can position the dialog box at the mouse pointer position.
Next, I "try" to get the width and height of the (not yet managed)
dialog box:  so that I can center it around the mouse x,y position.
This apparently does not work (because the dialog has not been
managed...)  I tried playing around with the mappedWhenManaged
resource of the dialog, but when I try to manage the dialog (just
before I get the width and height), the dialog gets mapped to the screen
anyway, regardless of the setting of the mappedWhenManaged resource.

Am I missing something?

Any help would be greatly appreciated!

-paul.
-- 
----------------------------------------------------------------------
| Paul J. Solomon            |  "Consequences, Schmonsequences...    |
| solomon@pa881a.inland.com  |       as long as I'm RICH!!!"         |
| Inland Steel Co.           |             -Daffy Duck               |
----------------------------------------------------------------------
From: dbl@visual.COM (David B. Lewis)
Newsgroups: comp.windows.x.motif
Subject: Re: How to learn motif
Date: 15 Apr 92 13:14:23 GMT
Distribution: inet
Organization: Mercenary Software, Programmer of Fortune Division


|> >I'm looking for some good introductory documentation
|> >on how to get started programming with motif... Any

I believe the FAQ lists some useful books; the Berlage and Heller volumes
are generally accepted as good.

|> There is a great new book put out by the Digital Press that is perfect

I beg to differ.

-- 
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
Newsgroups: comp.windows.x.motif