HDTenEightyP/NetNews huggingface dataset:
From: sue@byron.u.washington.edu (Shu-Chen Eclipse)
Newsgroups: fj.mail-lists.x-window
Subject: Help: .Xdefaults resources
Date: 29 Jul 92 21:29:47 GMT
Distribution: fj
Organization: University of Washington, Seattle

Date: 29 Jul 92 10:45:42 GMT
Message-Id: <1992Jul29.104542.2503@u.washington.edu>
Newsgroups: comp.windows.x


Could anybody tell me what resources I need separetly set the various fonts and
colors for the Workspace popup menus, the term pane windows, other pop-ups??

I noticed that "*buttonFont" <fontname> changes the fonts on the face of the
workspace menus and on the exit/cancel buttons on the menu that pops up when
you click exit on the workspace menu.

BUT          
      "*ButtonFont: <fontanme> has no effect
      "*button*Font: <fontname> has no effect
      "CursorColor: .... has no effect
    "*cursor*Color: .... has no effect
   BUT
    
      

   BUT
   "cursorColor: .... CHANGES THE CURSOR COLOR???!!
   "buttonFont:.... CHANGES THE popup menu fonts, except the menu titlefonts

 BUT 
  "menu*Font:... has no effect
"menu*TitleFont:... has no effect
"*Menu*Font:... has no effect
BUT
 "*TitleFont:... CHANGES ALL TITLE FONTS, INCLUDING THE MENUS??!!

 ALSO, somewhere along the line I found something that changed the font
on the menu that pops up when you click exit on the Workspace menu.


Somehow, I can no longer duplicate it. instead, all I now get (with my
"buttonFont:..." is large fonts on the buttons themselves. What resource
controls the text above these buttons?? I had it --then I lost it during
my experimentation, and I can not get it back for the life of me!!

I've tried all permuations of "button, font, menu"--nichts!!



Also, I have been totally unable to change the color of my menus, buttons,
slider bars separetly. What am I missing. I've tried numerous permutations
of "Color, Background, forground, slider, scrollbar, button, menu, upper and
lower case, *, ., ---- nothing!!

Why do these resources act so strangely: notice the button and menu examples
above.

thanx for answering,
sue@byron.u.washington.edu
From: mfg@castle.ed.ac.uk (M Gordon)
Newsgroups: fj.mail-lists.x-window
Subject: Bug in editres
Date: 27 Jul 92 17:09:32 GMT
Distribution: fj
Organization: Edinburgh University

Date: 27 Jul 92 13:57:35 GMT
Message-Id: <24178@castle.ed.ac.uk>
Newsgroups: comp.windows.x

Sun 4, SunOs 4.1.1, X11R5 pl13.

Start editres and xfontsel, select "Get Widget Tree" and click on
xfontsel.  Select "Get Widget Tree" again and click on the editres
window.  Editres then displays a widget tree consisiting of a mixture
of the editres and xfontsel widgets.  Editres displays it's own
widgets correctly if no other clients have been displayed beforehand.

-- 
                                                         _   _   _    _   _	
Michael Gordon - mfg@castle.ed.ac.uk OR ee.ed.ac.uk     | |_| |_| |__| |_| |   
EE Dept, Edinburgh University                           | . . . .      . . |    
It's not an optical illusion, it just looks like one    |_________|~~|_____|
From: jerry@hmcvax.claremont.edu
Newsgroups: fj.mail-lists.x-window
Subject: "Minimum size" attachments/constrai
Date: 23 Jul 92 11:02:01 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 18 Jul 92 16:09:00 GMT
Message-Id: <1992Jul17.230904.1@hmcvax.clarem>
Newsgroups: comp.windows.x


I would like to create a dialog box which is the minimum size necessary
to contain the widgets inside of it.  Because different displays have
different resolutions, this minimum size is dependent upon several factors:
the font used and the display used come to mind.

I have been trying to create an attached dialog box (DECwindows) that
will size itself.  I cannot.  I have attached all of the widgets to
each other (in font units and in other versions in pixel units).  I
have attached the widgets to their container.  Still, if I don't give
the outermost dialog box a height and a width, I get only a very very
small dialog box.

Can anyone offer a suggestion?

				Thanks,


				Jerry Bakin
				jerry@hmcvax.claremont.edu
				(818) 594-5040
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: fj.mail-lists.x-window
Subject: Re: Screen capture retaining pointe
Date: 23 Jul 92 12:29:10 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 18 Jul 92 00:58:00 GMT
Message-Id: <1992Jul17.145859.28956@thunder.m>
Newsgroups: comp.windows.x


In article <1992Jul13.105243.2408@pictel.com>, oj@pictel.com (Oliver Jones) writes:
> In article <1992Jul10.123748.26945@PA.dec.com>, neideck@kaputt.enet.dec.com (Burkhard Neidecker-Lutz) writes:
>> In article <1992Jul10.002907.20496@ccu.umanitoba.ca> rafiq@silver.cs.umanitoba.ca (Salik Rafiq) writes:
>>> I'm looking for a program to perform a screen capture but retain
>>> the mouse pointer, [...].
>> This is *impossible* to do on machines with hardware cursors (i.e.
>> each and every machine made by Digital) .
> It's not impossible, just hard and kludgey.  (Tt's almost impossible
> for something to be impossible in X :-)

