HDTenEightyP/NetNews huggingface dataset:
From: smr@iti.org (Stephen Riehm)
Newsgroups: comp.windows.misc,comp.unix.questions,comp.unix.programmer
Subject: How do you make sense of the Xlib error reports?
Date: 24 Jul 92 15:05:53 GMT
Distribution: comp

Hi,
	I am trying to write a program entirely in Xlib ( for
	performance reasons ), I am borrowing some code from a program
	that I wrote last year ( which I am pretty sure worked ), but
	when I run the program, I get the following error from Xlib:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  62 (X_CopyArea)
  Serial number of failed request:  73
  Current serial number in output stream:  150
Exit 1

	How do I track down EXACTLY what is going wrong, it seems that
	when XCopyArea is called, it returns with an OK status, and
	its only when the event requests are processed that the
	message is printed. Any advice would be gladly appreciated!

thanks in advance

-----------------------------------------------------------------
Stephen Riehm				   smr@pki-nbg.philips.de
not in any way talking on behalf of:
Philips Kommunikations Industrie	  Phone: +49 911 526 2975
8500 Nuremberg, Germany			    Fax: +49 911 526 2095
I come from the land down under, where women glow and men blunder
PS: I know my From: line is wrong, but I don't know WHY!
Xref: sparky comp.windows.misc:1112 comp.unix.questions:9488 comp.unix.programmer:3961
From: pd@x.co.uk (Paul Davey)
Newsgroups: comp.windows.misc,comp.unix.questions,comp.unix.programmer
Subject: Re: How do you make sense of the Xlib error reports?
Date: 28 Jul 92 13:31:36 GMT
Followup-To: comp.windows.x
Distribution: comp
Organization: IXI Ltd.

>>>>> On 24 Jul 92 15:05:53 GMT, smr@iti.org (Stephen Riehm) said:

Stephen> 	How do I track down EXACTLY what is going wrong, it seems that
Stephen> 	when XCopyArea is called, it returns with an OK status, and
Stephen> 	its only when the event requests are processed that the
Stephen> 	message is printed. Any advice would be gladly appreciated!

Remember that Xlib is asynchronous. The error can only be detected on the
server and is returned like an event.

When debugging in X run in synchronous mode by calling
	XSynchronize(display, True) 
so that your errors will be reported immediately after the program issues
the request to XCopyArea.

NB. Your question would have been answered quicker in comp.windows.x, hence
    the Followup-To.

--
 Regards,			  pd@x.co.uk           IXI Ltd.
	Paul Davey		  pd@ixi.uucp          62-74 Burleigh St.
				  ...!uunet!ixi!pd     Cambridge,  U.K.
 "These _are_ interesting times"  +44 223 462 131      CB1  1OJ
From: cawilco@afterlife.ncsc.mil (Chris A. Wilcox)
Newsgroups: comp.windows.misc
Subject: Screen Reader Software for X?
Date: 30 Jul 92 14:07:27 GMT
Organization: The Great Beyond


I am posting this for a user at our system. Please respond via
mail to grday@afterlife.ncsc.mil.
**************************************************************
I am a blind programmer and rely on screen reader software to
produce speech output from a speech synthesizer that is attached
to my workstation. Does anyone know of any screen reader software
that will work under X windows (or any other Graphics User Interface)?
Ideally I would like source code for such a reader that is designed
to work on a Sun/4, but an executable that works on an IBM AT running
DESQVIEW/X under MS-DOS would be good as well. If you have any
suggestions, will you please respond via E-mail to:

grday@afterlife.ncsc.mil (afterlife.ncsc.mil = 144.51.1.1)

Gary R. Day
**************************************************************
-- 
***************************************************************************
Chris Wilcox       Email:cawilco@afterlife.ncsc.mil        Dept. of Defense
  None of the above statements necessarily represent the views of the DOD.
