HDTenEightyP/NetNews huggingface dataset:
From: ess@hal.COM (Eric Swildens)
Newsgroups: comp.windows.x
Subject: Re: Help!  Cannot move or resize windows by sending events.
Date: 31 Jul 92 14:49:32 GMT
Organization: HaL Computer Systems, Inc.
NNTP-Posting-Host: alf.hal.com

In article <1992Jul30.202924.17766@nynexst.com> rsilvers@powwow.nynexst.com
(Rob Silvers) writes:
>	I am writing a mouse driver that uses XWarpPointer to move the pointer
>and XSendEvent to send ButtonPress and ButtonRelease Events (to the
>lowest child window under the pointer).  It works for pushing MOTIF
>buttons, opening and closing windows, and even for drawing with the
>mouse in a drawing program.  When I try to move or resize a window
>with either olwm or twm it does not work.  For move in twm, it can
>usually move the window up and down, ans SOMETIMES left and right.
>In olwm it cannot move them at all.  For resize, when I send a
>ButtonPress to the resize widget, it just freezes.  Am I supposed
>to be sending other events?  If so, to what window?

Most Window managers perform a GrabServer on the X server when
resizing and moving the window around to draw the xor'ed outline without
having to worry about something changing between the first xor draw and
the second (this would leave a mess on your screen).  A GrabServer will
shut down connections to all clients except the one which did the
GrabServer until that client releases it.

What is probably happening is:

	1] You are sending events which go to resize a window
	2] The window manager starts drawing the outline of the
	   window and sends a GrabServer to the server
	3] Your client which is sending events to resize the window
	   cant talk to the server anymore, so the resize cannot complete 
	4] The whole thing hangs

This was a problem with the XTestExtension1 extension also.  The
xrecplay.tar.Z distribution has a server patch in it which includes
code which disallows GrabServers while you are in a X test playback session.

Any product which allows record/playback of events and deals with clients
that may do a GrabServer/Pointer/etc. will face similar problems.

ESS
From: simonb@prl.philips.co.uk (Simon Blanchard)
Newsgroups: comp.windows.x
Subject: Servers for Mac and PC
Summary: What's the best server
Keywords: Server Mac PC
Date: 21 Jul 92 13:01:12 GMT
X-Newsreader: Tin 1.1 PL3

I would be really interested to hear what people think the best servers
for Macs running MacOs and MSDOS-PCs are.

Mail me - I'll summerize.

Thanks

Simon Blanchard    simonb@prl.philips.co.uk
From: sdo@piccolo.East.Sun.COM (Scott Oaks - Sun Consulting NYC)
Newsgroups: comp.windows.x
Subject: Re: "Virtual Screens"
Date: 21 Jul 1992 16:57:31 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: sdo@piccolo.East.Sun.COM
NNTP-Posting-Host: piccolo.east.sun.com

There are several around, including olvwm, which is a replacement for Sun's
olwm.  It was in comp.sources.x as volume 15, issues 147-167; there have
since been two patches one of which has appeared in comp.sources.x and one
of which hasn't made it yet.  All source and patches are also available via
ftp at export.lcs.mit.edu

-sdo

---
----------
Scott Oaks
Sun Microsystems	(scott.oaks@sun.com)

Newsgroups: comp.windows.x
From: franklin@ug.cs.dal.ca (Steve "edified" Franklin)
Subject: I NEED HELP PLEASE
Followup-To: comp.windows.x
Summary: boredom
Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
Date: Tue, 28 Jul 1992 14:28:43 GMT

I hope to God this isn't the wrong forum, but I was hoping someone could
give me some advice... I am stricken with the plight of full time summer
school ( 5 courses!) and they leave me with lots of time at the
university. To fill in this time, I have recently been fiddling with
the x-windows systems. However, there are two problems:

1) there isn't much to play with
2) I try compiling my own stuff with imake and make, but the damn software
   insists that it needs some widget class library?

I got alot of software from gatekeeper.net.com /pub/X11/contrib,
but it seems that most of the stuff requires some widgetclass stuff.
Not being much of an x-windows master, I am only adept enough to be
able to modify the imakefile. Beyond that, I am hopeless...

My question is: Are there any good programs or games available out
there that might keep me busy? I have seen xtrek, and it is quite good.
Unfortunately, it's not quite so fun to play on your own and I've already
gotten pretty bored with it. Any other ideas or suggestions? I'd appreciate
all and any you might have.

thanks in advance muchly,

steve
-- 
aasdSteveFranklin-Subliminal Psychology Major.ks;dlasBlueJaysRULEkasdfeahsdbfl
sd;lfaswoq[eBuyMeAQuadra!!!mbnZMXCNdfsba;KdSPAMiuroqiyetIBMSuxiweuryth'ewr;mxn
qpuepriuPartyOneqtuj;,n.,xnc,kjasFlameMeNot!;lkj;lkgkjd;askElvisLivesjhfquweru
zx.cfranklin@ug.cs.dal.ca,sk;t;lrut[Superboy@ac.dal.cav.zx,Physics!eq3rwkh;oHA
Newsgroups: comp.windows.x
From: klee@wsl.dec.com (Ken Lee)
Subject: Re: Animation
Reply-To: klee@wsl.dec.com
Organization: DEC Western Software Laboratory
Distribution: USA
Date: Tue, 21 Jul 92 17:07:17 GMT

|> 	Somebody posted earlier, and I too would like to know:  What is the
|> fastest way to produce non-flickering animation.

Three popular methods are:

1.  the multi-buffer extension, if your server(s) support it
2.  draw to the window, manipulating the colormap to show the right image
3.  draw to an off screen pixmap, then copy to the window

The first is easiest, if you can use it.  The second is very efficient and
there was an article on this in the *X Journal* a couple of months ago.  The
third is the slowest, but is easy for beginners to understand.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
From: thoth@wave.cis.ufl.edu (Robert Forsman)
Newsgroups: comp.windows.x
Subject: Re: Non-rectangular bitmaps/setting pixmap background...
Date: 25 Jul 92 13:15:34 GMT
	<1992Jul24.181510.29269@thunder.mcrcim.mcgill.edu>
Organization: Church of Homogeneous Foods (Rev. Forsman founder)
In-reply-to: mouse@thunder.mcrcim.mcgill.edu's message of 24 Jul 92 18:15:10 GMT
X-fnord: <1133BCAug1.1.900@conspiracy.theorists.eris.guv>


> > The result?  Setting a full screen clip mask on a 386 takes several
> > seconds.  Clipping a wide polyline to the mask can take several
> > *minutes*.  If it had been implemented as a mask, the results would
> > be about 50% slower than regular operations.  As it is, X clipmasks
> > are essentially useless.
...
> It could also just be that your 386 is a pig.  I've done circular
> clocks on the Sun-3/50 on my desk that are approximately a thousand
> pixels in diameter and it takes a second maybe, but not "several"
> seconds.

  If I remember correctly 386s can compete with 3/80s AT LEAST.  The X
server he has is just a piece of shit.  You bet if Windows or
Presentation Manager (or whatever it's called) were to do a similar
operation, even using the same algorithm, they'd either have run some
serious optimizing compiler or written assembly and it would haul.

  Source code fnord UNIX is often portable (in our reality tunnel) but
it also ends up being a little (or a lot) slow when competing with PC
apps on their home turf (witness some of the ports of gcc).
--
Eat now this hot-dog with ketchup, flesh of his flesh, blood of his blood.
I deal with Reality as you _don't_ understand it. 
blah = realloc(blah, sizeof(*blah)*(blahsize*=2)); /* (TM) */
Newsgroups: comp.windows.x
From: delaney@HQ.Ileaf.COM (Dennis Delaney)
Subject: WANTED: xcribbage game
Reply-To: delaney@HQ.Ileaf.COM (Dennis Delaney)
Organization: Interleaf, Inc.
Date: Wed, 29 Jul 92 13:35:34 GMT

Anyone know of a good xcribbage game?  Please let me know thru email.
-dennis delaney

-- 
-----------------------------------------------------------------------
|Dennis S. Delaney		Internet:	delaney@hq.ileaf.com  |
|Interleaf, Inc.		UUCP:		uunet!leafusa!delaney |
-----------------------------------------------------------------------
Newsgroups: comp.windows.x
From: haluska@popeye.jpl.nasa.gov (James Haluska)
Subject: Problems with Athena Tree Widget
Organization: Command Control Automations Project, JPL
Date: Thu, 23 Jul 1992 22:15:13 GMT

I am trying to use the Athena tree widget on a Sparc IPX running 4.1.2 SunOS,
X11R5 fix 11. The problem I am having is that if I do not set the XtNtreeParent
resource when the child of the tree is created It can not be set using XtSetValue. For example If I have,

     
 tree_widget = XtCreateWidget("tree", treeWidgetClass,
                                parent_widget, NULL, 0);

  ....
 n = 0;
  XtSetArg(wargs[n], XtNtreeParent, parent); ++n;
  widget = XmCreateRowColumn(tree_widget, leaf_name, wargs, n);
  XtManageChild(widget);
  then create children inside row column; 


  This works correctly, but if you have:


  tree_widget = XtCreateWidget("tree", treeWidgetClass,                                parent_widget, NULL, 0);

  ....

  n = 0;
  widget = XmCreateRowColumn(tree_widget, leaf_name, wargs, n);
  XtManageChild(widget);
  XtSetArg(wargs[n], XtNtreeParent, parent); ++n;
  XtSetValues(widget, wargs, n);
  then create children inside row column;

  
  This doesn't work. Has anybody else experienced this problem. Any workarounds,
  any help would be appreciated.

===============================================================================

J. Haluska         haluska@popeye.jpl.nasa.gov
Newsgroups: comp.windows.x
From: pcc@s1.gov (Philip C. Cox)
Subject: R5 on Solaris 2.0
Originator: pcc@s1.gov
Reply-To: pcc@s1.gov
Organization: LLNL
Date: Thu, 23 Jul 1992 16:05:12 GMT


Has anybody done this? If so can you point me in the right direction on
how to get started?

Phil
-- 
***********************************************************************
* Philip C. Cox          |  L.L.N.L.                                  *
* E-Mail: pcc@s1.gov     |  P.O. Box 808 L-542                        *
* VOICE: (415) 423-8316  |  Livermore, CA 94550                       *
*=====================================================================*
*                     Quote of the week :                             *
*                                                                     *
* "Many a man aims at nothing, and hits it with remarkable percision" *
*                                             - unknown               *
***********************************************************************
From: hwrvo@kato.lahabra.chevron.com (W.R. Volz)
Newsgroups: comp.windows.x
Subject: Re: Memory leaks
Date: 29 Jul 92 23:42:07 GMT
Organization: Chevron Oil Field Research Company

In article <9207291738.AA05158@mtesol>, sinan@mtesol.boeing.COM (Sinan Karasu) writes:
|> 
|>  When is a memory leak a memory leak. If I do many malloc's with
|> no dalloc's , does the memory remain leaked when the program exits?
|> Is the answer different in different OSs such as Sun,SCO etc... ?
|> Sinan

A memory leak, according to my definition occurs when the variable that
hold a pointer goes out of scope before the pointer has been freed.
For example

void leaky(void)
{
int *p;
p = (int *) malloc(1000*sizeof(int));
}

has a leak because p hasn't been freed prior to the functions return. Once
returned, there is no way to free the memory since you don't know where the
address is anymore.

There are many other specific ways of createing leaks, believe me.

-- 

======================
Bill Volz
Chevron Oil Field Research Co.
Exploration Research/Geophysics Division.
P.O. Box 446, La Habra, CA 90633-0446
Phone: (310) 694-9340
Newsgroups: comp.windows.x
From: draz@tochna.technion.ac.il (David Raz)
Subject: Problems with xfontsel running from DECstation on a sun.
Organization: Technion, Israel Inst. of Technology
Date: Tue, 21 Jul 1992 18:15:13 GMT
Keywords: xfontsel

Did anyone have this problem: 

I have a SUN sparc running X11R5. The SUN OS is 4.1.1. I open a xterm with a
login to a DECstation running ULTRIX 4.2. Then I start xfontsel on the DEC (the
xfontsel is from the X11R5 distribution).
 
After choosing some of the fonts characteristics the program stops and brings
the X server and the login account down with her.I get a "connection to X 
server lost" messgae. This happens on both SUNs we have.

Any suggestions ?
-- 
David Raz 				internet:  draz@ee.technion.ac.il
Assistant and system programmer 	bitnet  :  draz@techunix 
Software lab,EE faculty,Technion     phone:  work: 04-294643  home: 08-492628  
Haifa,32000   Israel	   home mail: 7 Shkolnik St. , Rehovot 76209 ,Israel
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.windows.x
Subject: Re: compile error
Date: 21 Jul 92 07:04:20 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <1992Jul20.121551.22457@kth.se> tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
<I'm trying to compile a program I've written. I've stolen and
<modified a Makefile but I'm not able to understand this error:
<
<   ld: Undefined symbol 
<      _error 
<      _pow
<      _floor

I don't know about these two.



This one requires -lm as the last in the library list.
<      _get_wmShellWidgetClass
<      _get_applicationShellWidgetClass
<      __XtInherit

These two are a kicker for many OW3.0 applications.  I just got through trying
to hunt this one down.  These two are in the $OW30/lib/libXmu.a library, but
they are not in libXmu.so.4.0, so the link fails.  Did Sun screw up the library?
Are all of our compiles doomed?

<      _XtToolkitInitialize
<   *** Error code 2

I don't know about these two.

<I include the following files:
<used devguide)
<
<   -lguidexv -lguide -lxview -lolgx -lXmu -lXt -lXext -lX11

You need -lm at the end of the list.
-- 
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: ware@organ.cis.ohio-state.edu
Newsgroups: comp.windows.x
Date: 18 Jul 92 05:22 MDT
Subject: Re: Changing cursors
Nf-ID: #N:WARE.92Jul17202232@organ.cis.ohi:-334402416:001:411
Nf-From: organ.cis.ohio-state.edu!ware    Jul 18 05:22:00 1992


Pretty much that's what you have to do.  Of course, if what you
_really_ want to do is to display a "waiting" cursor then the easiest
thing is to create a large input only window, define it's cursor and
place it above the window.

--pete
--
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"

Newsgroups: comp.windows.x
From: NIEBRES_CAROLINE_P@lilly.COM
Subject: Information on portable GUI toolkits
Organization: The Internet
Date: Tue, 21 Jul 1992 13:00:24 GMT

Hello everyone!

I am trying to get this to dany@pencom.com.  For some reason, I cannot mail
to him directly.  Some others I am sure could help me too.

I did not find the July issue of Byte or the Feb 14 issue of Open Systems Today.
But I did receive information from Visix and Neuron Data.

So what are the good and the bad of Galaxy and Open Interface.  They both
look really good and would do the job.

I have not gotten information on XVT and Aspect yet.

Thank you for your help.

Caroline Niebres
Cardiac Pacemakers, Inc.
Test Engineering
NIEBRES_CAROLINE_P@LLILY.COM

From: NIEBRES CAROLINE P            (CPIVAX::NIEBRES)

To:   VMS MAIL ADDRESSEE            (IN::"xpert@expo.lcs.mit.edu")
Newsgroups: comp.windows.x
From: maassen@kreon.informatik.rwth-aachen.de (Andreas Maassen)
Subject: WANTED: dirt for X11R5
Organization: Rechnerbetrieb Informatik  /  RWTH Aachen
Date: 24 Jul 92 10:28:58 GMT

dirt (the interface builder) does not run under X11R5 at our
site, but works under X11R4. Can anybody give some hints
whether there is a solution to this problem? Did anybody
ever manage to run dirt under R5?

Any help is appreciated.

Andreas
(maassen@parsytec.de)

Newsgroups: comp.windows.x
From: imp@solbourne.com (Warner Losh)
Subject: Re: X: User simplicity vs code complexity
Organization: Solbourne, User Interface Group
Date: Fri, 24 Jul 1992 05:35:34 GMT

In article <TPAQUETTE.92Jul23134924@gumby.ita.lgc.com>
tpaquette@ita.lgc.com (Trevor Paquette) writes:
>Is there ANYONE out there who knows EVERYTHING in these manuals?

I'd say der Mouse, but he doesn't know Xt (nor does he seem to want to
from the tone of many of his postings). :-)

Warner

P.S. Toolkits and interface builders were invented to make your life
easier.
-- 
Warner Losh		imp@Solbourne.COM
Interview Horror Story #882: "It's pretty informal around here.
Thursdays are clothing optional.."
From: achan@idaho.tdd.sj.nec.com (Amy Chan  x2941)
Newsgroups: comp.windows.x
Subject: Re: How can I get the window id of the window that the pointer is in?
Date: 30 Jul 92 17:12:13 GMT
Organization: NEC-AM TDD, San Jose, California

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: sinclair@dcs.glasgow.ac.uk
Newsgroups: comp.windows.x
Date: 18 Jul 92 00:55 MDT
Subject: What is your ``Essential Selection'
Nf-ID: #N:1992Jul17.205504.3007@dcs.glasgo:1266368852:001:2295
Nf-From: dcs.glasgow.ac.uk!sinclair    Jul 18 00:55:00 1992


OK, so you're in charge of what goes in your /usr/bin/X11 directory.
Beyond the standard "core" distribution, what are your essential
X programs, without which a X site just isn't hip?

Here's a list that I've just thrown together...  

(Most of these programs are available by anonymous ftp from export.lcs.mit.edu.)

Major importance:
    xlogout     (A simple Quit button, used at the bottom of my .xinitrc.)
    xarchie	(Couldn't live without it.  Use it to find these programs.)
    xdvi	(First major reason for using a colour machine.)
    idraw	(Worth the effort of finding a C++ compiler.)
    ghostscript (Means I don't have to use openwin.)
    ghostview	(Makes ghostscript twice as useful.)
    ups		(Don't debug without it!)
    ten		(Editor with similar heritage to ups.)

Other Big Ones:
    ppmplus	(Not really an X program, but essential for xwd files.)
    xfig	(I prefer idraw personally.)
    tvtwm	(Waiting for the new version...)
    olvwm	(Seems some people like Open Look!)

Cool programs:
    xlock	(With locking turned off, as some say it's anti-social.)
    xv		(Simply awesome.)
    xloadimage	(Simpler than xv, also can open diff. formats, e.g. urt.)
    dclock	(Xt version has tons off neat features.)
    dclock	(Interviews version looks nicer.)
    xmeter	(Keeps me up to date with what going down.)
    xinfo	(Maybe (l)emacs 19 will obsolete this.)

Neat hacks:
    xfishtank	(Running with fish borrowed from After Dark.)
    xantfarm	(Not good for your eyes though.)
    xneko	(Cute.)
    xphoon	(Jef Poskanzer seems to appear a few times in this list.)
    Xaw3d	(Gives a new lease of life to the Athena Widgets.)

The small essentials:
    pixmap	(For colour icons.)
    xmessage	(A million and one uses.)
    xselection	(Just as many.)
    xse		(The possibilities are endless.)
    xdu		(Save some disk space, the interactive way.)

Local hacks:
    runx	(Local version of "startx" script.)
    rx		(Local version of "xon" program - based on old gwm script.)


-- 
Duncan Sinclair                     |  Try one    sinclair@dcs.glasgow.ac.uk
Computing Science Research Student  |  of these:  sinclair@uk.ac.glasgow.dcs
University of Glasgow               |..!mcsun!ukc!uk.ac.glasgow.dcs!sinclair
           ---  Rave Culture: Don't techno for an answer.  ---
From: ws@aega84.UUCP (W. Schardt)
Newsgroups: comp.windows.x
Subject: Problems with XGetImage !?
Date: 22 Jul 92 13:10:23 GMT
Reply-To: ws@aega84.UUCP (W. Schardt)
Organization: AEG - A84, Frankfurt / West Germany


I have written a program which dumps a X11 window image to a NEC P7
24 dot printer.
The program works very well but sometimes the graphic was uncorrectly 
printed. I dont know on which part of the program this could be.
The only possible mistake, i think, could be in the Xlib routine XGetImage
or the X11 Server. I use the Interactive X11 R4.


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If anybody know an error in one of this parts please post me 
this immediatly.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks to all

  Wolfgang Schardt
Newsgroups: comp.windows.x
From: wpm@is.morgan.com (W. Phillip Moore)
Subject: Time Management tool for X11
Organization: Informations Services Dept., Morgan Stanley Japan
Date: Mon, 27 Jul 1992 21:35:22 GMT


Several months ago, someone posted an interesting X11 utility which I
ignored at the time, and now would find incredibly useful.  Basically, this
tool allowed you to create a list of current tasks, and by clicking on the
task which is active, you could effectively determine how many hours a day
were spent on each task.  Rather like a multi-player chess clock (does such
a beast exist??)

I recently switched employers, and my new job requires me to write daily
time sheets, a task which is proving to be very cumbersome and inaccurate.
Such a tool as described above would be great.

Problem is, I do not remember the name, and can't find anything obvious on
export.lcs.mit.edu.

Can someone (maybe the author) point me at an archive site for this
utility??

Thanks.

W. Phillip Moore	   				Phone: 81-3-3286-9359
Information Services Department                           FAX: 81-3-3286-9040
Morgan Stanley Japan Ltd.  Tokyo Branch             E-mail: wpm@is.morgan.com
	Ote Center Bldg. 3F, 1-1-3 Otemachi, Chiyoda-ku, Tokyo 100
From: gemmerle@loria.fr (Gemmerle Didier)
Newsgroups: comp.windows.x
Subject: box width
Date: 27 Jul 92 09:32:41 GMT
Organization: CRIN (CNRS) Nancy - INRIA Lorraine


-- 

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  *
*********************************************************************
Newsgroups: comp.windows.x