Unfortunately it is impossible within X, *regardless* of whether the
machine uses a hardware cursor or not.  (Unless of course the server
contains an extension designed for this, which as far as I know does
not exist.)

> So, copy the window's contents to a pixmap, then query the cursor
> position and render the cursor into the pixmap,

But this can't be done, because there is no way to find out what the
cursor looks like.  There isn't even any way to find out what cursor is
being used for a given window, since there may be no XID for it any
longer.

You're probably better off looking for some system-dependent mechanism,
like screendump on a Sun....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: naftaly@supergas.dazixco.ingr.com (Naftaly Stramer)
Newsgroups: fj.mail-lists.x-window
Subject: Code Analysis program
Date: 28 Jul 92 05:08:02 GMT
Distribution: fj
Organization: Dazix

Date: 27 Jul 92 22:50:17 GMT
Message-Id: <1992Jul27.225017.9165@dazixco.ingr.com>
Newsgroups: comp.windows.x.apps,comp.windows.x



Hi there, 

I am looking for a program that will analyze source code of X based software
against a set of rules or requirements. Please email me and I'll post a summary.

thanks, 

Naftaly

--
Naftaly Stramer (303)581-2370, FAX (303)581-9972    DAZIX, An Intergraph Company
Internet: naftaly@dazixco.ingr.com                  5101 Soine Road    
UUCP: ..uunet!ingr!dazixco!naftaly  	            Boulder, CO 80301
Please excuse my English
Naftaly Stramer (303)581-2370, FAX (303)581-9972    DAZIX, An Intergraph Company
Internet: naftaly@dazixco.ingr.com                  5101 Soine Road    
UUCP: ..uunet!ingr!dazixco!naftaly  	            Boulder, CO 80301
Please excuse my English
From: rtipnis@maxine.wpi.edu (Rajeev Tipnis)
Newsgroups: fj.mail-lists.x-window
Subject: X Journals
Date: 25 Jul 92 12:53:48 GMT
Distribution: fj
Organization: Worcester Polytechnic Institute

Date: 24 Jul 92 18:04:47 GMT
Message-Id: <1992Jul24.180447.17230@wpi.WPI.EDU>
Newsgroups: comp.windows.x

Where can I get the "X Journals" from ?
They don't seem to be getting them in the libraries around this place.
And how much does each issue cost ?

Thanks,

-- Rajeev
From: giordano@tamaro.cscs.ch (Silvia Giordano)
Newsgroups: fj.mail-lists.x-window
Subject: X Window Security
Date: 31 Jul 92 03:02:20 GMT
Distribution: fj
Organization: Centro Svizzero di Calcolo Scientifico / CH-6928 Manno

