HDTenEightyP/NetNews huggingface dataset:
From: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP)
Subject: How do I disable Menu Button in Window?
Reply-To: cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP)
Organization: Lockheed Sanders, Inc.
Date: Wed, 9 Sep 92 18:01:49 GMT


Based on information from readers of this conference, I added the
following to my code to disable the resize, maximize, and minimize
decorations in a dialog popup box:

Arguments := (0 => (Motif.XmNnoResize'Address,    Boolean'pos(True)),
              1 => (Motif.XmNautoUnmanage'Address,Boolean'Pos(False)));

Motif.XmCreateMessageDialog(Widget   => Dialog_Widget,
		            Parent   => Dialog_Shell,
		            Name     => Title & ASCII.NUL,
		            Arglist  => Arguments,
		            Argcount => Atruments'Length);

However, I *still* am not able to eliminate the [-] menu button at the
left of the title bar! Any suggestions?
--
John J. Cupak, Jr., CCP       Lockheed DECNet: MERVAX::CUPAK
Lockheed Sanders, Inc.        Internet       : cupak@rapnet.sanders.LOCKHEED.COM
144 DW Highway / MER24-1K23   CompuServe     : 72411,3176 
Nashua, NH 03061-0868         Telephone      : (603) 885-5816     FAX: 885-608
Newsgroups: comp.windows.x.motif
From: tghe337@cdc835.cdc.polimi.it ()
Subject: Transparent windows on Motif Widgets
Date: Wed, 9 Sep 1992 13:08:57 GMT
Organization: C.d.C., Politecnico di Milano
Keywords: Motif1.1 Transparent


 Looking for overlay transparent windows (8 / 24 bits depth )
over 24 bits deep widgets;	

Environment:X11 R 4, Motif 1.1, HP UX , CRX 24 adapter

Thanks a lot...
From: rrybacki@ringer.cs.utsa.edu (Richard M. Rybacki)
Newsgroups: comp.windows.x.motif
Subject: Re: How to make buttons look pressed in ??
Date: 11 Sep 92 13:08:39 GMT
Organization: University of Texas at San Antonio

In article <4985@balrog.ctron.com> rindress@ctron.com (Rindress MacDonald) writes:
>
>  Hi,
>    I would like to have two push buttons and have them act like a 
>  radio box, where you push one button in and the other "pop" out.
>  Also when you push the button in I would like to have it look as 
>  though it is still pressed in.  I anybody has done this, or seen 
>  it done?  
>
>  Thanks in advance,
>  Rindress
>
>P.S. Please reply via e-mail. Thanks :-)
>------------------------------------------------------------------
>EMAIL : rindress@ctron.com
>------------------------------------------------------------------

Just use toggle buttons in a radio box.  On the toggle buttons set
XmNindicatorOn to False and XmNshadowThickness to something greater
than zero.
-- 
                            Richard M. Rybacki
                       rrybacki@ringer.cs.utsa.edu
                              (512) 731-0000
                          "Will consult for food"
Newsgroups: comp.windows.x
From: tony@nexus.yorku.ca (Anthony Wallis)
Subject: Re: move/resize won't work in twm from the keyboard
Organization: York University
Date: Mon, 7 Sep 1992 18:15:53 GMT

Paul Sharpe (sd344@city.ac.uk) wonders:
> .. why the following entry in my .twmrc doesn't work.
> "F7"    = m     : all  : f.move
> "F8"    = m     : all  : f.resize

There is a line of code in the twm source that specifically traps Move
and Resize (but not ForceMove) attempts from the keyboard.  The comment
at that point says they "don't make sense".  I wrote to Tom LaStrange
(the original "t" in "twm") asking if I could just remove that line.
His reply was "no, not unless you want to do a lot of work".

Managing Move and Resize _initiated_ from a KeyPress event is a lot of
work I found out, but not fundamentally different than from a
ButtonPress event.  You have to track the motion of the pointer - lots
of round-trip activity.  I wrote (as an exercise in understanding the
Xlib and X Protocol levels) a minimal window manager (called "wmwm" -
white male window manager) that does Move and Resize intitiated from
the keyboard, but very crudely.  It's probably neither particularly
ICCCM-compliant nor politically correct (hence the name.)

--
tony@nexus.yorku.ca = Tony Wallis, York University, Toronto, Canada

Newsgroups: comp.windows.x
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: can an R5 client connect to R4 server?
Originator: tmcconne@sedona
Organization: Intel Corporation
Date: Tue, 8 Sep 1992 02:01:00 GMT