"I was raised to be charming, not sincere." Prince Charming, Into the Woods
Newsgroups: comp.windows.misc
From: rahayden@news.weeg.uiowa.edu (Silicon Avatar)
Subject: ClipArt 
Organization: University of Iowa, Iowa City, IA, USA
Date: Thu, 23 Jul 1992 04:39:04 GMT


I am trying to get my hands on some some clipart for windows.  Can anyone
provide me with an FTP site where I might be able to find some or
something remotely useable?  I am working with Paintbrush and Word for
Windows.

Thanks

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   Robert Hayden                    | Black holes result    | I disclaim
   rahayden@UMAXC.WEEG.UIOWA.EDU    | from God dividing the | everything.
   AQ650@CLEVELAND.FREENET.EDU      | universe by zero      | So cope.
Newsgroups: comp.windows.misc
From: gl8f@fermi.clas.Virginia.EDU (Greg Lindahl)
Subject: Re: Complete Fax, FAXIT
Organization: Department of Astronomy, University of Virginia
Date: Wed, 22 Jul 1992 17:59:48 GMT

In article <1992Jul20.215407.688@mksol.dseg.ti.com> mccall@mksol.dseg.ti.com (fred j mccall 575-3539) writes:

>Greg, please watch your follow-ups.  The above was sent to
>comp.os.ms-windows.apps, a newsgroup which has nothing to do with
>mispostings to comp.windows.misc, rather than just being sent as mail
>to the person who misposted.

(someday this clueless fuck is going to figure out that I always send
email, and only occasionally post to other groups about this.)
Newsgroups: comp.windows.misc
From: lwv26@cas.org (Larry W. Virden)
Subject: Time for a group rename
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Nedriv Software and Shoe Shiners, Uninc.
Date: Thu, 23 Jul 1992 10:42:55 GMT

Well, folks told me that I should wait until the msdos windows groups had
a chance to propagate before bringing this up again.  I think that the
name 'comp.windows.misc' is too general, leading novice folks , who perhaps
haven't noticed the fact that this group almost resents msdos discussions,
to post here.

It is time for the bi-monthly discussion on renaming this group.
Personally, I am in favor of the name:

comp.windows.not-for-msdos-or-x11-please

Some folk will complain that the name is too long .  If that is the case,
is there a character that is prohibited from being in an MS-DOS file name -
I would like to propose we use that character in the name and that way those
folks can't even get into this group! (that last one's a JOKE if you missed
it...)

-- 
Larry W. Virden			UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com
Xref: sparky comp.windows.misc:1109 comp.windows.ms:18031
From: hjkim@ducvax.auburn.edu
Newsgroups: comp.windows.misc,comp.windows.ms
Subject: What is GDI.EXE protection fault error on WINDOWS 3.1
Date: 27 Jul 92 22:18:15 GMT


 Can anybody help me about the mathmatica for windows?

Recently my friend tried to install Mathmatica for windows on 
486/33 machine. He got the following error message.
GROWSTUB caused a general protection fault
in module GDI.exe at 0001:4521

Then it is close.
Also I have same problem when I run windows3.1 on my 286 machine
which has ems and ext memory. But it failed on 12 MH turbo mode and
runs only in 6 MHZ slow mode. It says that GDI.DRV errors.
Anybody can explain those errors related to GDI.XXX something like
this?
It will help me to learn about the structure of windows 3.1
Thank you in Advance.
Newsgroups: comp.windows.misc
From: ldlres00@ucs.usl.edu (Lafleur L Dwynn)
Subject: Norton Commander behavior with Windows 3.1 File Manager?
Organization: Univ. of Southwestern La., Lafayette
Distribution: na
Date: Mon, 27 Jul 1992 14:01:46 GMT


We old-time users of Norton Commander have grown accustomed to several of its 
great features.  I am sure that others like I have tried Windows 3.1 and its 
File Manager and have found it very nice except for a few nicities NC has but
File Manager doesn't -- in particular, NC's interaction with the DOS prompt is
carries at the bottom it its dual list of directories.  Although one can run
a DOS command line constantly in Windows 3.1, File Manager doesn't interact 
with it the way NC does.  For example,

(1) In NC, the current directory for the DOS prompt is always set to whichever
of the two listed directories contains the highlighted file selection bar.
Thus, if a DOS command line is entered at the DOS prompt, the command is 
executed in the directory of the selected file.  

(2)  In NC, one can compose a DOS command line at the prompt by copying one,
two, three, or any number of file names from the directory listing (using
CTRL-Enter).  I can't see how to use drag-and-drop to accomplish this with 
Windows 3.1 File Manager and DOS prompt.  

Does anyone know of software for Windows 3.1 that makes File Manager work with
a DOS prompt in these ways?  Are there shareware solutions?  Or is the answer
Norton Desktop for Windows?  (Of course, these are the kinds of things one 
would like to try out before blowing a hundred bucks or so and finding no such
features.)


Dwynn Lafleur

lafleur@usl.edu
   - or - 
shields@sparc.ncpa.olemiss.edu
Newsgroups: comp.windows.misc,comp.windows.ms
From: hlh5721@zeus.tamu.edu (JIMI HENDRIX)
Subject: re: HP deskjet and true Type - help....!
News-Software: VAX/VMS VNEWS 1.41    
Organization: Texas A&M University, Academic Computing Services
Date: Tue, 28 Jul 1992 02:01:00 GMT

In article <Bs2IDG.CqF@iai.kfk.de>, steve.withers@bbs.actrix.gen.nz writes...
>In article <1992Jul7.111846.25922@actrix.gen.nz> Steve.Withers@actrix.gen.nz (Steve Withers) writes:
>>I have a friend with a Hewlett Packard Deskjet - one of the eary ones. She is
>>using Windows 3.1 and MS W4Win 2.0. At first she couldn't print anything......
>> 
>>Now she can print the true type fonts - but in graphics mode only and for text
>>printing, it is unbearably slow! We have been around the bush with HP on this
>>and tried every driver they have - they all do the same thing.
>> 
>>Anyone out there had this problem? Reply in E-mail, please, as I don't usually
>>follow this group.  
>> 
>>Steve
>>
>>
>>-- 
>>Steve Withers - Wellington, New Zealand | "But the glory kept shining
>>Steve.Withers@bbs.actrix.gen.nz         |  and bright in my eyes, 
>>withers_s@kosmos.wcc.govt.nz            |  And the stars going round in 
>>**** Happy user of OS/2 v2!! ****       |  my head." R. L. S.
> 
>Yes, it's true, the printing is very slow. So you need only time.
>I'm using the win31 printer driver for a deskjet 500 c and only with graphic mode corrects printing 
>will appear
> 
>does anyone know a better way
> 
>So Long and thanks
> 
>JWGB


I don't understand what the problm you are having is.  I use the win printer
driver with my DJ500 with no problems whatsoever, using cartrige, soft, and 
truetype fonts.

are you setting any switches or modes on your printer first?  that is a BIG
NO NO!  Make sure that you:

	1) Have all the dip switches properly set (mine are all at default)
	2) Handle ALL your print options throught software (do not set print
		modes, or fonts or envelope feed on the printer)
	3) Make sure that you have the correct printer driver (dont use a
		driver for a deskjet plus when you only have a plain deskjet)




LEE HUDDLESTON,                 
Texas A&M University,
College St. TX

"This views expressed are mine and are not necessarily those of
  Texas A&M University, its faculty, staff nor students"
Newsgroups: comp.windows.misc
From: sci10150@nusunix2.nus.sg (GOH CHOI FONG)
Subject: Recommendations on software
Organization: National University of Singapore
Date: Wed, 29 Jul 1992 14:12:13 GMT

Can anyone suggest me a good windows based program that will run
effectively with Word for Window as to create good reports for 
Physics course.Some how I find that Microsoft Excel is not powerful
enough to produce satisfactory graphs especially those needed for my
reports.Any other programs that will work well with Word for Windows
will be a real blessing..or haven't I been using Excel well...?

	*The Edge*
*get down on your knees*

Newsgroups: comp.windows.misc
From: gl8f@fermi.clas.Virginia.EDU (Greg Lindahl)
Subject: Re: Time for a group rename
Organization: Department of Astronomy, University of Virginia
Date: Thu, 23 Jul 1992 13:55:44 GMT

In article <1992Jul23.104655.7871@cas.org> lvirden@cas.org (Larry W. Virden) writes:

>It is time for the bi-monthly discussion on renaming this group.
>Personally, I am in favor of the name:
>
>comp.windows.not-for-msdos-or-x11-please

The number of X11 cross-posts is virtually zero these days. I think
(although without proof) that the number of MS Windows cross-posts
have declined a bit since the new comp.os.ms-windows groups formed.
However, this may be more of a function of me mailing a FAQ to all the
MS Windows posters. Few of them then have a desire to repeat, and
discussion doesn't stay here.

What we need now is some discussion germane to this group. A few
people have asked questions and haven't gotten answers. And that's
been about it. So let's go find the people who know the answers and
drag them in here...
From: germany@ducvax.auburn.edu
Newsgroups: comp.windows.misc
Subject: Re: Need HELP with Windows 3.1 mouse control...OOOPS!!!
Date: 27 Jul 92 14:40:22 GMT
Distribution: usa

In article <1992Jul16.210109.9880@news.Hawaii.Edu>, keni@uhunix.uhcc.Hawaii.Edu (Ken Ikeda) writes:
> 
> First of all, this is my first post so I apoligize if I do something wrong...   Like posting with no message.. .sorry!!!.
> 
> Anyway, I seem to be having a little trouble using my mouse in dos applications under windows 3.1. The mouse works fine in windows, but if I try to use a dos application such as Wordperfect 5.1 (not the windows version) I suddenly have no  mouse control.
> 	I'm using a 386-33 from Insight computers, with 8 megs RAM, 105Mb hard  drive and a super VGA monitor w/1Mb video card. The mouse is generic with a     microsoft compatible mouse driver installed on com2. 
> 
> 	I haven't played around with any of the default settings for windows or the mouse driver. It's not a tragic problem, but really inconvenient.
> 
> 	I guess I need to give more info, but I'm at work and don't have the contents of my config.sys or autoexec.bat handy.  However, if some windows guru outthere can give me a hand, I'd really appreciate it. If anyone has a suggestion  please e-mail me at keni@uhunix.uhcc.hawaii.edu ....
> 
> Thanks
> 
> Ken..
> .
Ken,
 Did you copy your mouse driver into the windows directory. Also, if you run in 
 1024x768 resolution, the screen driver may not support using the mouse in a
window.  Try the 800x600 driver that comes with windows, and make sure that 
you have windows install the mouse driver in the windows directory. 
Newsgroups: comp.windows.x
From: yuri@physics.heriot-watt.ac.UK (Yuri Rzhanov)
Subject: Cyrillic font
Organization: The Internet
Date: Wed, 29 Jul 1992 15:58:36 GMT


Hi, xperts! 
Could some kind soul explain how to deal with
non-ascii fonts (like cyrillic, chinese, etc.)?
After server knows about their existence (and
they can be displayed by xfd) all I need is to
generate a proper keycode (probably that should
be done by Caps-locking, I mean that the program
must check if Caps-lock was pressed) and print
the character which is stored under the corresponding
number. Can I do it on XView level, or should I
use Xmu calls (XLookupCyrillic), as event_string()
macro in XView relies on XLookupString() ?

These questions may seem stupid for those who are
experienced in various k/ch/m-term's, but I really
don't know what to do.

Many thanks for *any* help.
	Yuri

PS. I'm trying to read the public discussions but
would prefer direct e-answers/advices/suggestions.
My e-address: yuri@uk.ac.hw.phy
From: ben@it3.crl.mei.co.jp (Ben Reaves)
Newsgroups: comp.windows.x
Subject: Wanna use xcalc without mouse
Date: 24 Jul 92 02:34:27 GMT
Organization: Matsushita Electric Industrial Co.,Ltd.


I'd like to use xcalc without touching the mouse at all - only the keyboard.
Seems that it should be simple, but I haven't been able to do it.  Here's how
I do it now:

  1. type "xcalc"
  2. the xcalc window shows on the screen.
     I don't need the mouse to position it because I have "RandomPlacement" on
     in my ~/.twmrc file.
     (Yes, by the way, I am using twm - because it doesn't use much memory
      and it is simple and works better than uwm)
  3. Move the mouse so the cursor is in the xcalc window
  4. type my commands to xcalc
  5. ^C when I am done.

I want to eliminate step 3.  Is there a simple way to do this?
In general, the xcalc window pops up in a place where my mouse is not.


Thank you.  Please reply to ben@oskgate0.mei.co.jp

--
==== Ben Reaves ============================= ben@it3.crl.mei.co.jp ====
Newsgroups: comp.windows.x
From: berry@socrates.umd.edu (Joseph Berry)
Subject: Re: WCL on IBM RS6000
Keywords: WCL, AIX, IBM RS6000
Organization: University of Maryland University College
Date: Sun, 26 Jul 1992 03:08:53 GMT

kriss@frec.bull.fr (C.Mollard@frec.bull.fr) writes:


>I like to know if somebody has successfully ported Wcl 1.4 (or later) on an IBM RS6000
>(AIX 3.2 with AIX Window) or if somebody have a way to do it right.

I'm not sure which version of wcl I'm using (my RS/6000 is 'sleeping' at
this moment) but I think it's the latest (about Dec '90). If I recall, 
there were one or two little problems I had but the software is running
real well -- the only problem is me, learning how to use it. 

Joe

+------------------------------------------------------------------------+
| Joe Berry                                                              |
| Strategic Software Group, Ltd., 3402 Shelburne Rd, Baltimore, MD 21208 |
| E-mail:  joe@ssgltd.com  or  uunet!ssgltd!joe                          |
| Phone:  410-764-5668;  Fax: 410-358-2106;  Pager: 410-796-6861         |
+------------------------------------------------------------------------+
From:  (Ali Clements)
Newsgroups: comp.windows.x
Subject: HELP: X-Getting started!
Date: 23 Jul 92 12:20:33 GMT
Organization: Student - UEA

Trying to find any info, background reading, sample code etc for X.
I am starting my final year project and the intention is to create
a set of C libs for use on both MAC and X(on Sun or SPARC). 

These libs are to provide functions for creating/manipulating 
windows, menus, dialogs and the like, to be used to make simple
GUI applications on both platforms.

Any comments pointers etc gratefully received.

Ali Clements.
Newsgroups: comp.windows.x,comp.windows.x.intrinsics,comp.windows.x.motif
From: sautins@tramp.Colorado.EDU (SAUTINS ANDREW MICHAEL)
Subject: XtDestroyWidget Problem
Organization: University of Colorado, Boulder
Date: Wed, 22 Jul 1992 03:07:45 GMT


	O.k., I'm having a couple of problems with XtDestroyWidet that
make me want to pull my hair out.  

	First:  If i create a motif Message box and try to destroy it,
		I get a core dump.  No explination. 

	Second: I create a message for and after a bit of motif mumbo jumbo
		I destroy it.  Here I could be in error (memory fault), 
		but I'm usring codecenter to catch memory faults(O.K., I
		know this method is not fool proof, but it's a good start)
		and I'm unable to find any problems until the program enters
		the Xt lib where I can't tell what's going on.

	also.  I suppose it's improtant to note that I'm running X11R4
			and motif 1.1.1 (or 1.1.2).


		sautins@tramp.colrado.edu
From: malowany@cenparmi.concordia.ca (Stephen Malowany)
Newsgroups: comp.windows.x
Subject: Undefined symbol: _XtMalloc (twm,sun3,sunos4.1.1,gcc2.1,/usr/bin/ld)
Keywords: twm, _XtMalloc, gcc
Date: 30 Jul 92 02:42:44 GMT
Organization: CENPARMI, Concordia University, Montreal, Canada

Situatation: X11R5 pl.14, Sun3, SunOS 4.1.1, gcc 2.1, /usr/bin/ld,
all binaries are dynamically linked.

Problem: twm dies with the following error:
ld.so: Undefined symbol: _XtMalloc

However, everything else works (XsunMono, xedit, xcalc, xmh...)
Any suggestions (besides linking twm statically)?

Thanks,
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Steve Malowany                                         Software Systems Analyst
Centre for Pattern Recogn. & Machine Intell.     malowany@cenparmi.concordia.ca
Department of Computer Science                         malowany@cs.concordia.ca
Concordia University                                   Montreal, Quebec, Canada
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: root@shawn.uucp (Mark Jeghers -- UNIX/X/Motif Contractor)
Newsgroups: comp.windows.x
Subject: Re: GXcopy and GXxor
Keywords: GXcopy and GXxor
Date: 25 Jul 92 03:00:11 GMT
Organization: Mark Jeghers -- UNIX/X/Motif Contractor

xia@molbio.ethz.ch (Xia Tai-he) writes:

>However, the lines drawn with the second GC [ GXxor ] don't have
>the color I have set, whose colors differ depending on the
>objects alreay existing on the screen.

The best you can do is this: 

1) Determine the *dominant* background color the rubberband will
   be drawn on top of (the color taking up the largest percent of
   your rubberbanding area)

2) Exclusive-OR that *dominant* background color's pixel value with
   the pixel value of your desired rubberband color.

3) The resulting value is the foreground pixel value to use in the 
   second GC.

The color will be correct except when moving over *other* colors.

Mark Jeghers
UNIX/X/Motif Contractor
408/281-4823 [voicemail]
Newsgroups: comp.windows.x
From: tomasc@lionfish.tds.kth.se (Tomas Carlsson)
Subject: fork and X
Reply-To: tomasc@lionfish.tds.kth.se (Tomas Carlsson)
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Fri, 31 Jul 1992 10:48:00 GMT

I'm writing a program that needs to spawn children using a fork
and be able to talk to them using a pipe. My problems arise when
I want to spawn a second child. The first one is no problem.

The first (X Windows-) thing a child does is make a fontcursor
and a pointergrab. This works fine for the first child but the
second one kills the whole family. I get these errors before
everything exits:

X Error of failed request:  BadIDChoice (invalid resource ID
chosen for this connection)
  Major opcode of failed request:  94 (X_CreateGlyphCursor)
  Resource id in failed request:  0x1800003
  Serial number of failed request:  49
  Current serial number in output stream:  24

X Error of failed request:  BadCursor (invalid Cursor parameter)
  Major opcode of failed request:  26 (X_GrabPointer)
  Resource id in failed request:  0x1800003
  Serial number of failed request:  50
  Current serial number in output stream:  48

I actually don't use XCreateGlyphCursor but XCreateFontCursor
and when I'm done with it I use XFreeCursor.

I've looked in the FAQ but the nearest question (115) was not
the same as this problem (I think).


Any and all help would be appreciated.
Answers here, to the above address or tomasc@sics.se


Tomas Carlsson
From: pd@x.co.uk (Paul Davey)
Newsgroups: comp.windows.x
Subject: Re: Keymap Translations on Motif-RS/6000
Date: 30 Jul 92 14:00:29 GMT
Followup-To: comp.windows.x
Organization: IXI Ltd.

>>>>> On 29 Jul 92 16:52:42 GMT, pwickman@cerebus.cc.edu (Paul J. Wickman) said:

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

-> What am I doing wrong?

You should list the more specific translations first.

If you move the Shift<Key>F1 definition before the <Key>F1 definition
things will work fine.

--
 Regards,			  pd@x.co.uk           IXI Ltd.
	Paul Davey		  pd@ixi.uucp          62-74 Burleigh St.
				  ...!uunet!ixi!pd     Cambridge,  U.K.
 "These _are_ interesting times"  +44 223 462 131      CB1  1OJ