Date: Thu, 30 Jul 1992 12:45:58 GMT
Message-Id: <1992Jul30.124558.24089@cscs.ch>
Newsgroups: comp.windows.x

Hello folks.
I would like to get your opinions and experiences about X Window
traffic. We are receiving many requests to open X Window traffic in
unrestricted way. The opinion of the Network&Security group at
our Supercomputer Centre is that this represents a definite security 
hole since X Window is not considered to be a safe product (e.g. use
of not privileged TCP ports, weak X11R4 security design and so on).

Could someone give me more info on X Window System security? I read the 
tutorial by Dennis Sheldrick and explained the above well enough for me, 
but I don't know any X installation filtering X access for security.
Isn't there an X-Window technical conference on security topic? 
Isn't there anyone having experiences with X Window System security?
What is the policy implemented at your centre? Did you have negative
experiences with unrestricted X Window traffic?

 
Thanks for any answer.

-- 


                                        Best Regards.

                                                  Silvia Giordano
                                                Network Coordinator
                                     Centro Svizzero di Calcolo Scientifico
                                    Via Cantonale CH-6928 Manno (Switzerland)
                                     Tel: +41 91 508213  FAX: +41 91 506711
                                            E-Mail: giordano@cscs.ch
--------------------------------------------------------------------------------
           ........I'm not so bad. They draw me like this......
--------------------------------------------------------------------------------
From: pwickman@cerebus.cc.edu (Paul J. Wickman)
Newsgroups: fj.mail-lists.x-window
Subject: Keymap Translations on Motif-RS/6000
Date: 30 Jul 92 06:38:54 GMT
Distribution: fj
Organization: Carroll College-Waukesha, WI

Date: 29 Jul 92 16:52:42 GMT
Message-Id: <3257@carroll1.cc.edu>
Newsgroups: comp.windows.x,comp.windows.x.motif


	I'm trying to remap the function keys on my RS/6000 running Motif.
I'm trying to redefine them in the .Xdefaults file like so:

-----  .Xdefaults file -----
*aixterm.Translations: <Key>F1: string(0x1b) string(0x4f) string(0x50) \n\
        <Key>F2: string(0x1b) string(0x4f) string(0x51) \n\
        <Key>F3: string(0x1b) string(0x4f) string(0x52) \n\
        <Key>F4: string(0x1b) string(0x4f) string(0x53) \n\
        <Key>F5: string(0x1b) string(0x5b) string(0x33) string(0x31) string(0x7e
) \n\
	Shift<Key>F1: string(0x1b) string(0x5b) string(0x32) string(0x34) string
(0x7e)
---------------------------

This almost works, except the Shifted keys never get remapped.  A Shifted F1 
in this case will generate the same code as the new F1.

What am I doing wrong?


This 
--
Paul J. Wickman - Analyst/Programmer
Harnischfeger Corporation
Internet: pwickman@carroll1.cc.edu	Phone: 414-671-7778
From: pop@goedel.mitre.org (Paul O. Perry)
Newsgroups: fj.mail-lists.x-window
Subject: Where are those rolodex ?
Date: 28 Jul 92 02:51:22 GMT
Distribution: fj
Organization: The MITRE Corporation

Date: Mon, 27 Jul 1992 19:52:33 GMT
Message-Id: <POP.92Jul27145233@goedel.mitre.org>
Newsgroups: comp.windows.x


I recall an exercise in toolkit evaluation that asked for submissions
of an implementation of a rolodex in as many toolkits as possible. The
last I heard there were submissions for : motif, interviews, tcl/tk,
wcl, and I'm sure others, but the programs were not released.  Have
the demos since been released, if not, is there any plan to release
them ?

Thanks, Paul.

--
Paul O. Perry                                        Phone: (617) 271-5230
MITRE Corporation                                    Fax:   (617) 271-5255
202 Burlington Road                                  pop@mitre.org
Bedford, MA  01730-1420
From: srpxpert@godiva.ssw.com (Selene R. Platt)
Newsgroups: fj.mail-lists.x-window
Subject: X Journals
Date: 27 Jul 92 20:48:23 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Mon, 27 Jul 1992 13:16:30 -0400
Message-Id: <9207271716.AA08561@godiva.ssw.com>