In article <1992Sep7.235622.20864@newshub.ccs.yorku.ca>, tony@nexus.yorku.ca (Anthony Wallis) writes:
> Brian J. Murrell (brian@ilinx.wimsey.bc.ca) asks :
> > Subject: Re: can an R5 client connect to R4 server?
> > Well the subject says (asks) it all.  ..
> 
> Now I'm confused.  What's a "R4 server", and how would it differ
> from, say, a "R3 server" or "R5 server" ?  I've recently spent
> many decahours with manuals and dirty experiments achieving the
> enlightened understanding that my server speaks only the X Protocol,
> Major version = 11, Minor version = 0 (plus the shape extension and
> XDMCP) and that all this R# icing is layered above that on the client
> side library only.
> 
> (Not only that, /* name drop */ Oliver Jones told me that the
>  lower levels of X were very stable and not to worry about R4->R5.)
> 
> What am I missing ?
> 
> --
> tony@nexus.yorku.ca = Tony Wallis, York University, Toronto, Canada
> 

  The "11" is X, version 11. The "R" is the release number, currently at 5,
shortly going to 6 with the release of X11R6.

  One problem with decyphering the release number of X from a vendor's server is
that sometimes they modify the server :) For instance, here is a piece of the
output from xdpyinfo from a VAXstation 3100, running ultrix 3.1, and the DEC
supplied X server:

            name of display:    fulton:0.0
            version number:    11.0
            vendor string:    DECWINDOWS DigitalEquipmentCorp.
            vendor release number:    11

and here it is from the MIT X11R5 distribution, in this case running on an
RS/6000, running AIX 3.1.6:

            name of display:    thunder:1.0
            version number:    11.0
            vendor string:    MIT X Consortium
            vendor release number:    5000

and here it is from an RS/6000, running AIX 3.2, with IBM's X server:

            name of display:    florida:0.0
            version number:    11.0
            vendor string:    International Business Machines
            vendor release number:    4

  The important fields are "version number:" and "vendor release number:".

  So, the IBM-supplied X is X11R4, the MIT X is X11R5, and the DEC X is unknown.
From what I can tell (and guess :), the DEC X from ultrix 3.1 is mostly X11R3,
with some nasty bugs.

  Does this approach the question?

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: comp.windows.x
From: drand@spinner.osf.org (Douglas Rand)
Subject: Re: GIF library
Organization: Open Software Foundation
Date: 9 Sep 92 10:58:33

In article <1992Sep8.142541@fdr.jsc.nasa.gov> shirley@fdr.jsc.nasa.gov (Bill Shirley [CSC]) writes:

   I am looking for a GIF library that will read a gif file and
   load it into an X Pixmap.

   Is there such a beast?

   speed is important.
   multiple images will be loaded.
   effective use of colormap is important.
   resolution of quntization a plus, but I could ensure that pictures
	   contain less than N (~100) colors.

   Where can I locate this? (ftp site)

Consider looking at xloadimage and xv to see how they do things.  I
once used a part of xloadimage as a library to do this,  and obtained
good results.  If you have Motif,  then one of the demo programs,
motifgif,  does this as well.

--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
Newsgroups: comp.windows.x
From: kumar@ra.csc.ti.com (Sundeep Kumar)
Subject: Getting window Id.
Organization: Texas Instruments
Date: Wed, 9 Sep 1992 18:36:54 GMT

How do I get the window Id of a window that I open from a window
manager menu Eg: Cmdtool in Openwindows ? Note that I do not have the
source code of the application that generates the window. However I want
to be able to send events to that window from my code.

--Sk

Xref: sparky comp.windows.x:16550 alt.sources:2053
From: sram@lccinc.UUCP (Siddharth Ram)
Newsgroups: comp.windows.x,alt.sources
Subject: Conversion of pixmap data to HPGL
Keywords: HPGL,Pixmap,xpm,Versatec,Calcomp,Postscript
Date: 10 Sep 92 20:49:25 GMT
Followup-To: poster
Organization: LCC Inc., Arlington VA

Hi. Is anybody aware of a way to convert Pixmap data to HPGL and/or
Calcomp(HCBS) or Versatec formats ? 

I would appreciate any pointers (preferably) emailed to me .
if there is enough interest, i will post a summary

siddharth

uunet!hallofjustice!sram
-- 
uunet!hallofjustice!sram
LCC Inc.
Newsgroups: comp.windows.x
From: jec@cbnews.cb.att.com (john.collier)
Subject: Thanks for directions to olvwm 3.0!
Organization: AT&T
Date: Wed, 9 Sep 1992 14:51:28 GMT
Keywords: thanks, gracias

Thanks to everyone who told me how to get a new copy of olvwm.  The concensus
was unanimous...ftp it from export.lcs.mit.edu.  I was able to do that and had
to obtain the "patch" program from another site as well.  I have managed to 
build it and presently have it running on my workstation.

Building olvwm was kind of like learning how to swim...it was a lot easier to 
do once I got out of the bag :-)!

Your assistance is greatly appreciated.

-- 
-------------------------------------------------------------------------------
 Working around here is like going into a swamp | John Collier, AT&T Bell Labs
 full of alligators...you'll either be eaten    | ARPA:  jec@cbnea.ATT.COM
 alive or wind up with some really nice luggage!| uucp/e-mail:  att!cbnea!jec
From: gml4410@ggr.co.UK (Lack Mr G M)
Newsgroups: comp.windows.x
Subject: Re: Shared LIBS: How can this ever work
Date: 11 Sep 92 14:25:57 GMT
Organization: The Internet

> From: metasoft!alan@uunet.UU.NET
>...
> Thanks for the info. Looks like the inventors of shared libraries
> failed to note the difficulty in maintaining multiple versions of
> an OS.

     I  think  the  problem  really  lies  with  the implementors of the
*original* libraries, rather than the  inventors  of  shared  libraries.
You   can   only  *really*  hope  to  maintain  a  semblance  of  OS-rev
independence if  your  library  calls  have  version  numbers  for  data
structures which may change.  Then the library can use the version which
you say you have given it/want to have back, and if it is a  version  it
doesn't know about (library is too old) produce an error. 

     Unix  (or  even C) does *not* have this, so once a *single* routine
is incompatibly changed the *whole* library has to reflect this, and all
of your programs will suffer. 


-------------------------- Gordon Lack ----------------------------------
The contents of this message *may* reflect my personal opinion.  They are
*not* intended to reflect those of my employer, or anyone else."
Newsgroups: comp.windows.x,comp.windows.misc,comp.human-factors
From: flaps@dgp.toronto.edu (Alan J Rosenthal)
Subject: Re: GUIs Considered Harmful
Date: 6 Sep 92 16:21:20 GMT

mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>> When you hold down the spacebar [a software utility] remaps the
>> keyboard in a mirror image.  For example, if you want to type the
>> letter K (MIDDLE finger, RIGHT hand) with your left hand, simply hold
>> down the spacebar and hit the D key (MIDDLE finger, LEFT hand).
>
>What about people like me, that don't use the strict "proper" fingers?
>(My index and middle fingers tend to crowd out the rest of my hands.)

You're unable to use Edgar's half-qwerty keyboard.  At least, he said that
that's probably the reason I found it so difficult to use.  I think I have a
more balanced use of my fingers than you, but I do move them around a lot.  (I
can't match your 100 wpm; I'm 85-90 wpm.)
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Colormap stuff
Keywords: color
Organization: McGill Research Centre for Intelligent Machines
Date: Tue, 15 Sep 92 17:12:22 GMT

In article <1992Sep10.081257.29422@SSD.intel.com>, bernhard@ssd.intel.com (Bernhard Ries) writes:

> [T]here seems to be a problem with some X-window programs that don't
> free their colorcells correctly when they exit.  For example, if I
> run ghostscript, the number of colorcells available for my
> application is reduced by quite a bit.  The only way to fix this that
> I know of is to restart the X-window server.

If you can figure out the magic value, an appropriate XKillClient call
will probably free everything up.

> Does anybody know what the reason for this behavior is or if there is
> any way to work around it?

GhostScript is using a second connection, which changes its close-down
mode to RetainPermanent (probably) or RetainTemporary (unlikely) to
allocate the colors.  This means that they don't get freed at
connection close.  My preferred fix would be to teach GhostScript that
quietly stealing half the colormap is antisocial: have it allocate the
cells with the same connection it does everything else with, so they go
away nicely when the program does.  A quick scan of the man page
doesn't give any indication of an option to do this already, grrr....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: smr@hitkw14.pki-nbg.philips.de (S.Riehm)
Newsgroups: comp.windows.x
Subject: Re: Strange keyboard mapping for the hpux-8.0x X server ...
Date: 7 Sep 92 11:36:20 GMT

gms@cv.hp.com (George Sachs) writes:

>The Mode_switch keysym is bound to the Mod1 modifier, making it
>the Group modifier.  That is why you are seeing the key bindings
>that you reported.

>If you don't want Mod1 to be the group modifier, you can use
>xmodmap to delete the Mode_switch keysym:

>xmodmap -e "remove mod1 = Mode_switch"

Here is the output from xmodmap -pm.

---
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_R (0xc),  Shift_L (0xd)
lock      
control     Control_R (0x8),  Caps_Lock (0x37)
mod1        Meta_L (0xb),  Meta_R (0xa)
mod2        Control_L (0xe)
mod3      
mod4      
mod5      
---

note I have no `Mode_switch' listed even, and yet I international
characters when I hit Meta_L ( Alt_L ) in combination with a key.
( I remember someone saying something about turning the Meta keys into
Alt keys, but that was years ago, and what is the difference? is it
possible to have Meta keys AND Alt keys at the same time? How can I
get my hands upgraded to handle all these modifier keys? )

if you are wondering what happened to my caps lock key, I turned it
off, and I use it for control, and the control key I use as a 'compose'
key, but even so, it would be nice for tcsh to recognise Alt-p instead
of having to type ^[-p ( I don't have emacs so I don't know what emacs
would make of my setup )

PS: what _exactly_ does "Mode_switch" do? I have never actually found a
man page or file that contains the definitions of all these mysterious
keycode and keysym names, I normally end up setting the ascii code
and hoping for the best!

Anyone got any other hints?

thanks in advance

-----------------------------------------------------------------
Stephen Riehm		Configuration Management	   _-_|\ 
smr@pki-nbg.philips.de	Philips Kommunikations Industrie  /     \
Work: +49 911 526 2975	N|rnberg, Germany		  \_.-.*/
Fax:  +49 911 526 2095	"I was there, now I am here!"	       v 
"My company speaks another language, I CAN'T speak on it's behalf"
From: gcw@castle.ed.ac.uk (G Watson)
Newsgroups: comp.windows.x
Subject: freeing up colo(u)rs with xsaver....
Summary: suggestions required
Keywords: virtual root window, allocating colormap entries
Date: 9 Sep 92 14:36:59 GMT
Distribution: comp
Organization: Edinburgh University

Has anyone had success with getting Xscreensaver to display images on
it's virtual root window ? The problem with either xv -root -quit , or
xloadimage -onroot is that when Xscreensaver terminates the virtual root
window, it doesn't free up the colors that were allocated to the window
by the display program. Tried specifying private colormaps, but I don't
think that has any effect with a -root option. 

Any ideas anyone ??  Could it be to do with the fact that I'm running
XNeWS as my X server ??

Thanks,


Gordon Watson.


Meteorology Department, Edinburgh University, Scotland.


(prefer mail to gcw@met.ed.ac.uk JANET, or 
 gcw@meteorology.edinburgh.ac.uk INTERNET)
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Finding the installed colormap
Organization: McGill Research Centre for Intelligent Machines
Date: Tue, 8 Sep 92 19:45:15 GMT

In article <Bu2LDI.Izw@news.cso.uiuc.edu>, ebina@void.uiuc.edu (Eric Bina) writes:
> In article <1992Sep4.100336.19689@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:

>> Now that I've just told you you can't do what you want for two
>> different reasons, I'll tell you how to do what you want.  Well, not
>> really, but I'll tell you how to do what you asked for.  It's called
>> XListInstalledColormaps.

> I know about, and have been using XListInstalledColormaps, but on the
> SGI it seems to be worthless.

> Has anyone out there ever grabbed a portion of an SGI screen and
> gotten the colors right?  If so, how?

An Iris is a good example of a machine where the problems I described
bite you in a big way.  The typical Iris has about eight different
visuals, most of which have distinct characteristics.  For example, one
machine here has two depth-2 PseudoColor visuals, one depth-4
PseudoColor, one depth-8 PseudoColor, one depth-12 PseudoColor, one
depth-12 TrueColor, one depth-12 DirectColor, one depth-24 TrueColor,
and one depth-24 DirectColor.  (This is from memory, so it may be
incorrect.  The exact details don't matter anyway; what matters is that
it has lots of visuals with widely differing attributes.)

Now, if you look at a rectangular area on the display screen, it may
contain pieces from several of those visuals.  It is possible to figure
out which pixels go with which visual if you work hard enough at it
(though you need to grab the server to be sure of getting it right).

However, that's about as far as you can go.  You need to know how the
server and hardware behave in order to figure out what you want.  The
big problem is figuring out what is being displayed for windows
belonging to a visual which has no colormap installed.  (For example,
installing a 24-bit DirectColor colormap may (or may not - I don't know
this hardware) cause all other colormaps to be uninstalled.  Figuring
out what is then displayed for an 8-bit PseudoColor window is not
possible via X.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: phil@eecs.nwu.edu (William LeFebvre)
Subject: Re: xdm and X server authorization
Organization: EECS Department, Northwestern University
Date: Tue, 8 Sep 1992 19:59:40 GMT

Regarding my previous post, "xdm and X server authorization",
I figured out what was going wrong.  I have canceled the article.
If you were thinking of replying, thanks anyway, but it's not
necessary now.

		William LeFebvre
		Computing Facilities Manager and Analyst
		Department of Electrical Engineering and Computer Science
		Northwestern University
		<phil@eecs.nwu.edu>

Newsgroups: comp.windows.x
From: rfrazier%peruvian.utah.edu@cs.utah.edu (Robert Frazier)
Subject: X Animation
Date: 5 Sep 92 17:50:04 MDT
Organization: University of Utah CS Dept
Distribution: World

	A couple of people have asked about fast animation, and there is no
info in the faq.  Could someone post or send me some detailed info and examples
of doing the color table flipping method of animation, as well as the offscreen
pixmap xoring method.  I am interested in the fastest animation possible.





	R. Todd Frazier
From: mjk@hoot.esd.sgi.com (Mark Kilgard)
Newsgroups: comp.windows.x
Subject: Re: Books on Porting X servers ???
Date: 4 Sep 92 22:11:47 GMT
Organization: Silicon Graphics, Inc.

In article <2970@jeff.mdavcr.mda.ca>, brian@mdavcr.mda.ca (Brian Lemire) writes:
|> 
|> 	Does anyone know of books written on the design of and/or porting
|> the X window server ? (X11 R5 preferred). If this is not a FAQ, and there is
|> enough interest, I will post responses to this news group. Please E-Mail
|> responses to me, thanks

Yes, Digital Press will soon be publishing a book on
the MIT X server and its internals.  It is by Erik Fortune
and Elias Isreal (sic?).  It is in the same series as Scheifler
and Gettys "X Window System".

Yes, it covers X11R5.

I think it fills a long open gap in the X literature.  I
think you will find it exactly what you are looking for.
(I helped review a draft of it.)

- Mark
Newsgroups: comp.windows.x
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: stop dirty pictures.. how?
Organization: PictureTel Corporation
Date: Fri, 11 Sep 1992 14:16:51 GMT

In article <1992Sep9.183227.1533@lub001.lamar.edu> ravi@lub001.lamar.edu writes:

>Somebody can display some "junk" on your workstation when he sets his DISPLAY
>variable to any other Workstation's IP address. Can this be stopped?

Read up on "xhost" and "xauth".
Newsgroups: comp.windows.x
From: drmres27@ucs.usl.edu (Mejia Pablo)
Subject: Re: stop dirty pictures.. how?
Organization: Univ. of SW Louisiana, Lafayette
	<1992Sep11.010649.17700@mailhost.ocs.mq.edu.au>
Date: Fri, 11 Sep 1992 05:37:51 GMT


>>  Somebody can display some "junk" on your workstation when he sets
>>  his DISPLAY variable to any other Workstation's IP address. Can
>>  this be stopped?

>   type xhost - to disallow access, and xhost + to allow access.

I don't believe that this works all of the time.  At least I am
positive that it does'n run work on our Suns.  You need to start up
the server with some type of authority mode, as well as running xauth
to generate an authority file.  This maybe the problem.  Check how you
start your server.

Is this different for other servers?

On our system, I started the xnews system with -noauth.  Then anyone
who wants to use your display just needs to log on to the machine, and
type xhost +.  The request is granted.  Then anyone can throw windows
up on your screen.  Note that this will not work if you have a
previous .Xauthority file, it must be removed.

Pablo Mejia
drmres27@ucs.usl.edu

Newsgroups: comp.windows.x
From: sinan@Mtesol.boeing.COM (Sinan Karasu)
Subject: Re: Compile X11 under Solaris 2.0
Organization: The Internet
Date: Tue, 8 Sep 1992 20:07:14 GMT


 In article <1992Sep7.115001.20556@cas.org>, lwv26@cas.org (Larry W. Virden) writes:
 ( About X11R4 stuff being included in OpenWindows 3)
> 1. imake and xmkmf comes with OpenWindows 3.0 at least.  
> 2. The xterm that is there is the std X11R4 xterm as far as I can tell.  It
> isn't an OpenLook one at least - unfortunately.
           ^^^^^^^^
 There is crttool available free which is an xview based xterm that actually does vt2xx 
emulation very nicely!.
> 3. The Athena widget libraries, extentions, etc. are all there.  As for 
> 'missing' stuff, I cannot imagine what of any major importance is missing,
> from the core X11 R4 tapes.  Twm is even there!

Thanx, that was my point...

Sinan
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics