HDTenEightyP/NetNews huggingface dataset:
From: veiss@cbmvax.commodore.com (Jeff Veiss - Staff)
Newsgroups: comp.windows.x
Subject: X11R5 problems on a Sun IPX
Date: 9 Nov 92 14:34:30 GMT
Organization: Commodore


I seem to be having a problem running X11R5 on a Sun IPX.  To put it
simply, it's not refreshing the inside of the windows.  Also, one time
I logged in, My entire screen was shifted up and to the left by about
an inch and a half.  I haven't been able to duplicate this though, but
the window refreshing is a problem.  Openwindows 2.0 and 3.0 works fine.

Anyone have a similar problem?  Please respond via E-mail and I'll post
the results.

Jeff
-- 
-------------------
Jeffrey S. Veiss

Commodore Business Machines
veiss@commodore.com
From: 4carroll_j@spcvxb.spc.edu
Newsgroups: comp.windows.x
Subject: Invalid Code Assumptions in Xt Code
Date: 6 Nov 92 21:49:50 GMT
Organization: St. Peter's College, US


 Hi,
 
	I  don't  know who to inform about bugs in the X11R5 distribution, but I 
 have found two today. Both bugs are due to the same oversight on  the  part 
 of  the  programmer,  and  both  problems  relate to the X-Toolkit library. 
 Someone it seems has made  the  mistaken  assumption  that  sizeof(int)  == 
 sizeof(long).  

	The first example of where this is a problem in the  module  Resources.c 
 in the Xt library. The function _XtDependencies() casts a XtResourceList to 
 a  XrmResourceList.  If you examine the respective definitions of these two 
 objects you will see that the 5th field of the XtResourceList is a Cardinal 
 object  (typedef'ed  as  an  unsigned  int),  and  the  5th  field  of  the 
 XrmResourceList is  a  long  int  object.   This  makes  structure  pointer 
 arithmatic performed later invalid.

	To  correct  this  situation,  you  must alter one of the definitions to 
 match the other. I have opted to change the long  int  declaration  in  the 
 XrmResourceList object to a Cardinal. Hopefully this will work.
 
	The second  mistake  is  more  complicated,  but  stems  from  the  same 
 erroneous  assumption.  It is also in the Xt library, but is in the Error.c 
 module. There are two methods meant  to  provide  default  error  handling, 
 _XtDefaultErrorMsg() and _XtDefaultWarningMsg(). Both of these methods 
 invoke the sprintf method (the invokation is the problem).
 
	The first thing that each function  does  is  set  up  a  locale  String 
 parm[10] object, and initialize it with the variable arguments passed.  The 
 sprintf  function  is then called, with each of the 10 String objects being 
 passed as parameters. The problem ocurrs if the format string passed to the 
 method specifies %d. The sprintf method (on a 16-bit machine), will  assume 
 that  16  bits  are  on the stack, and bump the va_list pointer to the next 
 stack object.  Since String objects are actually typedef'ed  char  pointers 
 (which  work  out  to 32-bits in compact, large and huge memory models) the 
 sprintf method will not have bumped passed the  arg.  The  next  arg  fetch 
 using va_arg(), will retrieve bad data.
 
	The only way to  solve  this  problem  is  to  write  a  custom  sprintf 
 function, and replace all calls to the library sprintf to this sprintf. The 
 custom method may then retrieve each parameter as a 32-bit object, but only 
 use what portion of it it needs.

 Please Forward all comments to Me
 
 Jim Carroll
   
Newsgroups: comp.windows.x
From: rjw@pegasus.rice.edu (Ryan J. Wyatt)
Subject: NEED ADVICE: X-terminals by HDS
Reply-To: rjw@pegasus.rice.edu (Ryan J. Wyatt)
Organization: Dept. of Space Physics & Astronomy, Rice U., Houston
Date: Tue, 10 Nov 1992 21:55:17 GMT


We're thinking of investing in an X-terminal to attach to our SPARCstation,
and we've been looking at products from Human Designed Systems (HDS):  either 
the FX17c, with a 17-inch color monitor (1280x1024 pixels), or the FX17, with 
17-inch greyscale monitor (1024x864).  A recent post to info.sun-managers 
discussed X-terminal options, but no mention was made of HDS equipment.

Has anyone used Xterminals (or any other equipment, for that matter) from
this company?  Has anyone *heard* of them?  We'd like to know what kind of
company we'd be dealing with as well as any salient details about how well 
their Xterminals work with Suns, etc.

Please note that we're not planning on setting up a network or anything;
we just want to use our Sparc's CPU a little more efficiently (i.e., a little
more frequently).

Thanks for your help.  I'll gladly post summaries of anything sent to me via 
e-mail.


Ryan Wyatt (rjw@regulus.rice.edu)
Department of Space Physics and Astronomy
Rice University
Houston, TX 77251-1892
(713) 527-8750 x3640
From: rjking@acsu.buffalo.edu (Randall J. King)
Newsgroups: comp.windows.x
Subject: x_soundtool and other applications
Date: 12 Nov 92 17:35:26 GMT
Organization: UB

Does anyone have any souces for any kinds of Sound tools for X?  I have 
soundtool for open windows and a hacked up version that is supposed to work
in X, but it doesn't.  Does anyone have any types of sound applications that
would run in X, on a Sun/Sparc station?  I have the system play and record,
but I can get the same results 'cat'-ing stuff to /dev/audio.

Any info would help.
Randall

BTW- I tried using 'prog sound' in archie, what a mistake!

signing off from the satelite of love.....           ___   _____  ___
	                                    |\  /|  |   \    |   /   \   |  / 
rjking@acsu.buffalo.edu                     | \/ |   \       |       /   | /
v050qrq3@cc.buffalo.edu	                    |    |    \      |    --<    |<
                                            |    |     \     |       \   | \
push the button Frank...                    |    |  \___|    |   \___/   |  \ 
Newsgroups: comp.windows.x
From: ip217@brems.ii.uib.no (Torgeir Veimo)
Subject: Re: Compiling aXe. anything wrong?
Keywords: aXe
Organization: University of Bergen, Norway
Date: Wed, 11 Nov 92 10:43:23 GMT

After trying several things to get aXe version 3.1 to compile on our sun 3/50s with
sunos 4.1.1 and X11R4, i added

#include <X11/Object.h>
#include <X11/ObjectP.h>

in the AxeEditor.c file. Now Axe compield just fine. I don't know why i had to include
these, but maybe it have got to do with the headerfiles wehave in our /usr/include/X11
at this university. I don't know wether these are the R4 version, since I'm only
studying here...

No I just have to get the installation right.... :)

-- 
Torgeir Veimo

-----------------------------------------------------
Studying at the University of Bergen

"...I'm gona wave my freak flag high!" (Jimi Hendrix)

"word wrap? you must be kidding..."
-----------------------------------------------------

Newsgroups: comp.windows.x,comp.windows.x.motif,comp.sys.sun.apps
From: agnel@iti.gov.sg (Agnel Rajendran (AIM))
Subject: Popup dialogs 
Keywords: Dialog
Organization: Information Technology Institute, National Computer Board, Singapore.
Date: Fri, 6 Nov 1992 01:48:38 GMT


I am facing this problem in Motif 1.1.2 on SunOS 4.1.1.

Within a dialog callback function when I want to popup a warning dialog
the dialog does not get blocked for user input. But the code after
the dialog get executed. The dialog pops up after the main dialog is
unmanaged. For example,


OpenDialogCB(widget, client_data, call_data)
...
{

	if (filename)      /* close previous file */
		CloseCB(widget, client_data, call_data); 
	.....
}

CloseCB(widget, client_data, call_data) /* parameters not used */
{
	if (saved != True) /* check whether file is saved */
	{
		/* call warning dialog with error message ; 
		   get input from user to save or not
		*/
		.....
		CallWarningDialog(mesgstring);
	}
	CloseTextWidget();
}

The CloseTextWidget() gets executed before the warning dialog appears.

Could any of you give me a simple solution to this? I presently know a work around.

Regards,
Agnel
(agnel@iti.gov.sg)
Newsgroups: comp.windows.x,comp.windows.x.motif
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Subject: Re: Draw text centering a point??
Originator: usenet@kittyhawk.ecn.uoknor.edu
Date: Thu, 12 Nov 1992 17:06:40 GMT
Reply-To: dwight@geohub.gcn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma

In article <1992Nov11.201056.9074@magnus.acs.ohio-state.edu>, yhtao@magnus.acs.ohio-state.edu
(Yu-Hui Tao) writes:
|
|>Hi, netters:
|>
|>  Is there anyway to draw a text in Motif's Drawing area centering one
|>specific point?
|>
|>  Any response is apprecitaed!
|>
|>Yu-Hui Tao
|>ISE, OSU
|>tao@CSEL.eng.ohio-state.edu
|>===========================
|>

Use the Xlib XQueryTextExtents(), XTextExtents(), or
XTextWidth() to determine your string width and use
that to center your string a a point.  Once you
know the extent, the math is simple...:0)

----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma

dwight@geohub.gcn.uoknor.edu (129.15.40.10)
These opinions do not necessarily represent the opinions of OU or the GCN.
----------------------------------------------------------------------------
From: dwb@a2.cim.cdc.com (Dave Block x4621)
Newsgroups: comp.windows.x
Subject: ASCII Co.  & Japanese
Date: 12 Nov 92 21:01:24 GMT
Reply-To: dwb@a2.cim.cdc.com (Dave Block x4621)

Does anyone know how to contact ASCII Co.?   They supposedly have a version of Motif 1.1 for the SUN
that works with SUN's JLE (Japanese Language Environment).  We have a Motif application that we
would like to add Japanese  support to, and this seems like the easiest way to go.

Thanks.
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Allocating a static colormap with X11R5
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 6 Nov 92 11:56:20 GMT

In article <Bx44ps.5D8@melpar>, strauss@melpar (Audrey Strauss) writes:

> I'm attempting to use X11R5 with the MIT server, but am having
> difficulty allocating a static colormap for the root window, when I
> kick off the server.

The option you want is "-cc 2".

> The OpenWindows3.0 server (xnews) took a command line arg which
> doesn't seem to be an option with the MIT server (startx).

startx is not, as you seem to think, the server; startx is a script,
which runs xinit, which is what actually runs the server.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: jsheng@PICA.ARMY.MIL ("Joseph Y. Sheng", IMD-PB)
Newsgroups: comp.windows.x
Subject: Re:  Problems with simple example (Doug Young's book)
Date: 9 Nov 92 13:17:35 GMT
Organization: The Internet

Larry,

   Try compiling your program with -D_NO_PROTO.

...Joe
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x
Subject: Re: X-Editor
Date: 5 Nov 92 07:59:46 GMT
Organization: CS Department, Dortmund University, Germany
NNTP-Posting-Host: tommy

In article <1992Nov4.095610.1@jaguar.uofs.edu>, das11@jaguar.uofs.edu writes:
|>       (a)  ability to cut, copy, and paste between windows
|>       (b)  ability to go to a line via the line number
|>       (c)  row/column position
|>
|>    My question is, does anybody know of such an editor (public domain) and
|>    where I can ftp it from.

export.lcs.mit.edu:/contrib/aXe-3.1.tar.Z

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
From: garyg@Warren.MENTORG.COM (Gary Gendel)
Newsgroups: comp.windows.x
Subject: Re: DESQ/X Apps
Date: 13 Nov 1992 17:36:25 GMT
Organization: Mentor Graphics, IC Group
Distribution: world
Reply-To: garyg@Warren.MENTORG.COM
NNTP-Posting-Host: garyg.warren.mentorg.com

In article 28467@fcom.cc.utah.edu, jharvey@csulx.weber.edu (Just me) writes:
>Readers,
>
>I have DESQview/X on the way and am wondering where I can find
>X apps that can be resident on a DOS machine.  Do I usually
>need to compile them first?  For instance, if I want
>to play Xtrek or Xtank, where can I find them to run with DV/X?
>
>Thanks,
>
>Justin Harvey
>City & Borough of Juneau
>
>jharvey@csulx.weber.edu


Unfortuantely, you will have to compile these apps for Desqview/X.  By the way, the
standard D/X release does not come with any X API.  You can use the djgcc compiler
and get the API from the network (qvx101.zip, I think).  This seems to work well.

Here's a question for any D/X programmers:

I was getting drawn lines out of my window.  I traced this back to an XSetDashes
call with an non-zero dash_offset (third parameter) value.  Anyone else have this
problem?  Thanks in advance.

Gary

Newsgroups: comp.windows.x
From: gaitat@gaitat.kgn.ibm.com (Saki)
Subject: CIE color diagram
Date: Wed, 11 Nov 92 22:12:09 GMT
Reply-To: gaitat@gaitat.kgn.ibm.com (Saki)
Organization: IBM Kingston NY

Does anybody have any infomation on how can I create the CIE 
color diagram?  On an 8-bit display how can I choose 24 colors
to put in.  For some the CIE to RGB matrix doesnt give me rgb
values that I can understand.

Thanks in advance

   __    ()  ,
  /  )   /`-'|       _/_     _/_
 /--/   /   / __.  o /  __.  /  __.  _  _
/  ( o /__-<_(_/|_<_<__(_/|_<__/  |_</_/_)_
                                 (|
                                   gaitat@kgnvmy.vnet.ibm.com
These statements and/or opinions are not necessarily those of
                                                          IBM

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
From: manu@todi.ATC.Olivetti.Com (Manu Das)
Newsgroups: comp.windows.x
Subject: File selection box in Athena Widget set
Date: 13 Nov 92 22:09:39 GMT
Distribution: usa
Organization: Olivetti ATC; Cupertino CA, USA


Hi,

Has someone written a file seletion box widget for Athena widget set?
Will it be possible to share the source code?

I am not a regular reader of this group. I would greatly appreciate if you 
mail to me directly at manu@oas.olivetti.com

Thnx in advance.
From: efroyman@lynx.dac.northeastern.edu (Ella Froyman)
Newsgroups: comp.windows.x
Subject: Motif 1.1.4
Keywords: X,Motif
Date: 12 Nov 92 23:27:04 GMT
Organization: Northeastern University

Hi netters;
    Where do I getr source code for Motif 1.1.4 for dec 5000 running
ultrix 4.2A. Any numbers or suggestion will be appreciated
Ella
Newsgroups: comp.windows.x
From: leganza@teal.csn.org (Mark D. Leganza)
Subject: DXM resource names ???
Organization: Colorado SuperNet, Inc.
Distribution: usa
Date: Tue, 10 Nov 1992 02:26:26 GMT

Does anyone have a list of dxm (DEC window manager for DECWindows)
resources that can be set. I'm stuck with this window manager for a
few months & would like to customize it's behavior.

TIA, Mark.

Xref: sparky comp.windows.x:18805 comp.sys.sun.misc:5122
From: garyb@abekrd.co.uk (Gary Bartlett)
Newsgroups: comp.windows.x,comp.sys.sun.misc
Subject: Patches for Sun X server for type 5 keyboard?
Keywords: X11R5 Sun type5
Date: 6 Nov 92 12:08:36 GMT
Organization: Abekas Video Systems, Reading, UK.

Does anyone have any patches to the Sun X11R5 server code
to support the Sun-type5 keyboard?

Thanks,
Gary
-------------------------------------------------------------------------------
Gary Bartlett, Abekas Video Systems, 12 Portman Rd, Reading, Berks, RG3 1EA. UK
-------------------------------------------------------------------------------
NET:  Gary.Bartlett@abekrd.co.uk                          PHONE: +44 734 585421
UUCP: ...!uunet!mcsun!uknet!abekrd!Gary.Bartlett	  FAX:   +44 734 567904
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DES Public: 5a9a5d35a2f745ddd8cce89707d3fe671c136aec90b0da037c182630e911eb9e
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: sd344@city.ac.uk (Paul Sharpe)
Subject: WYSIWYG text editor for X
Summary: Looking for WYSIWYG text editor for
Keywords: text editor WYSIWYG
Organization: The City University
Distribution: comp
Date: 13 Nov 92 10:05:05 GMT

Does anyone know of a WYSIWIG X-based or Motif-based simple texteditor with
scalable fonts, simple drawing tools and postscript output?

(email)

-- 
Paul Sharpe, Unix System Programmer, City University

+44 (0)71 477 8000 x3758
Internet: P.A.Sharpe@city.ac.uk
Newsgroups: comp.windows.x
From: 71151.3557@CompuServe.COM ("James E. Kinder")
Subject: X11R5 Build Problem
Organization: The Internet
Date: Mon, 9 Nov 1992 18:50:35 GMT

When trying to build X11R5 (MIT Distribution), with PEX, on a SUN 3, I
get the following error when the build procedure attempts to compile
module utx_conv.c: "compiler(iropt) error: write_irfile: No space left
on device".  This is occurring in a disk partition that has over 750
megabytes free space.  The compiler is the C compiler provided with
SunOS 4.1.  utx_conv.c is a module of 144K plus bytes.  Any help would
be appreciated.  Thanks.

Jim Kinder

Newsgroups: comp.windows.x
From: sm86+@procyon.weh.andrew.cmu.edu (Stefan Monnier)
Subject: xauth !!
Organization: Carnegie Mellon University
Date: Thu, 12 Nov 1992 18:33:22 GMT
X-Posted-From: procyon.weh.andrew.cmu.edu
NNTP-Posting-Host: sol.ctr.columbia.edu


I can't seem to find how xauth works.
I read the man page and experimented with it, 
but still couldn't find how to use it: I can't give access to
another machine, I'm not sure someone else on my machine won't
be able to use 'my' X server, ...

Copuld anyone give me any indications. I fell it's really not so hard.
I must just be missing a 'start idea' !

Thanks

	Stefan

-- 

-----------------------------------------------------
-- On the average, people seem to be acting normal --
-----------------------------------------------------
From: larry@shark.mitra.com (Larry Williamson)
Newsgroups: comp.windows.x
Subject: WCL templates are causing us trouble (version 2.3)
Date: 12 Nov 92 21:55:08 GMT
Article-I.D.: shark.LARRY.92Nov12165508
Organization: Mitra Imaging Inc.


I have not had any luck getting templates to work properly with Wcl
versions greater than 2.1. They work okay in version 2.1.

I had not been able to install version 2.2 since our applications
needed templates and we could never workout just why they stopped
working. I tried to install 2.3, but no luck!

The Mri test using templates fails as well as our own applications.
Everything else works as advertised.

Error messages from Mri are always ...

	Wcl Warning: Mri.main.table.15.wcCreate resource missing - need class or constructor

Our environment is a SunOS 4.1.2, X11R5 (fix-12), Motif 1.1.3.


Any suggestions would be greatly appreciated.

-Larry
Newsgroups: comp.windows.x
From: chrisp@cephb.cephb.fr (Chris Person)
Subject: Re:  Enable UNIX X clients to display in DecWindows...
Organization: The Internet
Date: Fri, 6 Nov 1992 23:38:34 GMT

The dxession/Customize/Security Menu allows you to set up a lsit table of the
authorizattion you give to other machines.
put a star in all field and apply it. This will correspond to xhost + on a
Unix host. tcpip is the transport field.

Sincerely.

Chris
Newsgroups: comp.windows.x
From: tekantj@f109a.fdata.se (Anders Tj{der)
Subject: WANTED: FAQ for X-windows
Organization: F|rsvarsData (Defence Data Systems Agency)
Date: Fri, 6 Nov 1992 15:36:10 GMT
X-Newsreader: TIN [version 1.1 PL6]

Hello

I wonder if there is a FAQ for this group or for X-windows.
Could you please send it to me by email or post it in this newsgroup.
Please hurry. I'm in a great need for it.

Thank you.
-- 
____________________________________________________________________\_o_/
Anders Tj{der Internet: tekantj@fdata.se        Voice: +46-8-7888791  |
F|rsvarsData      Uucp: [seunet]!f109a!tekantj    Fax: +46-8-7889212 / \
_________________________ Fire, walk with me ____________________________
From: chow@cssn00.ssc.gov (Ivan Chow,SSC, (214) 708-6212)
Newsgroups: comp.windows.x
Subject: RE: pixmap info
Date: 12 Nov 92 16:22:29 GMT
Article-I.D.: sunova.1992Nov12.162229.24701
Reply-To: chow@cssn00.ssc.gov
Organization: SSC

Thanks Mejia,  (Mejia Pablo)
    I have appended the app-defaults PixmapMotifAD to my ~/.Xdefaults.
It runs fine.  I like it.  I tried to mail you messages but it was
rejected.  Again, thanks.

Ivan
Newsgroups: comp.windows.x
From: umcarls9@ccu.umanitoba.ca (Charles Carlson)
Subject: LINES problem with XFree86 & xterm?
Organization: University of Manitoba, Winnipeg, Canada
Date: Mon, 9 Nov 1992 03:44:37 GMT


I've just installed the latest Xfree86 for ISC 2.2 from
blancmange.ma.utexas.edu and I'm having a few problems with it.

When I start xterms (either from .xinitrc or manually) neither LINES
or COLUMNS environment variables get created.  I have tried running
resize, it displays the proper sizes, but variables still do not get
set.  There was no problem with this in the X11R3 that came with ISC, and
if I use the xterm program from the ISC distribution, the LINES and
COLUMNS variables get created and set properly.  However, that xterm
is unstable (understandably) under XFree86.

Any ideas?  Its kind of a pain to have to manually set these everytime
I create a term.


Also, my mouse, an Amazing 3 button mouse doesn't work properly.  The
manual states that it is a 2 button MS serial mouse by default and requires
a mode change via software to make it a 3 button mouse systems mouse.
If I set Xconfig to use  Micrsoft 2 button its OK, but if I set MouseSystems
it pointer goes to the bottom left corner and stays there.  
It would be nice to get the third button working, is it possible?  Or
should I just junk it and get a new one?

Thanks for any help...Charles

P.S. The README mentions X386man pages.  I've hunted for them but can't
find them, where are they?

-- 
/ Charles Carlson  umcarls9@ccu.Umanitoba.CA  
\ This .sig now available on a limited edition 2 record set, for 4 easy 
/ installments of $19.95 each. To order, please have your Visa or Mastercard
\ ready and phone: 1-800-555-1212, or send check or MO to 200-155 Carlton St.
Newsgroups: comp.windows.x
From: kaleb@thyme.Jpl.Nasa.GOV (Kaleb Keithley)
Subject: Xaw3d deja vu
Organization: The Internet
Date: Fri, 13 Nov 1992 14:47:08 GMT

It seems that I've had a few (but only a few :-)) spare moments on my 
hands lately...

I know it's only been a week since I announced 0.3, but... I did some 
"conceptual" cleanup to the code in 0.3; thus creating 0.4, *AND* brought 
the R4 version into "sync" with the R5 version, so I think it warrants
another announcement.

Now the R4 version has all the bug fixes, and all the added features of 
the R5 version.  

Both versions compile cleanly on Sun SPARC, SunOS 4.1.1, w/ SunOS bundled
compiler.  Both have been tested with all the M.I.T. client applications 
distributed on the respective release tapes.

All ongoing work is done on the R5 version.  Feel free to report bugs on,
or suggest improvements to, either version, however I probably won't release
another R4 version -- switch to R5!

There are now patch files between all R5 versions.

The files are on export.lcs.mit.edu (18.24.0.12), and they are:

    ~ftp/contrib/Xaw3d/R4/Xaw3d.R4.tar.Z, 

and:

    ~ftp/contrib/Xaw3d/R5/Xaw3d-0.4.tar.Z

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
Newsgroups: comp.windows.x
From: rgasch@nl.oracle.com (Robert Gasch)
Newsgroups: comp.windows.x
Subject: Strange Event Processing Problem
Date: 9 Nov 92 10:08:22 GMT
Organization: Oracle Europe

I have a program which in repsonse to a buttonpress has to repeat
a certain action until an event occours (ButtonPressMask | 
ButtonReleaseMask | ExposureMask | KeypressMask | EnterWindowMask |
LeaveWindowMask). The code I'm using to do this once the button has
been pressed looks as follows:

while (XEventsQueued(mydisplay, QueuedAlready)==0)
	{
        msleep (100000); 		/* sleep for about 1 second */
        if (operation == SELLING)
        	{
		do_this ();
                }
       else
       if (operation == BUYING)
		{
		do_that ();
		}
	}

The problem I have is that the program pauses about 1 second (which it
should) and then processes several events right in succession without pausing
in between them (I have no clue how). If anybody an see anything obvious
wrong with this, please let me know.

Thanks a lot
--> Robert
rgasch@nl.oracle.com
Xref: sparky comp.windows.x:19132 comp.windows.x.intrinsics:531