> Where can I get the "X Journals" from ?
> They don't seem to be getting them in the libraries around this place.
> And how much does each issue cost ?

The "X Journal" is published by:
	SIGS Publications
	588 Broadway
	New York City, New York  10012
	(212) 274-0640

We send our subscription payments to:
	The X Journal
	Subscriber Services, Dept. XXX
	P.O. Box 3000
	Denville, NJ  07834-3000

but you should probably contact the previous agency first.

It costs $39 for six bi-monthly issues, or $6.50 per issue.

Cheers,

Selene Platt

	{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
	{ Selene Platt                  (215) 651-5305           }
	{ Soft*Switch Inc.                                       }
	{ 640 Lee Rd.                   srp@godiva.ssw.com       }
	{ Wayne, PA  19087                                       }
	 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: snail@lsl.co.uk
Newsgroups: fj.mail-lists.x-window
Subject: XGetErrorDatabaseText
Date: 24 Jul 92 23:40:26 GMT
Distribution: fj
Organization: Laser-Scan Ltd., Cambridge

Date: 24 Jul 92 16:22:36 GMT
Message-Id: <1992Jul24.172236.2178@lsl.co.uk>
Newsgroups: comp.windows.x

OK I'm thoroughly miffed here, I shouldn't need to post this, but quite frankly
I can't get what I want and there aren't any demo bits of cod ein any of my
books, just the definition of the function.

So just how do you use XGetErrorDatabaseText() ?

 XGetErrorDatabaseText(Display,
                       app_name, /* is this argv[0] or the -name argument? */
                       XXXXX_STRING, /* see below */
                       "my defualt message if it fails - it will!",
                       my_default_buffer_for_message,
                       my_default_buffer_length);

error request code I'm trying to get is

XError *error_event;
error_event->request_code; /* This is what I'm saying is 8 for the example */

(I know about XGetErrorText() and I use it for error_event->error_code.)

OK so assuming my error request code is say error 8 (X_MapWindow) this is in 
the /usr/lib/X11/XErrorDB file as

XRequest.8:X_MapWindow

Obviosly I'll be taking the real error number from an XError, but for this
exmaple, we'll use an error number (Major Opcode) of 8.
But why if I call the function do I always get my default text, no 
matter what I pass for XXXXX_STRING. I've tried:-

1) casting the error code to a char and passing it's address as XXXXX_STRING.
2) using sprintf to create a) "8"
                           b) "XRequest.8"
                           c) "XRequest.8:"
                           d) "XRequest8"
                           e) "XRequest8:"
   and then pass that string as XXXXX_STRING.

Why doesn't it work, irrespective of platform (DEC, Sun, HP, IBM etc)

WARNING: I only want an example, don't quote the standard RTFM or bits of it
at me, doing that will get you a flame. I'm at my wits end. I want a 
concrete example that works. Sure after reading this warning you may not 
feel inclined to respond, but I'd rather that than people just spouting the
manual at me. BY concrete - I mean some code, not a description!

Oh yeah, I've also tried XProtoError (I Suspect this is correct) and 
XLibMessage and XRequestMajor, all with similar extensions (.8, .8: etc) as
above, all with no luck.

For an example assume protocol request value of 8 and XProtoError. See if you
can give me some code that works.

Hoping some kind soul will help

