HDTenEightyP/NetNews huggingface dataset:
From: deveau@oceanroutes.ns.ca ("Terry J. Deveau")
Subject: Re: C programming error
Organization: Oceanroutes Canada Inc.
Date: Fri, 14 Aug 1992 17:31:40 GMT

Eric Truntz <sysop3@uhavax.hartford.edu> writes:
>
> I'm having a little trouble with a pretty simple display program I'm working on.
> The trouble is that I get an access violation error when XReadBitmapFile tries
> to open the image file. I hope you don't mind if I attach my routine and my
> data structure for your analysis.
> I am not the worlds greatest C programer and I'm sure Ive made a simple
> mistake somewhere. I would GREATLY appreciate any hints.
>
>                         ...
>
> static void load_image_file( )
> {
>  int status_value;
>  char *filename;
> 
>  strcpy(&filename,window[win_index].image_file_name);
>  status_value=XReadBitmapFile(dpy, window[win_index].window_ID,filename);
>
>                        ...
> 
> I would really appreciate any clues you might have.. Even if someone has an
> example of how to use this routine...
> 
The problem is the strcpy.  You probably meant to say:

           filename = window[win_index].image_file_name;

... Terry

Newsgroups: comp.windows.x
From: otech@netcom.com (Open Technology Services)
Subject: X11bench - better X benmchmarks?
Date: Sun, 23 Aug 92 07:34:29 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 


My news server has been down for a while, otherwise I would
have posted this in less frantic circumstances.

I'm doing an article on improving X performance for SCO magazine,
and there's a sidebar on the ins and outs of what X11bench (Xstones)
really tests (default font only, monochrome, simplistic fills). What
I'm looking for is information on other X benchmarks, and any attempts
by anyone (university, individuals, consorta) to remedy the flaws of
the Xstone benchmarks.

I'll try to attribute any extensive comments to the individual who
gave me the info. I've got until tuesday (aug 25) or so.

Thanks in advance:

Michael Taht
otech@netcom.com 

Newsgroups: comp.windows.x
From: scowen@wfpc3.la.asu.edu (Paul A. Scowen)
Subject: SeeTeX - anybody having problems with it?
Organization: Dept. of Physics & Astronomy, Arizona State University
Date: Sat, 22 Aug 1992 21:01:12 GMT

Hi,

I'm attempting to build the latest release of SeeTeX and have found several
problems.  First off, mftobdf does not appear to work in the manner described
in the README's and scripts in the package, I keep getting the error:

	Line 1: line too long 

and the thing craps out.  Also, it appears that the SeeTeX-fonts file that used
to be in contrib on export is no longer there (acquisition of this would bypass
the need for mftobdf of course), anycody know where the fonts archive is now?

Yours frustratedly,

-- 
-------------------------------------------------------------------------------
Paul A. Scowen				INTERNET: scowen@wfpc3.la.asu.edu
Department of Physics & Astronomy		  uk1@spacsun.rice.edu
Arizona State University		Tel:      (602) 965-0938
Tempe, AZ 85287-1504			FAX:      (602) 965-7954
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: koverber@bigmax.ulowell.edu (Kurt Overberg)
Subject: Looking for Pixmap Overlay routine...
Organization: University of Massachusetts at Lowell
Distribution: comp
Date: Fri, 14 Aug 1992 20:14:48 GMT



Hello, 

	I am looking for some sample source code that does 
some heavy stuff with pixmaps.  More specifically, I am looking
at trying to overlay one pixmap on top of another one, but wherever
there is background color, show the lower of the two pixmaps.
Sort of a chroma-keying effect with pixmaps.  Any information
would be greatly appreciated.  Thanks in advance.  Please 
send any replies, comments, suggestions, etc. to koverber@cs.ulowell.edu



				Thanks!

p.s.- if there is sufficient interest, I will post results.


--
Kurt Overberg            | Opinions expressed here are MINE!           
U of Mass, Lowell        | "The nice thing about standards is that       
koverber@cs.ulowell.edu  |  there are so many to choose from." - A. Tanenbaum

Newsgroups: comp.windows.x
From: dankoski@leland.Stanford.EDU (Paul Dankoski)
Subject: SUMMARY: Guide for DevGuide.
Organization: Stanford University
Distribution: ba
Date: Sat, 15 Aug 92 19:00:08 GMT


Earlier I asked if anyone knew about documentation for
Sun's DevGuide.  Here are the part numbers if anyone else
is interested:


OpenWindows Developer's Guide 3.0    release notes         800-6583-05
OpenWindows Developer's Guide 3.0    installation Guide    800-6584-05
OpenWindows Developer's Guide 3.0    user's Guide          800-6585-05

OpenWindows Developer's Guide:   
Programmer's Guide To the olit Code Generator              800-6588-06
Programmer's Guide To the xview toolkit  Code gen.         800-6587-06
Programmer's Guide To the NeWS toolkit  Code gen.          800-6586-06

user's guide is 186 pages
All combined together are about 450 pages...

Thanks to Sinan Karasu and others for your responses.
-- 
Paul Dankoski
email: dankoski@isl.stanford.edu
W1: (415) 723-3024
W2: (415) 725-6948
From: pax@hcx1.ssd.csd.harris.COM (Garry Paxinos)
Newsgroups: comp.windows.x
Subject: Re: WANTED: highest graphics performance under 386BSD X11R5, DOS, Windows
Date: 18 Aug 92 13:33:49 GMT
Organization: The Internet

> >WINGINE based (just released by Chips and Technologies, VERY fast)
> >
> >The Wingine VGA cards are not yet in wide distribution but
> >I have heard that they do not have the silly segmented memory
> >addressing bottle-neck of regular VGA cards. This will be a BIG plus.
> 
> The S3 chipsets and the TSENG, et4000 are capable of full CPU memory access.

However, the WINGINE allows access thru a flat address space (ie: no
bank swapping...)  Definetly a win on performance for a non-accelerated board.

Pax.
--
pax@metrolink.com      Metro Link Incorporated
Porting Metro-X to the NightHawk
Newsgroups: comp.windows.x
From: goodsenj@ajpo.sei.cmu.edu (John Goodsen)
Subject: Changing the cursor in the entire application
Organization: EVB Software Engineering
Date: Thu, 20 Aug 1992 04:34:50 GMT

We`re building an application and need to change the cursor
to be a custom cursor throughout every screen in the system.
Right now we explicitly do an XDefineCursor() on every screen
and dialog window.  This is a real pain and successtible to
erros if we forget to do it to new windows.

My question is, is there a way to set the cursor for an entire
application with a single call?

thanks in advance

john
goodsenj@ajpo.sei.cmu.edu
-- 

John Goodsen                   1-800-877-1815
EVB Software Engineering       U.S. PCIS Expert Review Team
Software Process Consultant    Ada Joint Program Office
From: mickey@ucjeps.Berkeley.EDU (Mickey Ellinger)
Newsgroups: comp.windows.x
Subject: unresolved externals at compile time
Date: 13 Aug 1992 23:01:39 GMT
Organization: University of California, Berkeley
Distribution: ucb
NNTP-Posting-Host: ucjeps.berkeley.edu


I am trying to compile a practice X program (goodbye, world in the Asente and
Swick X Window System Toolkit, in fact).  My compile line looks like

	cc -o goodbye goodbye.c -lXaw -lXmu -lXt -lX11

and the loader returns:

ld:  Undefined symbol
	_XShapeCombineMask
	_XShapeQueryExtension

Any pointers as to which library I might be missing (and the order in
which to call it) would be very much appreciated.


-- 
Mickey Ellinger
SMASCH Project
UC Herbarium

From: rlr@hpuerca.atl.hp.com (Ricky Ralston)
Date: Fri, 21 Aug 1992 21:29:12 GMT
Subject: Re: Help on resources
Organization: Hewlett-Packard, Atlanta Technology Center
Newsgroups: comp.windows.x

Will the client allow you to change its name?

xterm -name new_name
From: kieron@root.co.uk (Kieron Drake)
Newsgroups: comp.windows.x
Subject: Re: drawarc algorithm
Date: 14 Aug 92 11:09:07 GMT
Organization: UniSoft Ltd., London, England

[ Description of problem getting arc to end on a radial line ]

If you read further on in the manual you will see that there is a
discussion of the necessity to specify angles in the skewed coordinate
system of the ellipse being drawn. Your problem is that you are specifying
the same, unskewed, angle for both the line drawing and the arc drawing.

You need to translate the unskewed angle, a2 in your example, to the
skewed coordinate system of the ellipse, using:

	skewed_angle = atan(tan(a2) * width/height) +
		(a2 < M_PI/2.0) ? 0 :
		(a2 < 3.0*M_PI/2.0) ? M_PI : 2.0*M_PI;

(This assumes a2 is in radians and is in the range 0 to 2.0*M_PI)

	kieron

-- 
kieron@root.co.uk	Tel: +44 71 729 3773 (or 071 729 3773 in the UK)
Kieron Drake		Fax: +44 71 729 3273 (or 071 729 3273 in the UK)
Senior Consultant, UniSoft Ltd., Spa house, Chapel Place, Rivington Street,
London EC2A 3DQ, UK
Newsgroups: comp.windows.x,comp.windows.open-look
From: kam@tulmath.math.tulane.edu (Katherine Hosch)
Subject: "Insufficient resources for operation"  ??
Organization: Mathematics Dept., Tulane Univ., News Orleans, LA
Date: Fri, 21 Aug 1992 16:02:45 GMT
Nntp-Posting-Host-[nntpd-12834]: tulmath.math.tulane.edu

Greetings.  I just installed X11R5 on a 4/380 and have been having
problems of various sorts ever since.  In running X on a sparc ELC,
and running some openlook applications, bad things occasionally
happen.  For instance, a click of the left mouse button in a window
has made the window disappear; or trying to respond to mail has caused
the mail tool to disappear.  Today I was running a mail tool remotely,
and finally got an error message:

tulmath% X Error of failed request:  BadAlloc (insufficient resources
for operation)
  Major opcode of failed request:  12 (X_ConfigureWindow)
  Serial number of failed request:  715
  Current serial number in output stream:  764

I am guessing that this may mean that I need to reconfigure kernels
that are running X so that there is a larger number of max_processes.
Does anyone have any good advice?

-- katherine hosch
Newsgroups: comp.windows.x
From: rfrazier%peruvian.utah.edu@cs.utah.edu (Robert Frazier)
Subject: Hanging props on root window
Date: 18 Aug 92 19:36:19 MDT
Organization: University of Utah CS Dept
Distribution: USA

	I have a fortran program that calls a c procedure to display some
graphic data in a window it sets up.  I want another program to take care 
of handling events (expose) and that allows the user to change the 
colors etc of the window that the graphic data is displayed in.  So my
event handling program needs to know the window resource id that the 
fortran c procedure is writing to.  I know you can hang properties on the 
root window, and other apps can read them, but I can't get it to work.
I am not too sure about the atom type.  What type is Window, XColor, Pixmap
etc.  Are resource id's unsigned longs?  

	I want the fortran called c procedure to write to a pixmap, then
my event handling app can determine the resource id of that pixmap, and 
actually display it.  I also want the event handling program to be able 
to change the colors of the data.  My workstation is pseudo-color.  Any
ideas on how to do this stuff.

	So how do you determine other applications resources like Pixmaps,
images, windows using the root window prop hang method.  Can someone
send me some short code showing the basic idea.

	I need answers fast, and any help will be greatly appreciated

	R. Todd Frazier
	rfrazier@peruvian.utah.edu





	R. Todd Frazier
Newsgroups: comp.windows.x
From: sinan@Mtesol.boeing.COM (Sinan Karasu)
Subject: Re: Why is initial screen I/O so slow? (=NeWS!)
Organization: The Internet
Date: Thu, 13 Aug 1992 16:56:31 GMT


> From: jme@c-art-w.wimsey.bc.ca (Yukon Kid)
> In article <1992Aug10.170900.6655@nenufar.saclay.cea.fr> basile@soleil.serma.cea.fr (Basile STARYNKEVITCH) writes:
> 
> .. (explains slow start-up of OW, explains NeWS)
> ..........
> |I was a (happy) former NeWS programmer - now i'm using X. Some rumors
> |I know that i'm currently dreaming... I still hope that i will not
>                                           ^^^^^^^^^^
> |program with X11 in 2010!! For multi-media, high resolution screens,
>   ^^^^^
> |X11 will be not enough (too much bandwidth, too hard to program).
> |
> | 
> | b) eventually X12, or any other successor of X11 (eg a programmable,
> |   enhanced 8 1/2 window server from Plan 9), will be some kind of
> |   programmable, and with an imaging model in between X11 (pixels) and
> |   NeWS (complex shapes).

I would bet all my money on Adobe DPS in OW4 and I would expect it before 
the year is out. I think those of us who stuck with OW instead of Motif
[ which was 550,000 SparcStations delivered by end of 1991 as opposed to
500,000 motif on ALL platforms by end of 1991 (See computer world July 20,1992)
Which means either all Motifs delivered are running on SparcStations,
(in which case Sun is benefitting from the companies who are supporting
OSF and Motif and there are "0" other brand workstations out there
(hardly the case) , or in the other extreme it is 550,000 OW and
500,000 Motif (in which case there are more OW installations out there).
The truth probably is somewhere in between(he said to be politically correct.)
I think the point is moot at this point however. I think the future belongs
to Adobe DPS , ToolTalk & Network Object Management (like in Tadpole)..]
will be finally rewarded. I have a vested interes in this also. Since 
I have a couple SparcStations at home, and Since I am trying to get ISDN
(right now I only have a 2400 baud Modem), I want to be able to do X/DPS-Windows
on ISDN/Modem. And I want it to operate fast. which what I hope
to be able to get from DPS.....
Sinan

Note: These are my opinions.... Don't confuse them with anybody elses
(except maybe with of those that actually originated them ...)
From: kirke@fox.csd.sgi.COM (Kirk Erickson)
Newsgroups: comp.windows.x
Subject: comp.windows.x.motif comp.windows.open-look rec.gambling
Date: 18 Aug 92 23:15:49 GMT
Organization: Silicon Graphics, Inc.

I have posted a new version of xblackjack on export.lcs.mit.edu:

	contrib/xblackjack-2.0.tar.Z

Here's the README:

Xblackjack is a MOTIF/OLIT based tool constructed to get you ready for the
casino.  It was inspired by a book called "Beat the Dealer" by Edward O.
Thorp, Ph.D. of UCLA.  A number of important statistics are maintained for
display, and used by the program to implement Thorp's "Complete Point System"
(high-low system).

Beginners can learn a basic strategy which doesn't require counting.  The
best strategy employs a simple card counting technique which can be used to
distinguish favorable situations.  Avid players can learn to compute Thorp's
high-low index, which takes the number of unseen cards into account.

The index is used by the program to suggest a bet, indicate when you should
buy insurance, and whether you should stand or hit, etc.  You can test the
strategy using a slider to control "autoplay mode".  Pressing the message
button below the playing area provides hints; the current count, index
and strategy table are revealed.

To build and run: 

	vi Imakefile
	  <indicate you want OLIT, if you don't want Motif>
	  <identify non-standard install targets, if any>
	xmkmf
	make World
	xrdb -merge XBlackjack.ad
	xblackjack

to install:

	make install install.man

This version allows you to vary the number of decks and starting bankroll
through resources (see XBlackjack.ad).  It's hardcoded to play Reno rules;
you can double down on 10 or 11 only, and dealer hits soft 17.

Thanks to GUX (Guy Renard) grenard@elrond.stg.trw.com, for providing the
OLIT support introduced in this version.

Please direct comments, suggestions, and patches to:
--
---------------------   o  ---------------------------------------------
Kirk Erickson         <(        Silicon Graphics Inc., Mountain View, CA
kirke@sgi.com          [\.                               uunet!sgi!kirke
From: mohan@lns598.TN.CORNELL.EDU
Newsgroups: comp.windows.x
Subject: Re: Communication between Motif apps using properties
Date: 13 Aug 92 15:30:49 GMT
Organization: The Internet


> I am writing a user interface that part of its job is to display
> error messages received from other applications running on the same
> machine.  The other apps communicating the messages to the user
> interface using properties/atoms.  My problem is that all apps have
> to share a widget because properties are associated with widgets.
> I guess the most reasonable widget to use is the text widget in
> which the errors are to be displayed.  But how can the other apps
> know the widget ID of that window?
> -- 
>
> Meir Zaid			meir@tfs.com
> TRW Financial Systems		(510) 704-3362
> Berkeley,  California		Fax: (510) 845-7311

   You can define your own property on the root window that holds the widget ID
The other clients can than query the server for that property at startup.
                                                      - Mohan
Newsgroups: comp.windows.x,uk.sources,alt.sources.wanted
From: cm@impmh.uucp (Colin Manning)
Subject: Wanted: XV image viewesr
Organization: Integrated Micro Products Ltd
Date: Mon, 17 Aug 1992 15:03:17 GMT

Could someone tell me where I can get XV from, or even better,
mail the src to me (as I dont have direct FTP access).

Many thanks,
-- 
Colin Manning     cm@impmh.uucp      Tel: +44 753 516599
From: barton@latcs1.lat.OZ.AU (Douglas P Barton)
Newsgroups: comp.windows.x
Subject: Speech Synthesizer for suns
Date: 17 Aug 92 08:14:52 GMT
Organization: What ORGANISATION???  This mess is total chaos!!!

Still not used to xrn (I forget to put the subject in sometimes :)
[here goes again >:}]
Is there a speech synthesizer for sun machines (sparc ]['s in
particular)?
 
i am looking for something similar to the amiga standard
distribution say application...

-- 

Douglas Barton - barton@latcs1.oz.au
		"My ,son.  Take for thyself another world,
 		 for that which I leave thee is too small..."
Newsgroups: comp.windows.x
From: hartkopp@ibr.cs.tu-bs.de (Oliver Hartkopp)
Subject: Monochrome Displays for X386 - please help!
Originator: hartkopp@bayes.ibr.cs.tu-bs.de
Keywords: Sigma LaserView, monochrome display 
Reply-To: hartkopp@ibr.cs.tu-bs.de (Oliver Hartkopp)
Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
Date: Fri, 14 Aug 1992 08:55:22 GMT

Dear Reader!
Two months ago i got a Sigma LaserView Plus Card and 19" Monitor for my
AT486. The Monitor has 1664x1200 dots and up to 4 grayshades (with two
bitplanes - it is mostly used with 1 bitplane pure monochrome).
Because it was a 2nd hand deal, and the german distributor changed
from REIN electronic to ?, i am out of support for this fine display.
I'm running Linux (a UN*X derivate) on my AT and have the capability
to compile a new X386 server. My problem is getting information
how to hack the X11-sources or if anyone had done this before. 

cpcahil@virtech.uucp (Conor P. Cahill) writes:
>The LaserView plus is supported by the native ISC X (no extra drivers
>are necessary) and works quite well in that environment.

Is there any chance to get any sources or support via ftp or email? 
If you have so: Please send me email-adresses or names of ftp servers
where i might get something about monochrome X  Displays e.g. email
adress of ISC (== INTERACTIVE ??) or Sigma Designs Inc., ... 

It would be great, if i could run my X on this monitor, snief!

        thanks, Olli (hartkopp@ibr.cs.tu-bs.de or DK4AM@DK0MAV.DEU.EU 73!)
From: ejd@yabba (eRic Donaldson)
Newsgroups: comp.windows.x
Subject: X books?
Date: 19 Aug 92 13:02:01 GMT
Organization: The MITRE Corporation, Bedford MA


I have the first printing of the 7 volume set "The Definitive Guides
to the X Window System", copyright 1990.

I was wondering if there is a more recent printing than this?

Thanks,

---

eRic [sic] Donaldson			Image Processing Research Laboratory
(ejd@babypuss.mitre.org)		The MITRE Corporation
Newsgroups: comp.windows.x
From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
Subject: Re: Where is Zok (West Coast X11 UUCP archives)
Organization: AT&T
Date: Thu, 20 Aug 1992 12:46:57 GMT

In article <1992Aug19.183258.28780@pagine.com> adyer@pagine.com (Andrew Dyer) writes:
> I have been trying to connect to zok for several days to retrieve
> some sources, but the UUCP logs show that the other side is not answering.
> Could someone in the know please tell me what happened??
> (busy, hung or dead :-)?)
> 
> Failing that - can someone tell me where to get the latest XTEST
> distribution - uunet has a directory for it, but it's empty. We do not
> have ftp, and I've never been able to get a response from the decwrl
> ftp-by-mail thing, so plain old UUCP or e-mail would be preferred.
> Thanks!!!
> 
> -- 
> And when the wombat comes, he will find me gone...
> 
> adyer@pagine.uucp - adyer@pagine.com - {backbone!}uunet!pagine!adyer
> 


I spoke with Mark Snitily (of SGCS, where zok is located) earlier this
week, and he told me that he lost a disk and has taken the modems off hook
until he gets it back up.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
David Wexelblat             | dwex@mtgzfs3.att.com  | Somebody get me a
AT&T Bell Laboratories      | ...!att!mtgzfs3!dwex  |   cheeseburger!
200 Laurel Ave - 4B-421     |                       |      
Middletown, NJ  07748       | (908) 957-5871        | --Steve Miller Band
Xref: sparky comp.windows.x:15174 comp.windows.x.apps:765
From: ehgasm2@uts.mcc.ac.uk (Simon Marshall)
Newsgroups: comp.windows.x,comp.windows.x.apps
Subject: X-SOFTWARE: xalarm-3.05 released. "Be late no more."
Date: 12 Aug 92 08:56:58 GMT
Reply-To: S.Marshall@Hull.ac.uk
Organization: Manchester Computing Centre, Manchester, England, M13 9PL.


Also: xmemo and xfortune & xyow (front ends to fortune & yow).
X11r[45], Xt & Xaw.

    A patch to make xalarm-3.05 from xalarm-3.04 has been released, and is in
  /contrib and contrib/R5fixes/xalarm on export.lcs.mit.edu as the file
  xalarm-3.04-05.patch.Z.  It should migrate out to all export mirror sites
  near you soon.  It has also been mailed to comp.sources.x, so should appear
  there soon (xalarm-3.04 is in Volume 18, Issues 7-10, I think).

    What is it?  Xalarm is an interactive alarm clock analogous to a
  combination of leave(1) and calendar(1), only much more powerful.  Do you
  need reminders for everything; from when you've got a meeting, to what time
  lunch is today?  This might be for you!  See below for more.  Xalarm is
  suitable both as an entry under a window manager (for one-off alarms), and
  inclusion in an X initialisation script (for alarms in an alarm file).

    Enjoy, Simon.
_______________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  "Football isn't about life and death.  It's more important than that." Bill
Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465181    Fax: 466666   Shankley
-------------------------------------------------------------------------------
Changes from xalarm-3.04:

BUGFIXES
  o Confirmation resource not ignored when resetting.
  o Imakefile does not follow macro `,'s with a space.

CHANGES
  o xmemo expects a message.

ADDITIONS
  o Automatically gets colours with X11R5 customisation method.

OTHERS
  o Can use other ways to find commands when configing.
  o Easier to put colours in.
  o Ported to more machines.
-- 
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  "Football isn't about life and death.  It's more important than that." Bill
Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465181    Fax: 466666   Shankley
Newsgroups: comp.windows.x
From: sinan@Mtesol.boeing.COM (Sinan Karasu)
Subject: XGrabPointer
Organization: The Internet
Date: Tue, 18 Aug 1992 00:34:39 GMT

Not much more info can I give you, ( big program ) . Has anybody have an idea what
this means ???

------------------------------------------------------------------------------------

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  26 (X_GrabPointer)
  Value in failed request:  0x8000
  Serial number of failed request:  247
  Current serial number in output stream:  247

------------------------------------------------------------------------------------
Newsgroups: comp.windows.x