HDTenEightyP/NetNews huggingface dataset:
From: kma%nil.cs.utah.edu@cs.utah.edu (Kwan-Liu Ma)
Newsgroups: fj.mail-lists.x-window
Subject: MOTIF question
Date: 22 Jul 92 05:06:30 GMT
Distribution: fj
Organization: Department of Computer Science, University of Utah

Date: 21 Jul 92 12:54:04 MDT
Message-Id: <1992Jul21.125404.20688@hellgate.utah.edu>
Newsgroups: comp.windows.x

  XtVaAppINitialize() lets one specify a list of fallback resources,
such as background color, etc.
If I create another toplevel shell above the application shell using
XtVaAppCreateShell(), how can I get the background color inherited
from the application shell so I don't need to set colors for each 
widget created within the new toplevel shell? 

  Thanks,

    -  Kwan
From: michael@maine.maine.edu (Michael Johnson)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Help: Smooth Animation
Date: 24 Jul 92 14:28:02 GMT
Distribution: fj
Organization: University of Maine System

Date:    Thu, 23 Jul 92 09:14:36 EDT
Message-Id: <MICHAEL.920723091436@maine.maine.EDU>
Newsgroups: comp.windows.x

In article <1992Jul21.031219.26852@viewlogic.com> josh@viewlogic.com (Josh
Marantz) writes:
>>I am trying to to animate lines on the display using XDrawLine, erasing,
>>drawing again etc.  The problem is it flickers in a major way.  I don't
>>think there is any double-buffer mode in X, should I draw off-screen or
>>something, then copy it onto the screen?  Man pages on X...Buffer routines
>>are not very clear.  If anyone has done anything similar, could you
>>let me know how this was accomplished?
>
>I did this recently and tried 4 methods:
>        1. Erasing and drawing
>        2. Color-map flipping.
>        3. XCopyArea to off-screen pixmap
>        4. X Double-buffering extension (check XmbufQueryExtension)

With line drawings, you can also erase the individual lines by re-drawing
them in the background color, then draw them again elsewhere in the foreground
color. This ought to be as fast as (or faster than) using XOR. It's bound to
be faster than drawing to a pixmap and copying. The time it takes to copy an
entire pixmap goes up (naturally) geometrically with the size of the pixmap.
For a reasonable size window (say 500x500) this can bog the server down.

If you undraw/redraw each figure individually (rather than undrawing them all,
then redrawing them all) you should get pretty smooth animation. You will need
to take note of figures that overlap in the new drawing and undraw/redraw them
together (i.e. undraw them all, then redraw them all). Otherwise you would end
up with some gaps in the lines.

Michael Johnson, VM Systems Group                     michael@maine.maine.edu
"I will choose the path that's clear. I will choose Free Will." -- Neil Peart
From: ravi@wwtc.timeplex.com (ravikumar)
Newsgroups: fj.mail-lists.x-window
Subject: How to Bypass kill_client ?
Date: 22 Jul 92 02:55:07 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Tue, 21 Jul 92 11:21:27 PDT
Message-Id: <9207211821.AA01101@wwtc.timeplex.com>


Hi,

	I am using X11R4 / mwm. I have taken out the Close option from the window
menu. But the user can still double click on the window menu and terminate the
window ??

	How do I catch double click and take care of it ??


Thanks in advance
 ------------------------------------------------------------------------
 |  Ravikumar S Nittur               |                                  | 
 |                                   |                                  |
 |  ascom Timeplex inc.,             |  		                |
 |                                   | internet: ravi@wwtc.timeplex.com |
 |  Los Angeles, CA                  |                                  |
 |                                   | uunet :                          |
 |  phone : (310)443 5730            |  uunet!wwtc.timeplex.com!ravi    |
 ------------------------------------------------------------------------
From: ego@alpha.fultech.com (Ed Orton)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X server for MS-Windows?
Date: 28 Jul 92 22:56:20 GMT
Distribution: fj
Organization: Fulcrum Technologies Inc.

Date: 28 Jul 92 14:10:25 GMT
Message-Id: <1992Jul28.141025.2563@fultech.com>
Newsgroups: comp.windows.x

HCL eXceedd/W is a windows X server which can either use Windows as the window
manager, or can be set up to manage it's own windows. I am currently creating
this message using 'xrn' as a SPARC client to the HCL product and it works
just fine. Contact HCL at:

Hummingbird Communications Ltd.
2900 John Street, Unit 4
Markham, Ontario, CANADA L3R 5G3
Phone:	(416) 470-1203
FAX:	(416) 470-1207

I am not associated with this company, just a satisfied user both at work
and at home.

B.T.W

We tested 4 similar products and found this to be the most versatile, but
not the fastest.

Ed Orton
GWN Consultants
From: ftms!brown@bloom-beacon.mit.edu (Vidiot)
Newsgroups: fj.mail-lists.x-window
Subject: Re: xterm & fonts
Date: 29 Jul 92 05:05:50 GMT
Distribution: fj
Organization: Vidiot's Other Hangout

Date: 28 Jul 92 16:39:16 GMT
Message-Id: <263@ftms.UUCP>
Newsgroups: comp.windows.x

In article <5D9285E5804025DA@vand.physto.se> SAMMY@vand.physto.se writes:
<
<        This is a question that perhaps will only reveal the level of
<my ignorance: why can one use only fixed fonts in xterm? What are the
<extra problems involved in arranging things so variable character width
<fonts can be used? I mean, in such a way that the output looks nice on
<the screen.

You have to look at the perspective of the other users of your information.
If you compose a letter using variable pitch, while it may look good on your
display, it will look like shit on someone else's display.

By always using constant width fonts, you have a better chance of getting the
display to look correct when viewed by someone else.

Of course, there are those that use the autowrapping of mailtool and forget
that others aren't using mailtool.  Or they use wider windows, which also
causes wrapping on other displays.

I have all my xterm windows fixed to 80 character width.  Makes for less
problems.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
From: bobmcg@castle.ed.ac.uk (Bob McGonigle)
Newsgroups: fj.mail-lists.x-window
Subject: Europena X User group Conference
Date: 27 Jul 92 18:01:58 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Mon, 27 Jul 92 10:05:25 EDT
Message-Id: <9207271405.AA08406@expo.lcs.mit.edu>


EUROPEAN X USER GROUP CONFERENCE

ANNOUNCEMENT AND CALL FOR ADDITIONAL PAPERS

24-25 September 1992

Brunel University, Uxbridge, Great Britain
  (5 minutes from Heathrow)

The conference this year comprises the conference itself, a choice of
optional tutorials, a vendor exhibition and demonstrations.

TUTORIALS

The tutorials will be held on the morning of Thursday 24th September.
Four subject areas are offered:

X Window System Administration,
PEX programming,
Starting off with X, and
Debugging X Windows programs.

CONFERENCE

The conference commences at mid-day on Thursday 24th September and
continues through the whole of Friday.  It will include major speakers
from the USA such as Bob Scheifler, Donna Converse, Oliver Jones and
Doug Young.  A wide range of topics will be covered including:

GUI tools in high level languages,
fonts made easy,
X in group working, and 
Help via X Windows.

ADDITIONAL PAPERS

There is still an opportunity for you to present a paper on your
favourite subject at the conference. To contact the paper committee, you
should fax your name, address, telephone, email address and proposed
topic of paper to the secretariat. Someone will then contact you to
discuss further details.

VENDOR EXHIBITION

The exhibition will be the only one dedicated to X and exhibitors will
be showing products and services offered to the X community.

DEMONSTRATIONS

There will also be demonstrations by developers working within the X
environment, plus video presentations of various applications.

COST

The conference fee is 250 pounds.
Price includes refreshments and lunch, plus the conference dinner on the
Thursday evening.

Optional tutorial fee is 50 pounds.
Choose one of the above four subject areas.

Accommodation - 27.50 pounds per person per night.
Bed and Breakfast in en-suite rooms. Available Wed 23rd, Thur 24th and
Fri 25th September.

SPECIAL OFFER

Members of the User Group may be eligible for a 10% discount for early
registration and payment. Ask for details.

EXHIBITION STANDS

If you would like to exhibit your organisation's
products/services/research developments, please contact the secretariat.

TO BOOK

Registration forms and further information are available from:

  EXUG Secretariat
  PO Box 458
  Cambridge 
  CB4 4AA
  Great Britain

  Tel: +44 (0) 223 426534
  fax: +44 (0) 223 420251
From: gwf@sapphire.bellcore.com (George W. Fleming)
Newsgroups: fj.mail-lists.x-window
Subject: Undefined Symbol:  _XtAppInitialize ???
Date: 23 Jul 92 13:23:44 GMT
Distribution: fj
Organization: Bellcore, Livingston, NJ

Date: 22 Jul 92 17:58:37 GMT
Message-Id: <gwf.711827917@sapphire>
Newsgroups: comp.windows.x

Does anyone know why I get the following error when I try to start up X:

	ld.so:  Undefined Symbol:  _XtAppInitialize

This error is usually repeated 3 times when I run startx.  

I only get this problem right after I do a 'make everything' or just
'make' on the X source tree.  If I do 'make World', then this problem
seems to go away.

I am running X11R5 patchlevel 13 on a Sun Sparc, with the Sun numlock
patch installed.  It just seems that after every X patch release, I have
to do a 'make World' in order to start up correctly.  Does anyone understand
why?  Does it have something to do with the numlock patch?  This problem
started at about the same time that I put in the numlock patch.

If anyone could provide me with an answer, I'd appreciate greatly.

-- 
-------------------------
George W. Fleming
gwf@sapphire.bellcore.com
-------------------------
From: bellcore!jello.bae.bellcore.com!aw@uunet.uu.net (Andrew Wason)
Newsgroups: fj.mail-lists.x-window
Subject: Xbae 3.7
Date: 29 Jul 92 15:58:38 GMT
Distribution: fj
Organization: Bell Communications Research

Date: Wed, 29 Jul 92 09:34:04 EDT
Message-Id: <9207291334.AA09581@expo.lcs.mit.edu>


Release 3.7 of Xbae (the Motif XbaeMatrix and XbaeCaption
widgets) is available at export.lcs.mit.edu:contrib/Xbae-widgets-3.7.tar.Z.
There are no new features, just a couple of small bug fixes.

A patch to bring 3.6 up to 3.7 is at
export.lcs.mit.edu:contrib/Xbae-3.6-to-3.7.patch.shar.  The patch
does _not_ patch the PostScript documents, because even though
the changes were small, the diffs were not.  If you want the
updated docs, fetch the entire 3.7 distribution.

If you can't ftp, try sending email to ftpmail@decwrl.dec.com
with the word "help" alone in your message body.  You will receive
instructions on how to ftp via email.

Xbae 3.7 fixes the following problems:

 * XbaeMatrix would occasionally steal the focus from other widgets
   in the same shell.  The Clip widget was changed to only respond
   to synthetic FocusIn events.
 * XbaeMatrix StringToAlignmentArray converter should free the array
   when the conversion fails.
 * All header files now use a more specific inclusion protection symbol
   to avoid conflicts with other packages.
 * The XbaeMatrix documentation incorrectly documented the
   XbaeMatrixLeaveCellCallbackStruct.


Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: fj.mail-lists.x-window
Subject: Re: Non-rectangular bitmaps/setting
Date: 23 Jul 92 12:24:37 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

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


In article <1992Jul13.194934.5605@news.cs.brandeis.edu>, slanka@chaos.cs.brandeis.edu (Ishantha Lokuge) writes:

> I am trying to create a non-rectangular bitmap...

This is not possible.  You'll have to get the effect you want some
other way.

> I wish to display this using XCopyPlane.  How can one set the
> background of a pixmap so that in effect it is transparent.

Pixmaps don't have backgrounds.

> This means that the pixmap will appear to be irregular (or just the
> shape of the foreground)....

You will have to go about your ends some other way.  There are various
possibilities.  One is to create a bitmap that is 1 where you want to
change things when copying and 0 when not, then set this as the
clip-mask in your GC, and then do an XFillRectangle (if the drawings
are all one color) or an XCopyArea/XCopyPlane (if you want the opaque
area to include more than one color).  In the former case, you can also
set the bitmap as the stipple in the GC and set the fill-style to
FillStippled.

If the shape decomposes easily into relatively few rectangles, you can
also take advantage of that and draw each rectangle separately.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: larry@ducktales.med.ge.com (Larry Landwehr)
Newsgroups: fj.mail-lists.x-window
Subject: One program - two displays - two cursors
Date: 27 Jul 92 21:57:22 GMT
Distribution: fj
Organization: GE Medical Systems, Magnetic Resonance

Date: Mon, 27 Jul 92 14:11:41 GMT
Message-Id: <1992Jul27.141141.7732@mr.med.ge.com>
Newsgroups: comp.windows.x


How can one program be displayed on the screens of two networked
machines at the same time with two cursors active? Both cursors
independently operated; one by one user and one by the other?
From: morten@odin.uniras.dk (Morten Hastrup)
Newsgroups: fj.mail-lists.x-window
Subject: HP Server for X11R5, who has it??
Date: 22 Jul 92 01:13:55 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Tue, 21 Jul 92 18:44:20 METDST
Message-Id: <01GMNFK3M6V4A23HMQ@odin.uniras.dk>
Mailer: Elm [revision: 70.30]
X-Envelope-To: xpert@expo.lcs.mit.edu

Hi there,

Does anyone have an Xserver for X11R5? Or could anyone help me start
building one?? (What code do I need to begin with?)

ThanX in advance,
Morten

--
------------------------------------------------------------------------
Morten Hastrup
UNIRAS A/S			Telephone: +45 31 67 22 88
376, Gladsaxevej		Fax	 : +45 31 67 22 80
DK-2860 Soeborg			Email	 : Morten.Hastrup@Odin.Uniras.Dk
------------------------------------------------------------------------
From: wbt@cs.tulane.edu (Bill Thomason)
Newsgroups: fj.mail-lists.x-window
Subject: xdm and key mappings
Date: 25 Jul 92 11:42:25 GMT
Distribution: fj
Organization: Computer Science Dept., Tulane Univ., New Orleans, LA

Date: Fri, 24 Jul 1992 16:47:19 GMT
Message-Id: <1992Jul24.164719.3607@cs.tulane.edu>
Newsgroups: comp.windows.x


I'm trying to set xdm to run on our departmental workstations.  I've run into
a slight problem.  I just discovered that one of our users remaps the QWERTY
keyboard arrangment to DVORAK using xmodmap and the keysym command for each
key.

When he finishes with his login session, the keys still remain mapped to
DVORAK.  Needless to say, this could potentially wreak a lot of havoc on
most everyone using these workstations.

I suppose he could manually remap the keys before logging out but this could
become a real nusance.  Does anyone know of some way of automating the
re-mapping process so that another user could come along and be able to use
a QWERY keyboard arrangement?


thanks in advance,
-bill
-- 
Bill Thomason                           Email: wbt@cs.tulane.edu
Dept. of Computer Science                      thomason@cs.tulane.edu
Tulane University                              rex!wbt
New Orleans, LA 70118
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Changing Colormap RGB values...
Date: 26 Jul 92 18:55:36 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: 25 Jul 92 11:01:30 GMT
Message-Id: <1992Jul25.110130.8333@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

> Distribution: comp.windows.x

Please don't misuse newsgroup names as distributions.

In article <549@usafa.af.mil>, hewitt@usafa.af.mil (Joe Hewitt) writes:

> Problem:    How to dynamically change the RGB values in a colormap
>             entry so that all objects using that colormap index
>             automatically change to the new color (in XView or Xlib).

Briefly, XStoreColor() / XStoreColors().  The only point that's likely
to trip you up is that you have to allocate the colormap entries
read/write, with XAllocColorCells (or XAllocColorPlanes, but if you
understand X color well enough to use XAllocColorPlanes and get it
right, you almost certainly wouldn't be asking what you did).

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: ware@organ.cis.ohio-state.edu (Peter Ware)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Trapping BadWindow Errors?
Date: 28 Jul 92 05:10:15 GMT
Distribution: fj
Organization: Ohio State Computer Science

Date: 27 Jul 92 23:15:25 GMT
Message-Id: <WARE.92Jul27181525@organ.cis.ohio-state.edu>
Newsgroups: comp.windows.x

Here is how I deal with setting the input focus.  This temporarily installs a 
handler that ignores any BaMatch errors generated by SetInputFocuse requests.
A global flag is used to inform the caller if there was a problem.
This could be generalized but I've not seen any reason to.

--pete
----------------------------------------------------------------------

static int      (*oldHandler) ();	/* the previous error handler */
static Boolean  xoInputFailed;		/* set if SetInputFocus error */

/*
 * An error handler that is briefly installed as we are changing the
 * keyboard input focus.  It ignores BadMatch errors from SetInputFocus
 * protocol requests.
 */

static int
xoIgnoreFocusError (display, err)
	Display        *display;
	XErrorEvent    *err;
{
	DBUG_ENTER ("xoIgnoreFocusError");
	if (!err)
		DBUG_RETURN (0);
	if (err->error_code == BadMatch &&
	    err->request_code == X_SetInputFocus)
	{
		DBUG_PRINT ("focus", ("SetInputFocus error"));
		xoInputFailed = True;
	}
	else
	{
		(*oldHandler) (display, err);
	}
	DBUG_RETURN (0);
}

/*
 * Determine if we'll accept the keyboard focus.  We accept it only if
 * the window is visible.
 */

Boolean
XoFocusAccept (gw, t)
	Widget          gw;
	Time           *t;
{
	DBUG_ENTER ("xoAcceptFocus");
	if (!gw || !t)
		DBUG_RETURN (False);
	if (!XtIsRealized (gw))
	{
		DBUG_PRINT ("focus", ("Widget %s not realized", XoName (gw)));
		DBUG_RETURN (False);
	}
	/*
	 * We want to install a new error handler that ignores any
	 * SetInputFocus errors.  So we first make sure we've sent and
	 * received all messages -- just in case there is a lingering error.
	 * We install the handler, call the focus change, then Sync again to
	 * make sure this request has gone out and the reply come back.  We
	 * the restore the error handler.
	 */
	XSync (XtDisplay (gw), False);
	oldHandler = XSetErrorHandler (xoIgnoreFocusError);
	xoInputFailed = False;
	XSetInputFocus (XtDisplay (gw), XtWindow (gw),
			RevertToPointerRoot, *t);
	XSync (XtDisplay (gw), False);
	(void) XSetErrorHandler (oldHandler);

	if (xoInputFailed)
	{
		DBUG_PRINT ("focus", ("Error setting focus to %s", XoName (gw)));
		/*
		 * (void) XoFocusAccept (XoFocusWidgetGet (XoShellGet (gw)),
		 * t);
		 */
		DBUG_RETURN (False);
	}
	else
	{
		XoFocusWidgetSet (XoShellGet (gw), gw);
		DBUG_RETURN (True);
	}
}
--
Pete Ware / Ohio State University /
           ware@cis.ohio-state.edu
           (614) 538-0965
Too bad the Nike slogan isn't "Just Do It Right" instead of "Just Do It"
From: gemmerle@loria.fr (Gemmerle Didier)
Newsgroups: fj.mail-lists.x-window
Subject: box width
Date: 27 Jul 92 13:33:27 GMT
Distribution: fj
Organization: CRIN (CNRS) Nancy - INRIA Lorraine

Date: 27 Jul 92 09:32:41 GMT
Message-Id: <375@muller.loria.fr>
Newsgroups: comp.windows.x


-- 

Hi,

I want to make a box containing an arbitary number of buttons. I want
to set the width of the box so that the buttons fit in rows. I have a
problem with XtOrientHorizontal in Athena Widget Set. Does anyone 
could give me an small example using this resource or another solution
for solving my problem.

Thanks for answers.


doudou

*********************************************************************
*      _        Didier GEMMERLE                 CRIN / CNRS - INRIA *
* _^__/ \___    email: gemmerle@loria.fr           tel: 83.91.20.00 *
* \_     * /                                            number 3025 *
*   \ Nancy     POST  :                 CRIN-INRIA                  *
*   /     !            Centre de Recherche en Informatique de Nancy *
*  /__   __\                              BP 239                    *
*     \_/                54506 Vandoeuvre les Nancy Cedex,  FRANCE  *
*********************************************************************
From: mam70@ccc.amdahl.com (Michael Musta)
Newsgroups: fj.mail-lists.x-window
Subject: Help with SPACEBAR
Date: 30 Jul 92 08:10:19 GMT
Distribution: fj
Organization: Amdahl Corporation, Sunnyvale CA

Date: 29 Jul 92 19:37:23 GMT
Message-Id: <e9PY02lS1bew01@JUTS.ccc.amdahl.com>
Newsgroups: comp.windows.x

I have written an application that uses the OpenLook toolkit and it has
one annoying problem I would like to eliminate.  When the mouse pointer
is over any of my oblong buttons and the keyboard's spacebar is pressed,
the button gets selected and generates a callback--even if my application's
window is inactive. How do I disable/ignore the spacebar key binding? 
I am currently using a callback routine for an XtNselect on my oblong buttons.

                                                ---Thanks in advance