Stephen Kellett
snail@lsl.co.uk
From: converse@expo.lcs.mit.edu (Donna Converse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: cursor in spring-loaded menu
Date: 28 Jul 92 02:21:58 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Message-Id: <9207272309.AA18582@excess.lcs.mit.edu>
             <199207232056.AA24939@juno.astro.umd.edu> 
Date: Mon, 27 Jul 92 19:09:56 EDT


> I have a menu widget which I have written intended to be used as a
> spring-loaded popup when a button is pressed (by means of an XtMenuPopup() in
> the translations).  While the menu is popped up I would like the cursor to have
> some special shape.  It seems to be hard to do this.

Right.

> The widget does have a cursor resource.
> It is used in the widget's realize method to set the cursor for the widget's
> window.  My problem (or complaint?) is that when the widget it is popped up
> with the XtMenuPopup action that this resource has no effect.  The cursor
> used seems to alway be that of window of the widget making the grab.  I believe
> that this is because XtMenuPopup (as far as I can figure out) makes an
> XButtonGrab with cursor of None.

You are right.

> I know that the resource is properly set because I successfully used it in
> the XChangeActivePointerGrab() call.

That's what you have to do, make a call to XChangeActivePointerGrab to get
the menu to use a cursor other than the cursor supplied by the grabbing window.

> I still don't see how I can get the behavior I want
> (the grab done with the menu's cursor rather than with the grabbing window's
> cursor) without writing my own version of the XtMenuPopup() action routine or
> by the use of XChangeActivePointerGrab().

The Xaw Simple Menu widget makes a call to XChangeActivePointerGrab in a callback
registered on the popupCallback list.  These callbacks will be called before
the menu widget is mapped, through XtPopupSpringLoaded, which is called 
through XtMenuPopup, the action you use to pop up the menu.  So, you're right,
sorry I got confused by this one.  The menu widget that you are writing would
register this callback in its Initialize method.


Donna Converse
MIT X Consortium
From: gpxpost@otago.ac.nz
Newsgroups: fj.mail-lists.x-window
Subject: DEC wierdness & XORing things
Date: 28 Jul 92 06:12:33 GMT
Distribution: fj
Organization: University of Otago, Dunedin, New Zealand

Date: 27 Jul 92 23:27:38 GMT
Message-Id: <1992Jul28.122738.3167@otago.ac.nz>
Newsgroups: comp.windows.x

HELP !!!!!!!!!!!

My config is DECstation 3100 with mono screen.
I wrote a program on a grey scale decstation 5000/200 and it ran fine, it uses
xor to do some rubberband circles.  Obvious way of doing it ah !

BUT when moved the same code onto a 3100 with mono screen we find that xor
doesn't work !!!!!!!!!!!

Anyone else come across this??????
It works fine with draw/undraw things but I don't wanna overwrite my background
!

Help me i'm drowning
=============================================================================
deano@piglet.otago.ac.nz  | "In the bathtub of history the truth is more 
Dean McRobie              |  difficult to find than the soap and much harder
University of Otago       |  to hold on to." Terry Pratchett
From: barmar@think.com (Barry Margolin)
Newsgroups: fj.mail-lists.x-window
Subject: Re: set uid bit for xterm?
Date: 23 Jul 92 17:12:54 GMT
Distribution: fj
Organization: Thinking Machines Corporation, Cambridge MA, USA

Date: 23 Jul 1992 05:17:15 GMT
Message-Id: <14lfcrINNh3@early-bird.think.com>
Newsgroups: comp.windows.x

In article <1992Jul22.135044.16457@verdix.com> grega@verdix.com (Greg Alonso) writes:
>If that is the case, why can I delete an xterm process after it is
>spawned?  Isn't it owned by root when it is running?

After it does the stuff that needs root access (changing the pty ownership,
filling in /etc/utmp) it calls setuid(2) to revert to the invoker's uid.
When it does this, you can kill it.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: martin@enws125.eas.asu.edu (Ross Martin)
Newsgroups: fj.mail-lists.x-window
Subject: keyboard repeat rate in X11R5
Date: 29 Jul 92 04:07:22 GMT
Distribution: fj
Organization: Arizona State University

Date: Tue, 28 Jul 1992 22:38:18 GMT
Message-Id: <1992Jul28.223818.24021@ennews.eas.asu.edu>
Newsgroups: comp.windows.x

Does someone know how to change the keyboard repeat holdoff and
keyboard repeat rate on a Sun running straight X11R5?

Thanks in advance.

--Ross Martin
martin@trchp.eas.asu.edu
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: fj.mail-lists.x-window
Subject: Re: XUPS update
Date: 28 Jul 92 04:02:15 GMT
Distribution: fj
Organization: Computer Science Dept, Univ of Arizona, Tucson

Date: 27 Jul 92 22:03:23 GMT
Message-Id: <19658@optima.cs.arizona.edu>
Newsgroups: comp.windows.x

In article <9207271328.AA07952@expo.lcs.mit.edu>, lance@diu.cms.udel.EDU (Dan Lentz) writes:
|> A new version of xups, a UPS monitor for X, is available for ftp from
|> ftp.scripps.edu or ftp.math.psu.edu.  It includes substantial enhancements
|> from the previous version.  What follows is the README file.
|> 
|> [stuff deleted...]

Whoops, I messed it up with the debugger called "UPS". It's great
debugger that happens to have a similar name of this one. ;o)

Does anybody know whether there's any upgrades from the old version
2.31 of the UPS debugger?

________________________________________________________________
= Qiang Alex Zhao		   Computer Science Department
  azhao@cs.arizona.edu             University of Arizona
  (602) 621-2759                   Tucson, AZ 85721
From: achan@idaho.tdd.sj.nec.com (Amy Chan  x2941)
Newsgroups: fj.mail-lists.x-window
Subject: Re: How can I get the window id of the window that the pointer is in?
Date: 31 Jul 92 03:48:37 GMT
Distribution: fj
Organization: NEC-AM TDD, San Jose, California

Date: 30 Jul 92 17:12:13 GMT
Message-Id: <1992Jul30.171213.21503@sj.nec.com>
Newsgroups: comp.windows.x

In article <1992Jul30.145436.9324@nynexst.com> rsilvers@powwow.nynexst.com (Rob Silvers) writes:
>
>	XGetInputFocus returns the window that input is being sent to.  I need
>to get the window that the pointer is in.  Is there an easy way to do this?

XQueryPointer?

Amy
--
Amy Chan                 | E-Mail:
NEC America              |  INET: achan@tdd.sj.nec.com
110 Rio Robles           |  UUCP: ...{decwrl,oliveb}!necsun!achan
San Jose, CA 95134       |
From: cwikla@morrison.wri.com (John Cwikla)
Newsgroups: fj.mail-lists.x-window
Subject: xfred -- a little munching game
Date: 29 Jul 92 05:34:22 GMT
Distribution: fj
Organization: Wolfram Research, Inc.

Date: Wed, 29 Jul 1992 00:07:30 GMT
Message-Id: <cwikla.712368450@morrison.wri.com>
Newsgroups: comp.windows.x

The alpha (that way I don't have to have great docs!) version of
xfred is available at export.lcs.mit.edu/contrib/xfred.tar.Z

This game should be a tad familiar to anyone living.  I know that
there are other games that are kind of like it out there already
but I hope this one is more playable.

Basically xfred looks a little like the game PacMan. :-)

It does have an Imakefile, but the docs aren't great, and
the game probably isn't perfect (I wrote it in a week, late
at night, when I got tired of doing real work...)

However, I do believe it has it's own flare.

Take a peek, and if you have anything nice to say, let me
know what you think.

John 
--
o  John L. Cwikla          o
 o  X Programmer            o
  o  Wolfram Research, Inc.  o
   o cwikla@wri.com           o
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: fj.mail-lists.x-window
Subject: Re: XGetWindowProperty
Date: 23 Jul 92 10:38:26 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 18 Jul 92 01:02:00 GMT
Message-Id: <1992Jul17.150219.29188@thunder.m>
Newsgroups: comp.windows.x


In article <6666@charon.cwi.nl>, huub@cwi.nl (Huub Bakker) writes:

> I want to change a window property using XChangeProperty.  This
> function requires a format parameter.  [wants to know how to choose a
> value for the format.]

This simply depends on whether the property should be viewed as a list
of 8-bit values, a list of 16-bit values, or a list of 32-bit values.
As simple examples, a text property like a window's name is a list of
8-bit values and would be stored with format 8; a property like
WM_COLORMAP_WINDOWS that is a list of X resource IDs is a list of
32-bit values and would be stored with format 32.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu