HDTenEightyP/NetNews huggingface dataset:
From: tirza@duteca.et.tudelft.nl (Tirza van Rijn)
Subject: Incomplete FormWidget - PushButton & MenuBar - hourglass cursor
Organization: Delft University of Technology, Dept. of Electrical Engineering
Date: Tue, 05 Jan 1993 22:34:06 GMT


Hello *,


I have a few problems/questions I hope somebody out there can help me with.

First, I have written a user interface where selecting a menu entry opens a
FormDialog with LabelGadgets and TextWidgets, and an OK and Cancel PushButton
and then, using another program, the user is allowed to indicate a position 
on a digitized map with his cursor.

The problem is that when this FormDialog appears it is not complete: sometimes
only the FormDialog is visible, sometimes also the background of the 
TextWidgets, but never the LabelGadgets and the OK and Cancel PushButtons.
They become visible only *after* the program that handles the cursor 
positioning on the map returns.

I manage all the widgets in the FormDialog and give a XFlush and a 
XmUpdateDisplay before I call the other program, I even put a dummy waiting
loop before that, but to no avail: it doesn't help to get the FormDialog to 
be complete when it appears.

Second, I (more or less accidentally, this is allowed in MS-Windows ;-) put a
PushButton in the MenuBar and this PushButton works correctly (i.e. its 
ActivateCallback is correctly executed when the PushButton is pressed). I know 
that the MenuBar is a homogeneous RowColumn widget that accepts only children
of a subclass of CascadeButton, but if it's wrong to add a PushButton to a
MenuBar, then why does it work?

Third, I want to use the hour glass cursor as 'busy waiting' cursor. I know
how to make the watch 'busy waiting' cursor, but the hour glass is a Motif-
specific cursor, so I don't know the X cursor name or its cursor ID. How do
I set the cursor to hour glass?

 ______
   |_             Thanks in advance for any help,
   |_)
   |v\                             Tirza

--------------------------------------------------------------------------------
Tirza van Rijn                       | e-mail: tirza@duteca.et.tudelft.nl
Department of Electrical Engineering |
Delft University of Technology       | Thou art beautiful, Oh my love, as Tirzah
Delft, The Netherlands               |                       Song of Salomon 6:4
--------------------------------------------------------------------------------
Newsgroups: comp.windows.x.motif
From: pkim@gagme.chi.il.us (Peter Kim)
Subject: Flashing or rapidly moving cursors
Originator: pkim@gagme
Organization: Gagme Public Access UNIX, Chicago, Illinois
Date: Fri, 8 Jan 1993 08:25:44 GMT

I have a X application with MOTIF runing on AIX 3.2 whose
user interface was created with AIXWindow Interface Composer.
Once in a while, cursors flash on text widgets continually and
there is no way to stop the flashing cursors. 

The dialog consists of a dialog shell, a form, text labels and
fields, and pushbuttons.

Since the problem occurs randomly and without any patterns, I am
having much difficulty in locating the cause. If you can help me
in any way, I would really appreciate.

Thanks.



Xref: sparky comp.windows.x.motif:8359 comp.software-eng:5225
From: daniel@moonshine.osf.org (Daniel Dardailler)
Subject: Re: XmNShadowThickness Problem
Keywords: 
 
Organization: Open Software Foundation, Motif Team
Date: Tue, 5 Jan 1993 16:14:10 GMT

|> Inside a  XmFormDialog I have a XmMenuBar,  a XmDrawingArea,  and a XmRowColumn 
|> containing a few PushButtons.
|> Problem: for the RowColumn and the DrawArea I can set the ShadowThickness-resource to 
|> whatever without getting any visible result (no 3d-effect)...
|> The MenuBar responds correct to modifications of his ShadowThickness (as far as I know a 
|> MenuBar is a RowColumn too) ...
|> So what's happening here (on this VAX-VMS with Motif 1.1)?
 

Not all widgets (or type of widgets) support this resource, that's it.
For those who don't, you can use a Frame widget to enclose your widget.
DrawingArea explicitly stopped supporting it in 1.1.something because
of expose policy issues.
Non-menu RowColumns never had it.
Form supports it, but you'll need to play with margin to get it
work correctly (attachments usually don't take it into account).
For the rest, see the doc.
From: fiorucci@taloa.unice.fr ()
Newsgroups: comp.windows.x
Subject: Where to find Docs for X toolkits
Date: 4 Jan 1993 13:18:29 +0100
Organization: University of Nice - Sophia Antipolis, France
Distribution: world
NNTP-Posting-Host: taloa.unice.fr

Hi World,

I am searching for Docs about X Toolkits such as :
Xw, Xaw, Xc, Xdmcp, Xpm, Xm, Xmu, Xt, ...

Documentation such as man pages, and maybe examples for novice
programmers

I can ftp whereever you want

Thanks in advance,

							JL
From: beck@irzr17.inf.tu-dresden.de (Andre Beck)
Newsgroups: comp.windows.x
Subject: Virtual mwm ?
Date: 8 Jan 1993 18:42:24 GMT
Organization: Dept. of Computer Science, TU Dresden, Germany.
Distribution: world
Reply-To: Andre_Beck@IRS.Inf.TU-Dresden.DE
NNTP-Posting-Host: irzr17.inf.tu-dresden.de
Keywords: virtual xrooms mwm


Hi,

I've used vtwm for a long while, but now I want to switch over to mwm,
to keep a consistent l&f.

But I also want to have a virtual desktop feature available, and mwm
(dunno about motif 1.2 ?) doesn't provide one.

I tried a tool called xrooms, but it often crashed and didn't recognize
windows well, so it's not that useful.

Is there any really good vitualization tool for mwm available ?

--
+-o-+--------------------------------------------------------------+-o-+
| o | Your .signature timeout has expired, please choose a new one | o |
| o | This one is dedicated to all copy-and-edit-my-sign-guys...   | o |
| o |                        \\\----///                            | o |
| o | Andre' Beck (ABPSoft) mehl: Andre_Beck@IRS.Inf.TU-Dresden.DE | o |
+-o-+--------------------------------------------------------------+-o-+
From: dgreen@smurf.sti.com (Dan R. Greening)
Newsgroups: comp.windows.x
Subject: Re: Any Experiences with X over serial lines
Date: 7 Jan 93 03:01:59 GMT
Organization: Software Transformation, Inc.
NNTP-Posting-Host: smurf.sti.com

sandy@amoco.com wrote:
>
>
>Has anyone had any experience using Workstations over serial lines  ?
>It would be nice to be able to have dial up access to do support etc;
>( Home working perhaps ?? )

I have done dialup PPP and SLIP (these implement the IP protocol over
serial lines).  After using both for many months, I prefer PPP, simply 
because the implementations appear to be more robust and don't crash
my systems.  (Of course this is anecdotal.)  I did this between two Suns,
both running SunOS 4.1.1.  One of them used Morningstar PPP (commercial).
The other used a public domain implementation of PPP.

I have only done this at v.32bis modem speeds (14.4KB + compression).

For displaying text, and drawing simple line drawings, my modem X
operations work fine, though quite a bit slower than ethernet.  For 
large pictures, however, you have a long wait ahead of you.

The new serial line stuff in X11R6/Xvision is beneficial only in that it
provides substantial compression and therefore is faster.  PPP/SLIP will
do the job acceptably for now, however.

Regards,
-- 
____
\  /Dan Greening    Software Transformation   1601 Saratoga-Sunnyvale Rd, #100
 \/dgreen@sti.com   (408) 973-8081 x313       Cupertino, CA 95014
From: gtaylor@jade.tufts.edu (Grant Taylor)
Newsgroups: comp.windows.x
Subject: Re: xconsole client cannot open console..
Date: 4 Jan 93 22:02:53 GMT
Organization: Tufts University - Medford, MA

i run xfree 1.1 on linux, and i have the opposite problem.  xconsole
won't work without having been started by xdm...

the configuration of xdm i have is such that console is chowned to the
user in one of the scripts that gets run as root right before the
user's .xsession is run, and chowned back to root right after
.xsession (and the user's session) terminates...

maybe this can help...

-grant
--
+--------------------------------------------------------------------+
   grant taylor                              gtaylor@jade.tufts.edu
+--------------------------------------------------------------------+
----------->if vms is the original virus, what is msdos?<-------------
From: leilas@ems.cdc.com (Leila Schneberger)
Newsgroups: comp.windows.x
Subject: Font is NULL in the dialog box
Date: 4 Jan 93 14:49:17 GMT
Reply-To: leilas@ems.cdc.com
Organization: Empros Systems International, a division of Ceridian

I'm on AIX 3.2 and trying to get a Oracle Case*Designer to run. (We have it
running on an HP already) I had to install some Oracle-specific fonts. Once
they're added to my font path I can use them to open new windows. 
The problem is that when I try to run the Oracle product I get the error
"Font is NULL in the dialog box." This is obviously not an Oracle error.
How can I find out what is causing the problem?

Thanks!
-- 

 Leila Schneberger                 leilas@ems.cdc.com
From: A M Shihab <ams90@ecs.soton.ac.uk>
Newsgroups: comp.windows.x
Subject: Fast text manupilation under X, How?
Keywords: text, X
Date: 5 Jan 93 11:29:35 GMT
Originator: ams90@gloriana

Hi,

  I need to manupilate text fast on a window, in a manner similiar to xterm.
my implementation is in XLib (and I'd like to carry on using XLib). Any pointersas to how that may be achieved will be greatly appreciated.

  At the moment I use the XDrawString and XClearArea routines to write and 
delete text. But they are SLOW.

  Any ideas?

ams...
Newsgroups: comp.windows.x
From: bwong@csulb.edu (Bradley Wong)
Subject: Does X/Motif support macros (ala Windows 3.X)?
Organization: Cal State Long Beach
Distribution: usa
Date: Mon, 11 Jan 1993 20:53:51 GMT

Does X support a global macro keystroke recorder ability
such as Microsoft Windows?

For example, say I want to automatically invoke an X-Window
program, select item x from menu y, popup a screen, do a screendump 
and exit the program.

I could do this under MS Windows by using the system 
"keystroke/macro recorder". Is there a public domain or
commercial recorder for X/Motif?


Newsgroups: comp.windows.x
From: steritir@woods.ulowell.edu
Subject: 24 bit TrueColor solution
Organization: University of Lowell
Date: Tue, 12 Jan 1993 22:29:36 GMT

I've solved the TrueColor visual problem by setting the depth to 12
instead of the default depth.

i.e.
    default_visual = DefaultVisual ( display, screen );
    switch ( default_visual->class ) {

    case PseudoColor:
      r = XMatchVisualInfo ( display, screen, depth, PseudoColor, &vis_info );
      break;
    case TrueColor:
      depth = 12;
      r = XMatchVisualInfo ( display, screen, depth, PseudoColor, &vis_info );
      break;
    default:
      printf ( " No visual found. \n");

    }
    if ( !r ) printf ( " Problem matching visual \n" );

    cmap = XCreateColormap ( display, parent, vis_info.visual, AllocAll );

thanks for the help.
Ron Steriti
UMass Lowell

Newsgroups: comp.windows.x
From: pauley@tai.jkj.sii.co.jp (Martin Pauley  (student))
Subject: simultaneous xconsoles possible?
Organization: The Internet
Date: Thu, 7 Jan 1993 07:58:47 GMT

Hi

I would like to run two xconsoles simultaneously, one reading
/dev/console and the other reading a named pipe (specified using the
-file option).  This is impossible in the version I have (xconsole.c,v
1.9 91/07/25 14:23:46 rws Exp) apparently because xconsole always tries
to gain ownership of the MIT_CONSOLE_<host> atom which causes the
previous xconsole to quit.

I was about to attempt a patch (since it doesn't look too difficult) but
I decided to ask here first.

Is there already a patch for this?
If there is, would someone email it to me?
If there isn't, would anyone like the one I intend to write? 

Thanks.

Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.windows.x
Date: Mon,  4 Jan 1993 17:49:25 -0500 
From: Gary Keim <gk5g+@andrew.cmu.edu>
Subject: Standard colormaps

Does anyone have an example of how to do fast pixel lookups out of the
Standard DEFAULT Colormap?  I can do it with the Standard BEST map
because I know that it's a 3/3/2 map, so I can do the appropriate
shifts, etc.  Am I barking up the wrong tree?

Gary Keim
Andrew Consortium
Newsgroups: comp.windows.x
From: umar@compsci.cas.vanderbilt.edu (Prof. A.S. Umar)
Subject: problem in compiling xmailtool
Reply-To: umar@compsci.cas.vanderbilt.edu
Organization: CCIP, Vanderbilt University
Date: Wed, 6 Jan 1993 13:57:51 GMT

I am having a problem compiling the xmailtool on my rs/6000. The problem
seems to me that I am missing some functions which I don't know where
they should be. Here is the message I get from the Makefile at the linking
stage:

0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load map.
.exp_addrs
.get_aliases
make: 1254-004 The error code from the last command is 8.

Make Quitting.
***

Any help will be appreciated. Thanks.

-- 
umar@compsci.cas.vanderbilt.edu         Prof.A.S. Umar
umarsa00@vuctrvax.bitnet                Department of Physics & Astronomy
Tel: (615) 322-2459                     Vanderbilt University
Fax: (615) 343-7263                     Nashville, TN 37235
Xref: sparky comp.windows.x:21032 comp.windows.x.intrinsics:747 comp.windows.x.motif:8508
From: cq377@cleveland.Freenet.Edu (David C. Williss)
Newsgroups: comp.windows.x,comp.windows.x.intrinsics,comp.windows.x.motif
Subject: Re: Specifying text in different languages in a resource file
Date: 12 Jan 1993 06:05:39 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Distribution: inet
Reply-To: cq377@cleveland.Freenet.Edu (David C. Williss)
NNTP-Posting-Host: hela.ins.cwru.edu


In a previous article, jeff@nsr.hp.com (Jeff Gruszynski) says:

>>: >  Is it possible to specify a character string (e.g. XmNlabelString for
>>: >a push button) in a resource file using MOTIF 1.1.X in different languages 
>>: >(i.e. French, German, ...)? If not, what's a good way of doing it?
>>: >NLS catalog, maybe? Does MOTIF 1.2 support it?
>>:
>>: Actually, if anybody can answer this, please post the answer here and/or
>>: maybe add it to the FAQ.  I'd like to know too.  Especially languages
>>: such as Chinese.
>>: 
>
>O'Reilly & Assoc, X Toolkit Intrinsics Programming Manual, Motif Ed.
>(at least for X11R4 version) in chapter 10.2.3 (The Language String)
>mentions, among others, /usr/lib/X11/$LANG/app-defaults for language
>specific app-defaults.  
>
Let me be more specific.  How do you specify "wide character" or
"multibyte character" strings in a resource file?  How do you edit
it?  
-- 
		-Dave Williss
---------------------------------------------------------------------------
Standards are great!  Everybody should have one of their own!
The opinions stated above are Mine!  All Mine!  You can't have them.
Newsgroups: comp.windows.x
From: saw@enterprise (Siegurd Weber)
Subject: C++ patch for makedepend
Summary: patch to recognize // comments in makedepend
Keywords: C++ comments, makedepend
Organization: Bell Canada Operations Development
X-Newsreader: Tin 1.1 PL5
Date: Thu, 7 Jan 1993 16:15:31 GMT

Hi Folks, 
  If you are using C++ and makedepend, I hope to spare you from
a potentially hideous experience with this posting.

  Makedepend, or at least our version that came
with X11R5 does not recognize C++ style comments.
Since we had a line of the form 

//***************************************************

as part of our standard header, makedepend gobbled up
the rest of the file in search for the terminating */.

The following patch will add the recognition of 
C++ style comments to makedepend.

If you would rather not change your makedepend, simply
make sure that you do not have any //* in your source.

Enjoy,
   Sieg

PS. Thanks to Todd Brunhoff the original author of makedepend for 
    this great utility program.


*** main.c	Thu Jan  7 10:05:00 1993
--- ../main.c	Wed Jan  6 16:06:39 1993
***************
*** 398,403 ****
--- 398,421 ----
  			}
  			continue;
  		}
+ 		/* case to consume C++ style comments starting with //.
+ 		 * "//" comments will cause a problem if they contain /*
+        * in which case makedepend sets the rest of the file 
+        * to white space.
+        */
+ 		else if (*p == '/' && *(p+1) == '/') {                            
+ 			*p++ = ' ', *p++ = ' ';
+ 
+ 			while (*p) {
+ 				if (*p == '\n'){
+ 				  *p = ' ';
+ 				  lineno++;
+ 				  break;
+ 				}
+ 				*p++ = ' ';
+ 			}
+ 			continue;
+ 		}
  		else if (*p == '\n') {
  			lineno++;
  			if (*bol == '#') {


--
************************************************************
* ******************************************************** *
* * Sieg Weber - Teso International                      * *
* * 1617 Digby St.                                       * *
* * Ottawa, ONT.  K1G 0P5                                * *
* * 1617 Digby St.                                       * *
* * (613) 731 3163                saw@stam.qe.bell.ca    * *
* * Consultant (OOA, OOD, C++, X, Motif, Un*x)           * *
* ******************************************************** *
************************************************************
From: tzheng@cs.purdue.edu (Tom Zheng)
Newsgroups: comp.windows.x
Subject: convert Sun suntool/xview icon image
Followup-To: comp.windows.x
Date: 11 Jan 1993 23:35:30 -0500
Organization: Purdue University Department of Computer Sciences
Distribution: world
NNTP-Posting-Host: guinan.cs.purdue.edu


I tried to look into FAQ file but failed to find an sure answer.

How can I convert icon image file in SunView/XVIEW to bitmap
or pixmap?

I looked pbm package but they only supports sun raster formats.
xloadimage and xv don't recognize it either.

Any idea?

Tom Zheng
-- 
---------------------------------------------------------------------------
|-                                                                       -|
|-- tzheng@cs.purdue.edu   Room: CS G072        O.Phone: (317)494-9995  --|
---------------------------------------------------------------------------
From: brossard@siisun.epfl.ch (Alain Brossard EPFL-SIC/SII)
Newsgroups: comp.windows.x
Subject: Re: Best WM? Vote for ctwm, plus good .ctwmrc file
Date: 11 Jan 93 09:24:18 GMT
Reply-To: brossard@sic.epfl.ch
Organization: Ecole Polytechnique Federale de Lausanne

In article <ds_3vr@rpi.edu>, rogerj@aix.rpi.edu (Diversion (Jeff Rogers)) writes:
|> >I also love ctwm
|> 
|> [...lots of ctwm and other WM stuff deleted...]
|> 
|> The biggest comaplaint I've had with ctwm (In my uneducated opinion - I
|> don't use it) is it's inabilityy to have non-ctwm backgrounds on your
|> screen. You can put one up, but it disappears as soon as you change rooms.
|> There's probably -rc options to correct this, but since I don't use it, I'm
|> really not interested in what they are.

   There is actually wrong, at least for ctwm 2.1.  I have a nice
gif image which I load using xloadimage and ctwm never touches that.
There is a way to tell ctwm in your .ctwmrc to use a different bitmap
for each room, but that is under user control.
-- 

Alain Brossard, Ecole Polytechnique Federale de Lausanne,
	SIC/SII, EL-Ecublens, CH-1015 Lausanne, Suisse, +41 21 693-2211
brossard@sic.epfl.ch
Newsgroups: comp.windows.x
From: vladd@ups.com (Vladimir Dimanshteyn CONSULTANT)
Subject: Pixmap Editor for X
Organization: UPS Research and Development
Date: Tue, 5 Jan 1993 19:58:22 GMT

I would like to create a logo within my application (multi-colored).
Sun utilities do not have a pixmap generator. There are some third
party pixmap widgets for MOTIF but since I am using OLIT, I can not
use them. Please let me know of any X pixmap utilities or OLIT
pixmap utilities if you know of  any. Thank you in advance.

	Vladimir Dimanshteyn
        UPS R&D
Newsgroups: comp.windows.x
From: dac@cbnewsf.cb.att.com (david.a.copperman)
Subject: weirdness doing reverse video in OL3.0
Organization: AT&T
Date: Thu, 7 Jan 1993 20:29:03 GMT

Last year I developed a prototype application using, I have thought,
OLIT 2.0.  Yesterday, I recompiled and ran it under what is supposed to
be OLIT 3.0.  Using this latter stuff, reverse video (i.e., swapping the
values for XtNforeground and XtNbackground in a button or a text field)
simply causes the indicated widget to become completely black.  Anyone
ever experience this and know why?

The reason I said that I appeared to be using 2.0 or 3.0 is from the
libraries.  Our 2.0 lib directory has these libraries for X, Xt, and OL,
respectively:
	libX11.sa.4.3
	libXt.sa.4.0
	libXol.so.3.0
The 3.0 libraries are:
	libX11.sa.4.3
	libXt.sa.4.1
	libXol.so.3.1

These are the SUN -distributed archives, but somehow those version numbers
don't seem very different from OL 2 to 3.  Do we have the right stuff?

A last question, if you have the patience.  Using either OL version, I
have always had strange behavior with popups.  I don't use the OL popup
widgets, but rather created my own structures using transientShellWidgets
for all popups.  In my 2.0 application, most of the popups, when they
come up a second time, can take 5 to 10 seconds to appear.  Honest!  They
don't do it the first time, and generally don't after the second.  Also,
my basic mode is to have buttons which cause popups to appear when the
buttons are clicked on; while the popup is visible , its button is made
reverse video, and is toggled back when the popup disappears.  Frequently,
over the course of random popups appearance and disappearance, buttons
will appear in reverse and straight video incorrectly - reversed when
the popup is down, straight when it is up.  My code only wants reverse
video when the popup is visible, and I'm confident after countless hours
of scanning it that it's written correctly.  Again, any thoughts?

Much thanks.

Dave Copperman
dac@hoqaa.att.com
Newsgroups: comp.windows.x
From: mdb@colorado.edu (Mark Borges)
Subject: xvt equivalent to xterm -ls?
Organization: CIRES, University of Colorado
Date: 7 Jan 93 14:32:11

Hi-
  Is there an equivalent way to invoke a login shell, like xterm -ls,
when using xvt (the stripped down xterm written by John Bovey,
available at export.lcs.mit.edu:/contrib)? We use Mac ][ci's with MacX
servers and the OLVWM3.3 window manager client. It works rather well,
except the xterm windows much too frequently go blank when switching
virtual screens and/or iconifying the windows. So there is a bug
*somewhere* (MacX1.1.7,OLVWM,xterm); rather than trying to track it
down, I've yet to find xvt1.0 show the same flaw in this environment.
I really don't need all the bells/whistles of xterm, but I do need a
way to open an xterm-like window initially from MacX that acts as a
login shell.  

Are there any simple/clean solutions? 

Thanks,
	Mark

P.S. Our installation has the X11R4 xterm distributed along with
     OpenWindows.

--
 Mark Borges <mdb@noaacrd.Colorado.EDU>      | 
 CIRES, Campus Box 449	                     |  voice: (303) 492 - 0612
 University of Colorado, Boulder, CO 80303   |    fax: (303) 492 - 2468

Newsgroups: comp.windows.x