HDTenEightyP/NetNews huggingface dataset:
From: mxa11@po.CWRU.Edu (Madhavi Ahuja)
Newsgroups: comp.windows.x.motif
Subject: Bus error with XmList
Date: 10 Nov 1992 14:31:56 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
Distribution: inet
NNTP-Posting-Host: thor.ins.cwru.edu


Hi netters

To delete all the items in the list I use the following code

XmListDeselectAllItems(list)
XmListDeleteAllItems(list)
XtSetArg(arg[0], XmNitemCount, 0)
XtSetArg(arg[1], XmNselectedItemCount, 0);
XtSetValues(list , arg, 2)

The first time this code gets executed everything is fine
The second time it gives me a bus error. I don't need to
set the item count and the selected item count but
what I don't understand is why it should die the second
time around !!!! Please Help

Thanks you
Madhavi
(ma@acqdev.eeg.ccf.org)
Newsgroups: comp.windows.x.motif
From: pickerig@eee.bham.ac.uk (Mr. G. Pickering)
Subject: Re: Some X related questions.
Date: Sat, 07 Nov 1992 12:32:08 GMT
Organization: The University of Birmingham, England
X-Newsreader: TIN [version 1.1 PL6]

Can I direct you to the FAQ (Frequently Asked Questions) post that
is available (further up the list). It will answer most of the
questions you have asked.

Feel free to re-post any that are not answered in the FAQ list.

Guy

--
+--------------------------------+-----------------------------------------+
| Guy Pickering                  | School of Electronic & Electrical Eng,  |
| E-MAIL: G.PICKERING@uk.ac.bham | University of Birmingham,               |
| Tel: (021) 414 4340            | Edgbaston, Birmingham. B15 2TT.         |
+--------------------------------+-----------------------------------------+
| "I have ten pairs of trainers...One for each day of the week" - Sam Fox  |
+--------------------------------+-----------------------------------------+


Newsgroups: comp.windows.x.motif
From: koverber@bigmax.ulowell.edu (Kurt Overberg)
Subject: Form Strangeness
Organization: University of Massachusetts at Lowell
Distribution: comp
Date: Wed, 11 Nov 1992 16:21:26 GMT


Hello, 

	I have a very strange problem with forms and resizing.
I am creating a floating "toolbox" made up as follows:

      Form Dialog ----V
    __________________________________________________________
    |							     |
    |	________________________________________________     |
    |	|					       |     |
    |	|					       |     |
    |	|	RowColumn Widget with 8 32x32 buttons  |     |
    |	|	in 2 vertical columns		       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|					       |     |
    |	|______________________________________________|     |
    |							     |
    |	________________________________________________     |
    |   |					       |     |
    |   |					       |     |
    |   |	Regular Form with 4 option menus       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |					       |     |
    |   |______________________________________________|     |
    |________________________________________________________|

  When the dialog first pops up it is WAY too wide.  So, when I managed
it, I told it to resize.  It didn't listen.  I had to drop into this
incredible hack of a loop to get it to finally resize.  The hack looked
like this:  

    XtVaGetValues(toolboxframe,
                  XmNwidth, &toolwidth,
                  NULL);
    while(toolwidth != 107){
      XtVaSetValues(toolboxframe,
                    XmNwidth, 107,
                    XmNheight, 382,
                    NULL);
      XFlush(disp);
      while(XtAppPending(app_cont)){
        XEvent event;
        XtAppNextEvent(app_cont, &event);
        XtDispatchEvent(&event);
      }
      XtVaGetValues(toolboxframe,
                    XmNwidth, &toolwidth,
                    NULL);
    }
NOTE:  This is an unbelievable hack and I am totally embarassed 
	to be putting this on the net. But at 1 AM stranger things
	have been known to occur.

After executing this loop about 100 times, the form finally becomes the
correct size.  That worked for awhile.  But NOW, when I select an 
option menu, the form resizes again to the larger size.  Does ANYONE
have any clue as to why this form dosen't stay the right size?  HELP!!!

I am using Motif 1.1 on a Sun Sparc 2 using SunOS 4.1.2. 

PLEASE! Any help you can give me would be appreciated!



					-kurt
--
Kurt Overberg            | Opinions expressed here are MINE!           
U of Mass, Lowell        | "Poke a double-decker on a Llama taboot,       
koverber@cs.ulowell.edu  |  Llama taboot, taboot!"      -Phish

Newsgroups: comp.windows.x.motif
From: smoore@unity.ncsu.edu (Sam Moore)
Subject: Motif mail program available.
Organization: North Carolina State University
Date: Wed, 11 Nov 1992 19:18:09 GMT

I have created an X11/Motif mailer. It uses a regular mailbox format
rather than the MH format so it is compatible with standard mailers
like Elm amd mail. The folders and aliases are compatible with Elm

Features include system-wide and person mail aliases, uuencoding of 
included files, and enclosures. Included with it is a Kerberized POP 
client. Documentation is lean.

The current version is available via anonymous FTP from
nelson.tx.ncsu.edu in pub/Cem. It is called Cem. 

Sam
-- 
............................................................................
...Sam Moore...............................Computer Operations..............
...Mail:  Sam_Moore@ncsu.edu...............College of Textiles..............
...Phone: +1 (919) 515-6594................North Carolina State University..
Xref: sparky comp.windows.x.motif:7401 comp.windows.x:19003
From: rfisel@informix.com (Rick Fisel)
Newsgroups: comp.windows.x.motif,comp.windows.x,informix.general,informix.sys.sparc
Subject: Fooling greyscale monitors into displaying in monochrome
Keywords: mwm, motif, monochrome
Date: 11 Nov 92 17:30:54 GMT
Organization: Informix Software, Inc.

I am doing screen captures for printed documentation of our X/Motif products
under mwm on a sparc IPX, which has a greyscale monitor. The screen looks great,
but the captures are fuzzy. They looked fine when captured on a monochrome 
monitor. Is there an mwm default that fools the screen capture (in Framemaker) 
to be mono or fools the window manager into displaying only in mono? 

Thanks,

Rick Fisel
-- 
Rick Fisel (rfisel@informix.com)
opinionated employee of opinionless
Informix Software
I prefer replies by email.
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Newsgroups: comp.windows.x.motif
Subject: Re: Running Motif application without Motif (licensing question)
Date: 5 Nov 92 16:25:52 GMT
Organization: Jet Propulsion Laboratory, Pasadena, CA

In article <Bx7s8D.69H@syd.dms.CSIRO.AU> ronb@syd.dms.CSIRO.AU (Ron Baxter) 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.
>|> 
>	I need to interpret the OSF/Motif Licence Agreement for
>	exactly this situation.  We have a Limited Distribtuion
>	Licence for Motif 1.2.  So the statically linked
>	application is a "Run Time Copy", and so "No Fee" is
>	payable for distributing such copies.  However, it does
>	say "distribution to third parties of Run Time Copies
>	shall be solely for use on systems that contain a
>	licensed copy of the Licensed Program (i.e. Motif 1.2) in
>	object code form."
>
>	Often Suns won't have any Motif, so should we not
>	distribute the software, or should we distribute with a
>	statement that "it is intended to be run on ...".
>
>	I would value comments, opinions, suggested courses of
>	action, etc.
>

At Xhibition '92, Cathy Betz, OSF's Motif Business Manager (Did I get that
right?  I don't have my OSF org. chart handy.) addressed just this issue 
in a BOF (Birds Of a Feather) session.  If I were to tell you that she
said that OSF can't, and doesn't expect, to enforce this clause for shrink-
wrap software, I would certainly be intruding into an area in which I have 
no authority to do so.

I suggest that you contact her for the current official OSF position.

As an alternative, you could add the US$40 license fee to the price of your 
software, send OSF the money, and then guarantee that the target machine is 
licensed.  That puts the burden on the customer to prove that the machine
has been previously licensed in order to avoid paying the license on every
Motif-based application that is purchased.  Do you think that if enough of
Sun's customers complained, that Sun might license their machines, as so
many of their competitors have?

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: dbrooks@osf.org
Newsgroups: comp.windows.x.motif
Subject: Re: MOTIF 1.2 source code from OSF
Date: 12 Nov 92 16:33:40 GMT
Distribution: inet
Organization: The Internet


> OSF number is (617)621-8755.

No; you should call (617)621-7300.  This is the incoming number for OSF Direct.
They can handle all licensing and contract issues.  If you want to write:

OSF Direct
Open Software Foundation
11 Cambridge Center
Cambridge MA 02142

(I have this address on a hotkey now...)

David Brooks
Systems Engineering
Open Software Foundation
From: hart@eecs.wsu.edu (John C. Hart)
Newsgroups: comp.windows.x.motif
Subject: Changing tab stops
Keywords: Text
Date: 5 Nov 92 17:42:56 GMT
Reply-To: hart@eecs.wsu.edu
Organization: School of EECS, Washington State University

Anyone know how to change the tab stops in a text widget?

-John Hart
 School of EECS
 Washington State University
Xref: sparky comp.windows.x.motif:7327 comp.windows.x.intrinsics:498
Newsgroups: comp.windows.x.motif,comp.windows.x.intrinsics
From: stud05@cc4.kuleuven.ac.be (Ton Hospel)
Distribution: world
Date: Monday, 9 Nov 1992 17:04:34 +01
Organization: K.U.Leuven - Academic Computing Center
Subject: Re: XSendEvent()...Friend or Foe?

I had a simular problem with XSendEvent in a program of mine once. This bugged
me until I noticed the following lines in Intrinsic.h :

  /* XtAllEvents is valid only for XtRemoveEventHandler and
   * XtRemoveRawEventHandler; don't use it to select events!
   */
  #define XtAllEvents ((EventMask) -1L)

Since then I use normal X event masks (like NoEventMask), and things work fine.
So I think the example in Young is just plain wrong.


                                                                    Ton
From: bkelley@ef2007.efhd.ford.com (Brian Kelley)
Newsgroups: comp.windows.x.motif
Subject: Help on undocumented resource
Date: 13 Nov 1992 15:52:23 -0500
Organization: EFHD, Ford Motor Company
Distribution: world
NNTP-Posting-Host: ef2007.efhd.ford.com

I was hoping someone might be able to shed some light on a resource
which I cannot find any documentation on.  It is Mwm*freezeOnConfig.
I see it in the mwm executable with strings, but...

 Thanks for any help,

  Brian

---
bkelley@pms001.pms.ford.com

Newsgroups: comp.windows.x.motif
From: stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: Backing Store
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Thu, 12 Nov 1992 08:42:05 GMT

meir@tfs.com (Meir Zaid) writes:


>I am trying to actvate this feature in a Motif application that I am
>working on.  I have some graphical charts displayed in Motif drawing
>area widget, and I need to redraw these windows whenever they are
>exposed, or resized.  From some reason this does no work.  The Drawing
>Areas do not refresh.  My terminal DOES have Backing Store capability
>and it IS activated.  The only other thing I can think of is that the
>Backing Store only works for windows created with XCreateWindow()
>instead of XCreateSimpleWindow().  The creation of my windows are done
>by the Xm Motif routines.  Are these using XreateSimpleWindow() ?

>Any other ideas of why the backing store does not work?

First thing about Backingstore. Never depend on it!!
Although it's possible, that your terminal now supports it, but due to
available memory it could disable it within the next second. So always
be prepared to redraw your windows in case of Expose-events.

But if you want to enable Backkingstore you have to explicitly declare it
within your code. I've never seen a resource for doing this (please correct me
if i'm wrong). But you can use plain X11-functions to do this.

Widget w;
...
unsigned long mask = CWBackingStore;
XSetWindowAttributes attr;
attr.backing_store = Always;
XChangeWindowAttributes (XtDisplay(w), XtWindow(w),mask,attr);

Stefan
-- 
__
Stefan Schwarz                            University of the armed forces
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--
From: sli@BIT.CSC.LSU.EDU (Siqiao Li)
Newsgroups: comp.windows.x.motif
Subject: Re:  Subscription to Motif Digest
Date: 11 Nov 92 03:26:30 GMT
Article-I.D.: bit.9211110326.AA11463
Distribution: inet
Organization: The Internet

> I'd like to subscribe to the motif digest and i'd like to
> receive mail crosspsoted to motif-talk@osf.org.

Me too.

--SQL
 
Newsgroups: comp.windows.x.motif
From: mark@drd.com (Resident.Alien)
Subject: Re: Motif package for Sun
Keywords: motif package
Organization: DRD Corporation
Date: Fri, 13 Nov 1992 14:52:02 GMT

>Subject: Motif Request
>Date: Wed, 04 Nov 92 11:24:10 -0500
>From: romeo@osf.org
>Status: OR
>
>Daniel,
>
>If are looking for Motif binaries to run on the Sun you can contact on of
>the following vendors and they can assist you with that:
>
>ICS	617/621-0060
>Quest	408/496-1900
>SI Sys	403/264-4343
>
>
>If it is the Motif Source Code you are interested in please forward me your
>mailing address and I can send you out the Motif 1.2 Licensing Kit.  
>
>If you have any further questions please let me know.
>
>Thanks,
>Maribeth Romeo
>OSF Direct Channels
>617-621-7300


Any reason why IXI was left off the list?  They offer run-time and development
Motif licenses in addition to their X.Desktop product.  Just a customer
and all that.

510-275-3120.
-- 
mark.lawrence@drd.com                                     (918)743-3013
DRD Corp., 5506 South Lewis Ave., Tulsa, OK 74105         (918)745-9037 fax
Newsgroups: comp.windows.x.motif
From: jpg@bnr.co.uk (Jonathan P. Gibbons)
Newsgroups: comp.windows.x.motif
Subject: Elegant soln to warning dialogues please...
Date: 9 Nov 92 17:28:45
Organization: BNR Europe Ltd, London Rd, Harlow, Essex, CM19 9NA, U.K.
Distribution: comp
NNTP-Posting-Host: 128.199.200.40

I have generic warnings (or helps for that matter) that can be mapped from
many places and many cases.  The warnings will be of the kind 'continue'
or 'abort' which means that the callback that placed them on the screen
should continue when they select continue.  

One way to do this is to change the callback on the warning each time it is
posted so control is returned to the correct piece of code.

Is this the best or the correct way?

Jonathan
--
 ----------------------------------------------------------------------------
  With fearsome eyes and fiery breath the dragon burnt the girl to death
                    -- from "Too Late Saint George"
From: afsypng@cmc.aes.doe.CA (Jacques Marcoux)
Newsgroups: comp.windows.x.motif
Subject: Subscription to Motif Digest
Date: 10 Nov 92 16:06:12 GMT
Distribution: inet
Organization: The Internet

I'd like to subscribe to the motif digest and i'd like to
receive mail crosspsoted to motif-talk@osf.org.


Newsgroups: comp.windows.x.motif
From: pizzi@nervous.com (Riccardo Pizzi)
Subject: How to have XmTextSetString(3X) not setting cursor position to start of text?
Followup-To: poster
Reply-To: pizzi@nervous.com (Riccardo Pizzi)
Organization: The Nervous XTC Public Access Unix System, Rimini, ITALY
Date: Tue, 10 Nov 92 14:06:22 GMT

Hi there!
I am writing an application using Motif 1.1.3 and X11R5.
In this application I have a ScrolledText widget that monitors a constantly
growing file (specifically, a log file).
Whenever the file grows a little further, I use XmTextSetString to replace
the contents of the Text widget, but this has the undesirable effect that
the ScrolledWindow always redisplays the new string starting from the beginning
of text. What I would like to have is a way to replace the Text buffer but
to redisplay the bottom part of the text. I tried:

	XmTextSetString(w, text);
        XmTextShowPosition(w, XmTextGetLastPosition(w));
        XmTextScroll(w, -7);	/* the scrolled window is 8 rows total */

and this works as intended, but has the drawback of a very nasty flickering
because the XmTextSetString call resets the visible position to 0 (beginning)
and redisplays that part of text, before the other two calls restore things
in the desired form.

Any hints?

Rick
-- 
Riccardo Pizzi @ the Nervous XTC Public Access Unix System, Rimini, ITALY
E-Mail -> pizzi@nervous.com        <*>      Bang-path -> uunet!nervous!pizzi
Nervous XTC, the home of the UniBoard package * Data: +39-541-27135 HST/PEP/V32
Newsgroups: comp.windows.x.motif
From: clhawth@ccu.umanitoba.ca (Timothy Chesley)
Subject: XmMessageBoxProblem
Summary: label not displayed
Keywords: messagebox
Organization: University of Manitoba, Winnipeg, Canada
Date: Thu, 5 Nov 1992 17:07:29 GMT

	I am trying to pop up a working message while my program does
some large processing.  Within a callback I popup the warning box
and then start the processing.  The problem is that the label and the
buttons on the message box do not appear until after the callback from
which I popped the message box is finished.  I have tried using 
XmUpdateDisplay and XFlush to get the requests done before I make the call
to the time consuming procedure.   Any help in this problem would be much 
appreciated.


Andrew Edgar 
SLM Software Inc
Winnipeg, Manitoba
e-mail (clhawth@ccu.umanitoba.ca)
From: pcellik@axion.bt.co.uk (Peter SPHINX Cellik)
Newsgroups: comp.windows.x.motif
Subject: Terrible Translation Table Trouble (TTTT)
Date: 6 Nov 92 16:04:44 GMT
Reply-To: pcellik@axion.bt.co.uk (Peter SPHINX Cellik)
Organization: British Telecom Research Labs



Terrible Translation Table Trouble (TTTT):

When I execute any Motif applications, I get a large number of
warning messages (about 100) just before the application's window
is popped up.  A small sample of these is below:

Warning: translation table syntax error: Unknown keysym name: osfUp
Warning: ... found while parsing ' <Key>osfUp:                  traverse-prev()'
Warning: translation table syntax error: Unknown keysym name: osfDown
Warning: ... found while parsing ' <Key>osfDown:                        traverse-next()'

There is probably something really simple to do to fix this.
Could you be the one to tell me?

Cheers,
	SPHINX

==================================================
=== ?include "DISCLAIM.H--"                    ===
===                                            ===   
=== Kill others only if you wish to be killed. ===
==================================================
From: meeks@osf.org ("W. Scott Meeks")
Newsgroups: comp.windows.x.motif
Subject: Re: Highlighted List Widgets
Date: 6 Nov 92 18:28:36 GMT
Distribution: inet
Organization: The Internet

>Date: 29 Oct 92 21:26:21 GMT
>From: csn!news.den.mmc.com!glass!glass@handies.ucar.edu  (Betty Glass)
>Is there a way to have items in a list selection window remain
>highlighted while other items are being picked.  The items do
>not fall in sequenced order and are being chosen one at a time 
>from anywhere in the list widget.  I'd prefer not to switch to
>or add toggle buttons.  Any ideas??

If I understand what you want, you should just need to use multiple select
mode.  Try setting XmNselectionPolicy to XmMULTIPLE_SELECT.  Let me know if
this isn't the behavior you want or if you have further questions.

W. Scott Meeks           
Open Software Foundation 
meeks@osf.org            
(617) 621-7229           
Practice random kindness and senseless acts of beauty.
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Newsgroups: comp.windows.x.motif
Subject: Re: uil compiler
Date: 6 Nov 92 19:14:51 GMT
Organization: VPI&SU Computer Science Department, Blacksburg, VA

In article <1992Nov4.230732.7691@a.cs.okstate.edu> schultz@a.cs.okstate.edu (SCHULTZ DAVID WAYN) writes:
  >
  >	I am attempting to compile a file with the uil compiler. It (the
  > compiler) claims not to know about the XmNcreateCallback. The only reference
  >I have on Motif (OSF/Motif Concepts and Programming by Thomas Berlage) refers
  >to this as a specialty of uil. What gives? Is the local version of uil broke?
  >Am I doing something wrong?
  >
  >Offending section of code ( from an article in The C Users Journal )
  >----------------------------------------------------------
  >
  >object  textframe : XmScrolledText {
  >	arguments {
  >		XmNeditMode = XmMULTI_LINE_EDIT;
  >		XmNscrollHorizontal = true;
  >		XmNscrollVertical   = true;
  >		XmNrows = 20;
  >		XmNcolumns = 60;
  >	};
  >	callbacks {
  >		XmNcreateCallback = procedure create_text_widget();
  >	};
  >};
  >---------------------------------------------------------
  >
  >output from uil
  >
  >			XmNcreateCallback = procedure create_text_widget();
  >			*
  >Error: value XmNcreateCallback was never defined

Its actually MrmNcreateCallback (why should Motif know any such callback ?).
Thomas Berlage's book erroneously refers to this as XmNcreateCallback.


  >Befuddled

So was I when I first used Uil.

  >	David Schultz

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
From: mxa11@po.CWRU.Edu (Madhavi Ahuja)
Newsgroups: comp.windows.x.motif
Subject: HELP WITH XmLIST
Date: 5 Nov 92 15:34:01 GMT
Article-I.D.: usenet.1dbet9INNrrh
Distribution: inet
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
NNTP-Posting-Host: thor.ins.cwru.edu


Hi Netters

I have a scrolledlist with n items, m of which are selected.
I need to set k of the m to a different color. Is there any
way of doing this ??? 

Thanks for your time

Madhavi
(ma@acqdev.eeg.ccf.org)
Newsgroups: comp.windows.x.motif
From: npc@socrates.Jpl.Nasa.Gov (Nick Christenson)
Subject: Getting Motif to work on Sparc 2 GT
Organization: Jet Propulsion Laboratory, NASA/Caltech
Date: Tue, 10 Nov 1992 01:44:04 GMT


For some reason, motif does not work properly on a Sparc 2 with the Graphics Tower.  
I start it with xinit, and I get:

Fatal server error:
no screens found
XIO:  fatal IO error 32 (Broken pipe) on X server ":0.0"

The same set of files has worked fine for Motif on both a Sparc IPC and an IPX.

Do I need something special for the GT?  If so, what?  Any help would be 
appreciated.

--
Nick Christenson
npc@zeus.jpl.nasa.gov
Systems Administrator, JPL
#include <disclaimer.h>
From: ross@loral.cts.com (Robert Ross)
Newsgroups: comp.windows.x.motif
Subject: Drag-and-Drop in Motif
Summary: how to do it
Keywords: drag/drop
Date: 4 Nov 92 18:11:26 GMT
Article-I.D.: loral.1992Nov4.181126.1886
Distribution: usa
Organization: Loral Instrumentation


I'm doing some investigations into adding the drag-and-drop capability
into some of our Motif applications.  At the moment, I don't have any
references that point out how to do this in Motif.  I'd like to aquire
any/all info about implementing Motif drag/drop, and if possible, some
example 'C' source code.

Please email any information to: ross@loral.cts.com

If the desire is there, I would be happy to post (or email) the results of
my investigation to the net (or to individuals).

Thank you,

Bob Ross
--

Bob Ross (ross@loral.cts.com)        | "You knew the job was dangerous
Loral Instrumentation, San Diego, CA |  when you took it."  -- Super Chicken
Newsgroups: comp.windows.x.motif