HDTenEightyP/NetNews huggingface dataset:
From: chen@humboldt.kent.edu (Chen)
Newsgroups: comp.windows.x.motif,comp.windows.x.apps,comp.windows.x.intrinsics
Subject: Re: Imake expandable?
Keywords: Imake, MIT, X
Date: 2 Oct 92 01:34:47 GMT
Organization: Kent State University

In article <1a99rbINN3v4@fbi-news.Informatik.Uni-Dortmund.DE>, klute@tommy.informatik.uni-dortmund.de (Rainer Klute) writes:

|> You should check DuBois, Paul, Using Imake for Multiple Projects, Wisconsin
|> Regional Primate Research Center, 1991.
|> 
|> I have made some Imake documentation available on ftp.germany.eu.net in
|> directory /pub/X11/misc/imake:
|> 
|> -r--r--r--  1 klute    X11        448209 Sep 18 00:10 DuBois.tar.Z
|> -r--r--r--  1 klute    X11         38763 Sep 18 00:11 Fulton.tar.Z
|> -r--r--r--  1 klute    X11         89675 Sep 18 00:11 Moraes.tar.Z

Well, I went up there but could not get those files out, the permission seemed
to be denied, somehow.



By the way, I have been watching the Imake talk for a while, I have the same
problem, I am using an HP 9000/730 machine and I DON'T even think we have
Imake stuff.   Could anyone tell me where and how to get a copy?

Thanks in advance.

-- 


--------------------------------------------------------------------------------
Ligang                                                       Ligang Chen 

Department of Math and Computer Science 
Kent State University.
(216) 672-4004 ext 135  voice mail 501
--------------------------------------------------------------------------------
From: zmed0b@trc.amoco.com (Michael E. Dupree)
Newsgroups: comp.windows.x.motif
Subject: RE: Writing to an XmLabel Widget
Date: 2 Oct 92 21:29:47 GMT
Followup-To: RE: Writing to an XmLabel Widget
Organization: Amoco Production Company, Tulsa Research
Originator: zmed0b@zircon


XmTextSetString won't work on a XmLabel widget.  Assuming that you are
trying to write to a label widget after it has been created, you would
want to do this:

n = 0;
XtSetArg(args[n],XmNlabelString,String);n++;
XtSetValues(your_widget,args,n);

where XmString is the string to which you wish to set the label. Make sure
String is of the type XmString.
From: pk5685@max.u.washington.edu (Veronica Li)
Newsgroups: comp.windows.x.motif
Subject: Question on altering Motif menu behavior
Date: 5 Oct 92 22:51:59 GMT
Distribution: na
Organization: University of Washington

Is there a way to modify Motif menu behavior such that it behaves like 
an Openwindows menu with a pushpin in?  Specifically, can you have the

following behavior:

1)  Bring up a popup menu with a mouse button press.
2)  Release the mouse button and have the menu stay up.
3)  Make selections off of the menu and have the menu stay up.

Can this be done without essentially creating a new widget? 

Thanks,
Veronica
From: al@osf.org (Alastair Gourlay)
Newsgroups: comp.windows.x.motif
Subject: RE:Keyboard equivalent for middle mouse button?
Date: 2 Oct 92 18:08:12 GMT
Distribution: inet
Organization: The Internet


> I'd like to get the same function (paste primary?) on my keyboard
> as I have on the middle button on my mouse.

> I've tried the obvious things at various levels of key mapping,
> but can't find the secret.

> Anybody know how to do this?

The Motif virtual key which provides primary paste is osfPrimaryPaste.
(there is also an osfQuickPaste key for secondary selection.)

Your current virtual bindings may not have a default binding for this
key (many of the vendor fallback bindings do not.)

Add "osfPrimaryPaste: <Key>???" to your virtual bindings. If you have
an 'Insert' key you may wish to use 'Ctrl Alt<Key>Insert' or, of course,
any other key you prefer.

If you currently use the automatic fallback bindings, see the VirtualBindings
man page on how to configure your own bindings.

Alastair.
Newsgroups: comp.windows.x.motif
From: matt@fics.uucp (Shithead II)
Subject: Re: Getting the current font while building BB
Organization: Kvam data as
Date: Wed, 30 Sep 1992 20:44:58 GMT

  In article <1992Sep25.115934.10297@quando.quantum.de> henigan@quando.quantum.de (Kevin Henigan) writes:
  >...
  >I have to layout a mask with input and text fields, the positions of all
  >the fields are in a descriptions file specified as row, column values.
  >
  >To do this I have layed out a BulletinBoard with Label & Text Widgets, the
  >positions (x,y) of all the Label & Text Widgets is calculated from the row,
  >column specified and the height & width of the font. This works fine when
  >I set the font in the program, (I use XLoadQueryFont() ), but the font should
  >really be set using resources.


taking this a little farther...
I have Text, Label, PushButtons, CheckBoxes, etc... specified by (row,col)

Problem is that the different widgets (i.e. list above) have different
height/width values (i.e. a 'row' of RadioButtons is Taller than a 'row' with
Labels, etc...) 

I end up spacing everything according to the largest widget (via some hard
coded magic numbers according to my specified font...)

If the font gets Bigger/Smaller things start to overlap and in general don't
work...

****** ??? ****** ??? ******
Can I force all of my different widgets to have the same Height/Width?
   (i.e. FixedFont?)
   (I use 10x20 which is Fixed, but there are still differences ... :-? )
Is there a way to figure out spacing between arbitrary widgets?
   (So that my <row,col> values could make sense with any (fixed) font...)
Should I use something like a Form Widget?
   (Doesn't this become complex if the layout is *completely* flexible...?)


Any ideas would be greatly appreciated... (!)

woof,
matt_dawg

------------------------------------------------------------------------
Matthew Kerr 
matt@fics.uucp

Kvam data as
Nikkelveien 14, N-4300 Sandnes, Norway
Tel: + 47 4 62 37 66
Fax: + 47 4 62 39 85
Xref: sparky comp.windows.x.motif:6500 comp.windows.x.apps:1162 comp.windows.x.intrinsics:344
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x.motif,comp.windows.x.apps,comp.windows.x.intrinsics
Subject: Re: Imake expandable?
Date: 29 Sep 1992 10:06:34 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: tommy
Keywords: Imake, MIT, X

In article <1992Sep28.203528.22558@news.uit.no>, bjoerns@stud.cs.uit.no
(Bjoern Stabell) writes:
|> I understand that maybe Imake wasn't meant to be expandable, but I see
|> that
|> there is a need - if you need to specify any site dependent information
|> in
|> the Imakefile, it is of (almost) no use.  And, as C++ and Motif++ etc.
|> are
|> making their way to application programmers, it would be nice if Imake
|> were
|> documented properly, hopefully with rules on how to make expansions.

You should check DuBois, Paul, Using Imake for Multiple Projects, Wisconsin
Regional Primate Research Center, 1991.

I have made some Imake documentation available on ftp.germany.eu.net in
directory /pub/X11/misc/imake:

-r--r--r--  1 klute    X11        448209 Sep 18 00:10 DuBois.tar.Z
-r--r--r--  1 klute    X11         38763 Sep 18 00:11 Fulton.tar.Z
-r--r--r--  1 klute    X11         89675 Sep 18 00:11 Moraes.tar.Z

-- 
  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
From: mark@BHANU.ANDYNE.ON.CA (Mark Levison)
Newsgroups: comp.windows.x.motif
Subject: Re: Large Option Menus
Date: 5 Oct 92 16:38:08 GMT
Distribution: inet
Organization: The Internet


For option menus which are small most of the time but occasionally large
we put the first 10 - 15 entries in the option menu and then bottom add
a separator and an entry "More..." this popups some form of selection dialog
or whatever is appropriate.

Cheers
Mark Levison
mark@bhanu.andyne.on.ca
From: lewis@KOALA.DREA.DND.CA (Lloyd Lewis)
Newsgroups: comp.windows.x.motif
Subject: Xbae Library Version 3.7 and HP
Date: 6 Oct 92 18:46:53 GMT
Distribution: inet
Organization: The Internet

Has anyone ported Xbae Library Version 3.7 to an HP 9000/834.
I'm not an HP guru so I'm having difficulty understanding what
I must do to make the package run on my machine.  I'm using
Motif 1.0, X11R3, and HP-UX 7.00.

Any help would be appreciated.

Thanks, Lloyd
--
****************************************************************

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

****************************************************************
Newsgroups: comp.windows.x.motif
From: gene@ponder.csci.unt.edu (Gene De Lisa)
Subject: 1.2 tear off menu question
Organization: University of North Texas, Denton
Date: Mon, 28 Sep 1992 20:02:09 GMT


In the resource file I set:

*listOmenu*tearOffModel : tear_off_enabled

and got:

Warning: No type converter registered for 'String' to 'TearOffModel' conversion.

when I set it in the code it works ok. What's the deal?


Newsgroups: comp.windows.x.motif
From: cecchinr@gehrig.cs.rpi.edu (Ron Cecchini)
Subject:  TeleUSE vs. BuilderXcessory: Need evaluations and opinions
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Tue, 6 Oct 1992 14:30:53 GMT

Hi all,

  For the past few months, we have been looking at ezX, TeleUSE and
BX.  ezX was almost immediately dismissed, as we do very Motif intensive
applications.

  I am very pro-TeleUSE (it was the tool that I was evaluating) and 
another fellow in the lab is very pro-BX (yes, it was the tool that *he* was
evaluating).  We have yet to sit side-by-side and do a comparison, but
I have seen how BX does some things and he has seen very little of 
TeleUSE (he saw a demo and thought that it was too confusing).

  Can someone who has done a thorough and objective (read: someone not
from ICS or Telesoft) send me their evals and/or opinions.

  There are a bunch of things I don't know about BX that are supported
by TeleUSE - things like: templates & "reusable code", interactive
tree editor, etc.  What can TeleUSE do that BX can't and vice-versa?

Thanx,
Ron

Newsgroups: comp.windows.x.motif
From: rvloon@cv.ruu.nl (Ronald van Loon)
Subject: Re: xmkmf for HP 700's
Date: Sun, 27 Sep 1992 15:41:48 GMT
Organization: University of Utrecht, 3D Computer Vision Research Group
Keywords: wanted, xmkmf

In <stefans.717509888@bauv106> stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz) writes:

xmkmf should be the same for all machines, I have seen the question before so
here's ours: 

--- 8< 8< 8< ---

#!/bin/sh

#
# generate a Makefile from an Imakefile from inside or outside the sources!
# 

usage="usage:  $0 [top_of_sources_pathname [current_directory]]"

topdir=
curdir=.

case $# in 
    0) ;;
    1) topdir=$1 ;;
    2) topdir=$1  curdir=$2 ;;
    *) echo "$usage" 1>&2; exit 1 ;;
esac

case "$topdir" in
    -*) echo "$usage" 1>&2; exit 1 ;;
esac

if [ -f Makefile ]; then 
    echo mv Makefile Makefile.bak
    mv Makefile Makefile.bak
fi

if [ "$topdir" = "" ]; then
    args="-DUseInstalled "-I/usr/lib/X11/config
else
    args="-I$topdir/config -DTOPDIR=$topdir -DCURDIR=$curdir"
fi

echo imake $args
imake $args

---- 8< ----
-- 
Ronald van Loon (rvloon@cv.ruu.nl) 3DCV Group, Utrecht, The Netherlands.

"I believe the word you are looking for is "AAAAAAAAAARRRRRRRRRRGGGGGHHHH!"
    - The Penguin (Batman ][)
Newsgroups: comp.windows.x.motif
From: anil@microware.com (Anil Purohit)
Subject: xdbx tool
Keywords: debug, xdbx etc
Organization: Microware Systems Corp., Des Moines, Iowa
Date: Fri, 2 Oct 1992 14:53:21 GMT


Hi Netters,
	Would anybody know the exact procedure to get any source
from gatekeeper.dec.com. I'm trying to get the source for xdbx.

Thanks,

anil

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

Anil C. Purohit  			E-mail:	anil@microware.com
--------------------------------------------------------------------
From: lindsay+@cs.cmu.edu (Donald Lindsay)
Newsgroups: comp.windows.x.motif
Subject: Re: Is Wcl bad for realtime apps? Can you mix with Xm stuff?
Date: 29 Sep 92 18:06:29 GMT
Organization: School of Computer Science, Carnegie Mellon


smd@sl0091.srl.ford.com (Steve Dahmen) writes:
>We are just beginning an application in OpenGl & Motif.  Its a realtime
>graphics app and as it is, we're concerned about Motif hogging too much
>time during our RT interaction.  Yet, Wcl is attractive as a rapid
>prototyper.  But since it sits over Motif, I don't know how or if at all
>it may slow things down.

The only important compute overheads occurs when a widget is being
created.  Obviously, for real time, avoid lazy evaluation: move all
compute to the startup. 

If you do that, then the only remaining compute overhead would be some
unimportant extra added to the human-interaction handling.

If Motif can do the job, then Motif+Wcl should also do it.
-- 
Don		D.C.Lindsay 	Carnegie Mellon Computer Science
Newsgroups: comp.windows.x.motif
From: gaitat@gaitat.kgn.ibm.com (Saki)
Subject: mwm icon manager
Date: Tue, 29 Sep 92 17:03:37 GMT
Reply-To: gaitat@gaitat.kgn.ibm.com (Saki)
Organization: IBM Kingston NY


On the subject of mwm:
Mwm by default puts three boxes on the title bar,
one for the popup menu, one for minimizing, and one for
full screen action.
Does anybody know of a way to change this, like add more 
actions on the title bar, change the default bitmaps for these 
actions.

Thanks in advance


   __    ()  ,
  /  )   /`-'|       _/_     _/_
 /--/   /   / __.  o /  __.  /  __.  _  _
/  ( o /__-<_(_/|_<_<__(_/|_<__/  |_</_/_)_
                                 (|
                                   gaitat@kgnvmy.vnet.ibm.com
These statements and/or opinions are not necessarily those of
                                                          IBM

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Newsgroups: comp.windows.x.motif
From: tchal@tmchome.UUCP (Thomas M. Chalfant)
Newsgroups: comp.windows.x.motif
Subject: Re: How to strip off "_popup" string in XmCreateFormDialog?
Keywords: _popup string XmCreateFormDialog
Date: Wed, 30 Sep 92 22:10:05 EDT
Distribution: world
Organization: My house

dwu@hal.gnu.ai.mit.edu (Daniel Wu) writes:

> 
> In my code, I call the routine:
> 
>       configDialog = XmCreateFormDialog (dialogShell,
> 		"Printer/Plotter Setup", NULL, 0);
> 
> The resulting dialog box has the Menu title:
> 
> 		Printer/Plotter Setup_popup
> 				     ^^^^^^^
> I want the string to simply read:
> 
> 		Printer/Plotter Setup
> 
> without the "_popup" appendage.
> 
> Can someone tell me what I have to do to accomplish this?

First Daniel, I wonder if the dialogShell widget you are passing in as
the first parameter (parent) really is a Dialog Shell?  If it is then
you probably do not want to be calling XmCreateFormDialog() but rather
XmCreateForm().  The ...Dialog() version of the convenience creation
functions creates the dialog shell for you already.  Anyway, assuming
all is as what you want, on to your answer:
    ...
    String title = "Printer/Plotter Setup";
    ...
    configDialog = XmCreateFormDialog (dialogShell, title, NULL, 0);
    XtVaSetValues(XtParent(configDialog), XmNtitle, title, NULL);
    ...

This should do the trick for you.  You just have to make sure you are
setting the XmNtitle resource on the dialog shell!

Tom
Newsgroups: comp.windows.x.motif
From: kevin@modcomp.com (Kevin Smith)
Subject: Re: How to strip off "_popup" string in XmCreateFormDialog?
Organization: MODCOMP, an AEG company
Distribution: na
Date: Wed, 30 Sep 1992 19:03:39 GMT
Keywords: _popup string XmCreateFormDialog

armin.kuepfer@alcatel.ch (Armin Kuepfer) writes:


>> In my code, I call the routine:
>>
>>	configDialog = XmCreateFormDialog (dialogShell,
>>		"Printer/Plotter Setup", NULL, 0);
>>
>> The resulting dialog box has the Menu title:
>>
>>		Printer/Plotter Setup_popup
>>				     ^^^^^^^
>> I want the string to simply read:
>>
>>		Printer/Plotter Setup
>>
>> without the "_popup" appendage.

>In the source
>  configDialog = XmCreateFormDialog (dialogShell,"printerSetup", NULL, 0);

>In the app-defaults
>*printerSetup_popup.title:	Printer/Plotter Setup

And another solution is this:

        Arg     args[2];
        XmString printplot = XmStringCreateSimple("Printer/Plotter Setup");
        XtSetArg(args[0], XmNdialogTitle, printplot);

        configDialog = XmCreateFormDialog (dialogShell,
                "", args, 1);

        XmStringFree(printplot);

This works for Information dialogs as well.

 
         _____
      |      /  |
    |      /     |
   |   _popup     | 
    |   /        |
     |/        |
        ------


--

Kevin Smith				uunet!modcomp!glsdev!kevin
MODCOMP, an AEG company                 if (windspeed < 15)
1650 W McNab Road                         go_diving();
P.O. Box 6099			        else
Fort Lauderdale,Florida 33340-6099        go_windsurfing();
Newsgroups: comp.windows.x.motif
From: cecchinr@fox.cs.rpi.edu (Ron Cecchini)
Subject: Re: Desensitizing pushbuttons within a popup menu
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: Wed, 30 Sep 1992 18:53:26 GMT

In article <1992Sep30.174150.22331@sj.nec.com> achan@idaho.tdd.sj.nec.com (Amy Chan) writes:

[stuff deleted]

>You can get all of the children of the popup menu by:
>
>    WidgetList children;
>    Cardinal num_children;
>
>    XtVaGetValues(parentWidget, XtNchildren, &children,
>                XtNnumChildren, &num_children, NULL);
>
>which will return the children as a widget list and the number of children
>on that list.
>
>From the man page of XmVaCreateSimplePopupMenu in Motif Programmer's Reference,
>the name of each button is button_n where n is an integer from 0 to one minus
>the number of buttons in the menu.
>
>If you would like to get the widget ID (actually it is a gadget) of the 
>pushbutton associated with label2, you can use XtName() on each of the widget 
>in the widget list above and compare it to "button_1".
>
>
>Amy

One little thing: there is an error in the documentation regarding the
"button_" naming convention.  If you have something like a separator or
double-separator, etc. in the pulldown menu - then they get named "button_#"
as well.  So, you can't just count how many items down in a menu an option
is to get its name; you have to count the other things as well.

Ron

Newsgroups: comp.windows.x.motif
From: kobet@picker.com (Harry Kobetitsch)
Subject: Porting Motif 1.1 on Sun
Organization: Picker International, Inc.
Distribution: na
Date: Mon, 28 Sep 1992 21:06:27 GMT

I am trying to port the OSF/Motif source on a Sun IPX.
I was told that this would be straightforward. It has
been everything but that. I was wondering if anybody else
has done this. I keep getting fatal errors like
undefined symbol _XtInherit _XtToolkitInitialize.
-- 
Picker International, Inc.
595 Miner Road
Highland Heights, Ohio 44143
Voice: 216-473-2624
From: rad2r@uvacs.cs.Virginia.EDU (Robert DeLine)
Newsgroups: comp.windows.x.motif
Subject: Easy MWM question
Date: 5 Oct 92 15:09:30 GMT
Organization: University of Virginia Computer Science Department


With WMW, is it possible to get one xterm (namely the Console xterm)
to have a different icon than other xterms?  Seems simple enough, but
has stumped even our local system admistrators.

Thanks for whatever help you can provide.

Rob DeLine
Computer Science, University of Virginia
deline@Virginia.EDU
Newsgroups: comp.windows.x.motif
From: peterson@maunakea.Data-IO.COM (Joe Peterson)
Subject: Motif 1.1.3 on HP700
Organization: Data I/O Corporation
Date: Tue, 6 Oct 1992 23:32:50 GMT

I am trying to link a OSF/Motif 1.1.3 app on the HP700, HP-UX 8.07.
I have sucessfully built all of X11R4 and Motif 1.1.3, and have sucessfully
compile my application.

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?

Joe Peterson
peterson@dataio.com
Xref: sparky comp.windows.x.motif:6615 comp.windows.x:17467
From: chrisw@chopin.FtCollins.NCR.com (Chris Whitley)
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: best way to get a oneof effect
Date: 5 Oct 92 19:30:12 GMT
Reply-To: chrisw@chopin.FtCollins.NCR.com (Chris Whitley)
Organization: NCR Microelectronics, Ft. Collins, CO

I want to create a form with, say, a dozen questions.
If the answer to number 3, is yes, then I want questions
4-7 to be so.  If the answer to number 3 is no, then I
want only 2 questions, possibly different questions than
the yes scenario.  I call this a 'oneof' situation.  I
want one of two screen subregions to appear based upon
dynamic state information.  I want this swap to occur 
while the screen is visible.  Ideally, I'd define one
manager widget (say an XmRowColumn) for each screen, and show
one on yes, and one on no.  How would you do this???
Any help much appreciated!!

Chris
---------------------------------------------------------------
Chris Whitley            email: Chris.Whitley@FtCollinsCO.NCR.COM
NCR Microelectronics     Phone: (303) 223-5100 ext. 314
2001 Danfield Court        Fax: (303) 226-9556
Ft. Collins, CO  80525
From: kettering@addvax.llnl.gov (Brett 'Volleyball Is My Game' Kettering)
Newsgroups: comp.windows.x.motif
Subject: no resize on main window
Date: 30 Sep 92 15:28:00 GMT
Organization: Lawrence Livermore National Laboratory
News-Software: VAX/VMS VNEWS 1.41

>From: kamemoto@spf.trw.com (Kenneth Kamemoto)
>Subject: no resize on main window
>Message-ID: <2AC8A017.3827@deneva.sdd.trw.com>


>     I want to create a Main Window widget with a menu bar and a bulletin
>board work area.

Note that this will only work for mwm.  Include the file Xm/MwmUtil.h and in
there are defined constants that you can bitwise or (|) together to complete
the decorations that you want.  For example:

  int decor = MWM_DECOR_BORDER | MWM_DECOR_TITLE;

  XtVaSetValues( XtParent( mw ), XmNmwmDecorations, decor, NULL );

This, of course, assumes that the parent of the main window is a shell.  Now
you will only have the border and title decorations from mwm.

-------------------------------------------------------------------------------
Brett M. Kettering
PaperNet: LLNL P.O. Box 808 L-437 Livermore, CA.  94551
InterNet: brettk@llnl.gov
TalkNet : (510) 423-3467
FaxNet  : (510) 423-4606

"No other success can compensate for failure in the home."
                   -- David O. McKay
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x.motif