HDTenEightyP/NetNews huggingface dataset:
From: sllkz@cc.usu.edu
Newsgroups: fj.mail-lists.x-window
Subject: SOS on Font error!
Date: 19 Nov 92 09:41:51 GMT
Distribution: fj
Organization: Utah State University

Date: 17 Nov 92 20:16:23 MDT
Message-Id: <1992Nov17.201624.60971@cc.usu.edu>
Newsgroups: comp.windows.x

Hi all,
	This is a repost of an earlier problem  I had which I could not clarify
at that time. I am running dxbook from a decstation with display on a hp. While
other applications dxterm,dxcalc,dxview,etc etc..work fine dxbook doesnt. I
have tried dxbook with the font option but it still DOES NOT  work. Please
help. Thanks in advance!!!!

Krishna
Utah State University
The error message is as follows:

X Toolkit Warning: Cannot convert string ""-*-*-medium-r-normal-*-*-120-*-*-p-*-iso8859-1" " to type FontList, using fixed font
X Error event received: BadName - font or color name does not exist
  Request Major op code 45
  Request Minor op code 0
  ResourceID 0x1c0001a 
  Serial number of request 75 
  Current serial number 76 
Can't open font -*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1
From: okeefe@cs.Buffalo.EDU (Paul O'Keefe)
Newsgroups: fj.mail-lists.x-window
Subject: How to freeze the pointer
Date: 16 Nov 92 20:59:39 GMT
Distribution: fj
Organization: State University of New York at Buffalo/Comp Sci

Date: 10 Nov 92 03:51:39 GMT
Message-Id: <BxHEq4.3rB@acsu.buffalo.edu>
Newsgroups: comp.windows.x.intrinsics,comp.windows.x


I want to implement a "snap-to" point-n-click data picking feature
where the cursor snaps to the nearest data point and freezes in position
while a popup is displayed in response to a button press button.

Ideas:
Remove the cursor and draw an X when a button is pressed.

Keep warping the cursor back to the place I want it if moved. (A real kludge.)

Do a server grab, but this could cause a conflict with the
window manager and doesn't seem like the right approach for an application.

Question: have a better idea?
From: rjw@pegasus.rice.edu (Ryan J. Wyatt)
Newsgroups: fj.mail-lists.x-window
Subject: NEED ADVICE: X-terminals by HDS
Date: 17 Nov 92 23:05:32 GMT
Distribution: fj
Organization: Dept. of Space Physics & Astronomy, Rice U., Houston

Date: Tue, 10 Nov 1992 21:55:17 GMT
Message-Id: <BxIsw5.Ey1@rice.edu>
Newsgroups: comp.windows.x


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: ioi@pixmap.seas.upenn.edu (Ioi Kim Lam)
Newsgroups: fj.mail-lists.x-window
Subject: C++ Debugger for Motif  -----> HELP
Date: 17 Nov 92 13:28:08 GMT
Distribution: fj
Organization: University of Pennsylvania

Date: 10 Nov 92 20:57:31 GMT
Message-Id: <97017@netnews.upenn.edu>
Newsgroups: comp.windows.x.motif,comp.unix.programmer,comp.unix.questions,comp.windows.x,gnu.g++.help

Newsgroups: comp.windows.x.motif,comp.unix.programmer,comp.unix.questions,comp.windows.x,g++.help
Subject: C++ Debugger with Motif
Followup-To: 
Distribution: world
Organization: University of Pennsylvania
Keywords: 


I am using X11R4 on the SunOS. I am writing Motif programs in C++, using the
GNU compiler g++. Does anyone know how to debug these programs. I tried
gdb-3.2 and gdb-3.5 but they don't seem to understand the C++
function-name convention. Gdb-4.4 gives an segmentation fault with the
Motif program, although it can debug normal C++ programs under Unix. I
tried UPS but it always shows the header file instead of the source file. 

Are there any public-domain X-Debugger available that can support C++?

Please reply to ioi@eniac.seas.upenn.edu

Thank you in advance.
From: trsk@huldra.tdata.no (Trond Erik Skjerven)
Newsgroups: fj.mail-lists.x-window
Subject: Format of the native DECwindows SNF fonts
Date: 19 Nov 92 00:51:56 GMT
Distribution: fj
Organization: Tandberg Data A/S, Oslo, Norway

Date: 18 Nov 92 15:36:06 GMT
Message-Id: <1992Nov18.153606.13666@huldra.tdata.no>
Newsgroups: comp.windows.x

Where can I find the specification of the native DECwindows font format ?

The native DECwindows fonts shipped with the VMS operating system 
for use with DECwindows applications on VAXstation systems
have a non "standard" SNF format.
(The fonts are 1/4 the size of normal SNF fonts.)  

Is the source code for the VMS font compiler "font" available somewhere ?

Are these fonts available in a PCF format ?


Thanks,

Trond Skjerven
--------------------------------------------------------------------------------
Trond E. Skjerven       Tandberg Data A/S 
                        PO Box 127, N-1473 Skaarer
trsk@tdata.no           Tlf +47 2 189090 Tlf dir +47 2 189472  Fax +47 2 189762
--------------------------------------------------------------------------------
From: scstech@solomon.technet.sg (Arthur Lim)
Newsgroups: fj.mail-lists.x-window
Subject: HELP!! Application reporting BAD GC errors
Date: 16 Nov 92 13:23:24 GMT
Distribution: fj
Organization: Singapore Computer Systems Ltd

Date: Tue, 10 Nov 1992 02:57:53 GMT
Message-Id: <1992Nov10.025753.11839@nuscc.nus.sg>
Newsgroups: comp.windows.x,comp.windows.x.motif


Hi fellow-netters,

I have a application written in MIT X11R4/Motif 1.1 running on HP platform.
The problem is described below :

==========

After dynamically creating and destroying some Toplevel windows (about 10),
my application always report a "BAD GC Error" whenever I pop up a menu.

The segment of code that does the destruction of the window is as follows :

	XtUnrealizeWidget(XtParent(bulletinBoard));
	XtDestroyWidget(XtParent(bulletinBoard));
	XmUpdateDisplay(display);

The structure/hierarchy of the window is :

	topLevelShellWidget
		XmMainWindow
			XmBulletinBoard

==========

Have I missed anything or done something that's causing this problem ?

Thanks in advance for your replies.



+======================================================================+
| Arthur Lim                     | #include <std.disclaimer>           |
| Advanced Software R&D Centre   |                                     |
| Singapore Computer Systems Ltd | scstech@solomon.technet.sg          |
|                                |                                     |
| (Voice) 065-240-3850           | Please prefix "For Arthur :" in the |
| (Fax)   065-441-2811           | subject line when mailing. Thanks.  |
+======================================================================+
From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley)
Newsgroups: fj.mail-lists.x-window
Subject: Re: FLAME, FLAME ON X!!!
Date: 16 Nov 92 09:39:27 GMT
Distribution: fj
Organization: Jet Propulsion Laboratory, Pasadena, CA

Date: Tue, 10 Nov 92 00:29:31 GMT
Message-Id: <1992Nov10.002931.6223@thyme.jpl.nasa.gov>
Newsgroups: comp.windows.x

In article <1683@igd.fhg.de> baumann@igd.fhg.de (Peter Baumann) writes:
>This is a sad story told by a frustrated user of some quite common
>one-letter software. 
> [...]
>Short after that, a colleague of the bad-luck guy occasionally
>remarked, "Did you know that the X windows server never releases
>memory space once acquired for image display? Each new image loaded
>makes the X server address space grow until there's no more available."
>And added, "This is a well-known bug of X". Well-known. Well...

A well-known bug of X?  More accurately, it's a well-known "feature" of 
UNIX?  

-- 

Kaleb Keithley                          kaleb@thyme.jpl.nasa.gov

Not authorized, in any way, shape, or form, to speak for anyone.
From: moody@E4.IUS.CS.CMU.EDU (James Moody)
Newsgroups: fj.mail-lists.x-window
Subject: X11R5  Hi-Res mono patch?
Date: 19 Nov 92 12:02:55 GMT
Distribution: fj
Organization: CMU Vision and Autonomous Systems Center

Date: 18 Nov 92 21:16:37 GMT
Message-Id: <BxxKFr.D74.2@cs.cmu.edu>
Newsgroups: comp.windows.x

We've been running X11R5 at our site for a few months now, and the only
problem we've encountered is with Suns that have high-resolution 
monochrome monitors.  X crashes without any very clear error message,
and leaves the keyboard in a funny state.

We don't have this problem with any of our other 100+ suns, be they color
or standard-res mono, sun3 or sun4.  We didn't have this problem at all 
with X11R4.

I understand that a similar problem exits with the 24-bit sun displays, too.

1) Can someone offer a pointer to a patch for this?

2) Where are patches usually found?  

Yeah, I'm new to this.  Thanks a bunch.

-- 
James E. Moody Jr.	The Robotics Institute		(412) 268-2847
			Carnegie Mellon (University)	      CMU-BUGS
			Schenley Park
moody@cs.cmu.edu	Pittsburgh, PA 15213
From: lyonsk@tuva.saic.com ("KYLE LYONS")
Newsgroups: fj.mail-lists.x-window
Subject: unsubscribe
Date: 19 Nov 92 05:24:19 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9211190156.AA27524@expo.lcs.mit.edu>
Date: 18 Nov 92 18:47:00 PST

please unsubscirbe me.
From: pmartz@dsd.es.com (Paul Martz)
Newsgroups: fj.mail-lists.x-window
Subject: Re: FLAME, FLAME ON X!!!
Date: 15 Nov 92 23:59:58 GMT
Distribution: fj
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT

Date: Mon, 9 Nov 92 23:57:41 GMT
Message-Id: <1992Nov9.235741.25166@dsd.es.com>
Newsgroups: comp.windows.x

In article <1683@igd.fhg.de>, baumann@igd.fhg.de (Peter Baumann) writes:
> [ ... ]
> 
> Short after that, a colleague of the bad-luck guy occasionally
> remarked, "Did you know that the X windows server never releases
> memory space once acquired for image display? Each new image loaded
> makes the X server address space grow until there's no more available."
> And added, "This is a well-known bug of X". Well-known. Well...

Care to tell us in which vendor's X is this a bug? I've certainly
never heard of it before.

> [ ... ]
-- 

   -paul	pmartz@dsd.es.com
		Evans & Sutherland
From: adrian@ora.com (Adrian Nye)
Newsgroups: fj.mail-lists.x-window
Subject: Re: creating a font
Date: 16 Nov 92 23:57:47 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9211162013.AA01276@spike.ora.com>
Date: Mon, 16 Nov 92 14:13:51 +0900


> The O'Reilly books tell me a lot about how to load a font and how to
> use it once it is loaded but they don't tell me how to create my own
> font.  Is there a way to save a font or create a named font that I 
> could call from the loadXfont call??

The X Resource, Issue 2, includes a paper on how to create
a font and install it so that the server can find it.
The basic procedure is to use xfed (available by anon ftp on export)
to edit an existing font or create a new one, then use mkfontdir to 
create the fonts.dir file, then xset (with args) if the font is in a 
directory that's not in the font path.

*************************************************************
Adrian Nye (314) 531-1231    Editor, The X Resource
O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks
4466 West Pine Blvd.  20-G   St. Louis MO 63108
Internet:   adrian@ora.com    	UUCP:   uunet!ora!adrian      
*************************************************************
From: boba@miki.pictel.com (Bob Alexander)
Newsgroups: fj.mail-lists.x-window
Subject: Re: XVT toolkit??
Date: 19 Nov 92 14:16:25 GMT
Distribution: fj
Organization: PictureTel Corporation

Date: Tue, 10 Nov 1992 13:10:34 GMT
Message-Id: <1992Nov10.131034.2499@miki.pictel.com>
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.misc,comp.sys.misc,comp.sys.mac.misc,comp.unix.misc


I have used XVT extensively on MS Windows, and I've done a preliminary
port to the Mac.  It handles the basic stuff very well - windows,
dialogs, standard controls, menus, drawing, and printing.  There have
been times when I needed to write non-portable code to handle things
that XVT doesn't support - palette manipulation, drag and drop, serial
port communications, and icon toolbars.  I've tried to isolate and
minimize the non-portable code so that it's currently 12% of my code
and *shrinking.* (I.e.  my XVT code is growing faster than my
non-portable code.)

XVT probably doesn't include absolutely everything you'll want, but I
doubt any other package would either.  The bottom line for me is that,
if I had to do it again, I'd still go with XVT.

(BTW, their technical support has been very responsive and a big help.
That's been very important.)

     Bob Alexander                                     boba@pictel.com
     -----------------------------------------------------------------
     Organizations don't have opinions; people do.  The above opinions
     do not reflect those of the directors, stockholders, managers, or
     other employees of PictureTel.
From: jimf@centerline.com (Jim Frost)
Newsgroups: fj.mail-lists.x-window
Subject: Re: FLAME, FLAME ON X!!!
Date: 18 Nov 92 10:52:12 GMT
Distribution: fj
Organization: CenterLine Software, Inc.

Date: 17 Nov 92 21:45:16 GMT
Message-Id: <1ebp5cINNp7c@armory.centerline.com>
Newsgroups: comp.windows.x

black@westford.ccur.com (Samuel Black) writes:
>>Actually, I once saw a malloc package that could be made to return some
>>memory to the operating system by clever use of sbrk and brk, but I doubt 
>>that any X11 servers are written using such a technique.  Might be an
>>interesting experiment for some vendor, though ...

I've written such a thing, actually.  It's not particularly difficult
although it becomes a question of whether it's smarter to do the
correct brk/sbrk or to hang onto the piece (the brk/sbrk requires a
system call which you'd prefer to avoid).  I dealt with that issue by
never doing a negative sbrk unless I had the whole piece that I got
when I did the positive sbrk, but a threshold is probably a better
approach.

>Now, if we just had an OS that provided support for sparse memory spaces, ...

AIX does so by default.  In my opinion it's one of its most annoying
features since it means that an allocation can fail well after it's
made, making it similar to programming floating-point code on a chip
with a long pipeline -- you know you'll get the error condition but
you have no idea when.  For applications which want sparse memory
spaces this behavior is wonderful, though.  (It's actually not
difficult to get traditional malloc behavior under AIX by touching
every page you get back from malloc, but it's one more detail to think
about.)

AIX also provides a new system call, disclaim(), which can be used to
free VM pages that you don't care about anymore.  That's much better
granularity than brk/sbrk and would be a *really* nice thing to make
use of in a malloc package.

jim frost
jimf@centerline.com
From: gildea@expo.lcs.mit.edu (Stephen Gildea)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xdvi missing fonts???
Date: 18 Nov 92 11:14:54 GMT
Distribution: fj
Organization: X Consortium, MIT Laboratory for Computer Science

Date: Tue, 17 Nov 1992 18:05:34 GMT
Message-Id: <1992Nov17.180534.5534@mintaka.lcs.mit.edu>
Newsgroups: comp.windows.x

    I tried running the latest version of Xdvi, but was unable to get it
    to run as it kept complaining that it couldn't find certain fonts. They
    are cmbx10, cmtt10, cmti10, and cmr10.

These are TeX fonts, not X fonts.  So you have probably been looking
in the wrong place.  Can you print your documents?  If so, you have
the necessary fonts, and it is only a question of configuring xdvi to
find them.

 < Stephen
   MIT X Consortium
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Newsgroups: fj.mail-lists.x-window
Subject: Fixed (Re: xdm startup: Xsession exec fails ?)
Date: 17 Nov 92 14:42:47 GMT
Distribution: fj
Organization: VPI&SU Computer Science Department, Blacksburg, VA

Date: 13 Nov 92 18:12:36 GMT
Message-Id: <3801@creatures.cs.vt.edu>
Newsgroups: comp.windows.x,comp.windows.x.apps

The problem of Xsession exec fail during login was fixed.
It was due to a silly error. The preamble line 

#! /bin/sh

was missing in the Xsession script (login shell is csh). I should have 
checked my script before dashing off a query.

Thanx to Reginald H. Beardsley (beardsl@dal.mobil.com) for pointing it
out.

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
From: ars@ebony.cc.columbia.edu (Ali R. Siddiqui)
Newsgroups: fj.mail-lists.x-window
Subject: Hard Copy using X
Date: 17 Nov 92 23:06:19 GMT
Distribution: fj
Organization: Columbia University

Date: 15 Nov 92 20:36:04 GMT
Message-Id: <1992Nov15.203604.1002@news.columbia.edu>
Newsgroups: comp.windows.x


Hi All,

	I have been writing an program which can print the output on the  
window (using  Xviews).  Now I need to add a print option for the routine  
which shall print the Graph that I have just plotted on the Xwindow using 
Xdrawlines to a ps (or text) printer.  I would appreciate it if any of you  
have had some experience with hard copy printing using X as I cant seem to  
find any documentation for it.

	Please email me as soon as possible.

	Thanks,

		-Ali
--
************************************************************************** 
****
**                       Life is a big debugging			     
**
**			 problem  :(					     
**
**			 with a few rewards and too many bugs !		     
**
** Email : ars@cunixf.cc.columbia.edu              Talk: (212) 663 4358      
**
************************************************************************** 
****
From: clin@eng.umd.edu (Charles Lin)
Newsgroups: fj.mail-lists.x-window
Subject: Opinions of X
Date: 15 Nov 92 21:30:28 GMT
Distribution: fj
Organization: College of Engineering, Maryversity von Uniland, College Park

Date: 15 Nov 92 01:40:46 GMT
Message-Id: <1992Nov15.014046.16078@eng.umd.edu>
Newsgroups: comp.windows.x


    Does anybody think there are alternative windowing programs on par
with X that will be developed in the future, or will so much work
and time that people have invested in learning X prevent anything
drastically or moderately different from being developed?

    What would a new windowing system have to do that would make
it competitive with X?  I can think of two issues that seem to
determine the success of a system, price and portability.

--
Charles Lin
clin@eng.umd.edu
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Newsgroups: fj.mail-lists.x-window
Subject: Correction (Re: xdm startup: Xsession exec fails ?)
Date: 19 Nov 92 21:33:50 GMT
Distribution: fj
Organization: VPI&SU Computer Science Department, Blacksburg, VA

Date: 12 Nov 92 23:41:03 GMT
Message-Id: <3799@creatures.cs.vt.edu>
Newsgroups: comp.windows.x

A small correction to my article <3798@creatures.cs.vt.edu>:
  
  >I have xdm setup with the following configurn on X11R4 (no XDCMP) :
  ...
  >  /usr/lib/X11/xdm/Xservers     (only local server; no foreign servers; no XDCMP)

That should be XDMCP. Sorry.

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
From: gjc@mitech.com (George J. Carrette)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Motif emulation of Xaw?
Date: 17 Nov 92 13:14:35 GMT
Distribution: fj
Organization: Mitech Corporation, Concord MA

Date: 16 Nov 92 11:04:26 GMT
Message-Id: <3637@mitech.com>
Newsgroups: comp.windows.x.motif,comp.windows.x

In article <1992Nov13.072126.2979@alf.uib.no>, iversen@dsfys1.fi.uib.no (Per Steinar Iversen) writes:
> (VMS+DECwindows/Motif), the Xaw libraries are not available.

Code to run Xaw libraries is available in VMSNET.SOURCES archives.
From: dd@adobe.com (David DiGiacomo)
Newsgroups: fj.mail-lists.x-window
Subject: Re: FLAME, FLAME ON X!!!
Date: 16 Nov 92 09:40:02 GMT
Distribution: fj
Organization: Adobe Systems Incorporated

Date: 10 Nov 92 00:44:28 GMT
Message-Id: <1992Nov10.004428.17556@adobe.com>
Newsgroups: comp.windows.x

In article <1992Nov9.235741.25166@dsd.es.com> pmartz@dsd.es.com (Paul
Martz) writes:
>In article <1683@igd.fhg.de>, baumann@igd.fhg.de (Peter Baumann) writes:
>> [ ... ]
>> 
>> Short after that, a colleague of the bad-luck guy occasionally
>> remarked, "Did you know that the X windows server never releases
>> memory space once acquired for image display? Each new image loaded
>> makes the X server address space grow until there's no more available."
>> And added, "This is a well-known bug of X". Well-known. Well...
>
>Care to tell us in which vendor's X is this a bug? I've certainly
>never heard of it before.

Paul, how disingenous of you.

Peter Baumann is obviously referring to a common and unfortunate
situation, in a garbled way.  The MIT sample server allocates and
deallocates pixmaps with C library malloc() and free() calls.  In typical
Unix C library implementations, free() never causes the process address
space to shrink.  Depending on the exact allocation strategy of malloc,
and the intervening client activity, it's quite likely that a client
displaying a series of images will cause the server to grow monotonically.

The usual solution to this problem is to modify the server to allocate
pixmaps (or at least large pixmaps) from a separate heap.  If they are
padded to page boundaries it is even possible to attempt to free swap
space on pixmap deallocation, but the effectiveness of this varies among
Unix VM system implementions.

--
David DiGiacomo, Adobe Systems, Mountain View, CA  dd@adobe.com
From: metrix!ama@bloom-beacon.MIT.EDU (Alan Amaral)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Load pixmap into pixmap
Date: 19 Nov 92 04:42:38 GMT
Distribution: fj
Organization: Metrix Network Systems Inc.

Date: 17 Nov 92 19:30:42 GMT
Message-Id: <890@metrix.UUCP>
Newsgroups: comp.windows.x

In article <1992Nov16.184809.2642@lsl.co.uk> snail@lsl.co.uk writes:
>In article <1992Nov7.142104.23123@alf.uib.no>, singg@alf.uib.no (Kurt George Gjerde) writes:
>> I use the following code for loading a pixmap and drawing it inside
>> another pixmap:
>> Are there any faster ways to do this?? 
>[deleted...]
>>                 if (XGetGeometry(dpy,userpixmap, &d_root, &d_x, &d_y, &width,
>>                              &height, &d_border_width, &d_depth)) {
>> 
>>                    image  = XGetImage(dpy, userpixmap, 0,0, width, height,
>>                                        1, XYPixmap);
>> 
>>                    XPutImage(dpy,win, gc,image,0,0,posX,
>>                              posY,image->width, image->height);
>>                    XPutImage(dpy,pixmap, gc,image,0,0,posX,
>>                              posY,image->width, image->height);
>
>swap the second XPutImage with an XCopyArea from the 'win' to the 'pixmap'.
>as follows:-
>                     XCopyArea(dpy, win, pixmap, gc,
>                               0, 0, image->width, image->height,
>                               PosX, PosY);
>> 
>>                    XFree(image);
>>                 }
>-- 

What you have suggested is NOT guaranteed to work, as the window may be
unmapped, or partially or totally obscured, and backing store may not be
available.  Thus the copy that you get (if you get anything) in the pixmap
may not be what you expect.

Doing the XPutImage to the pixmap FIRST, and then copying from the pixmap to
the window will work in any case...

So, the code would look more like this:

				...

                   XPutImage(dpy,pixmap, gc,image,0,0,posX,
                             posY,image->width, image->height);

                   XCopyArea(dpy, pixmap, win, gc,
                             0, 0, image->width, image->height,
                             PosX, PosY);

				...



Alan Amaral             |  Email: ama@metrix.COM
Metrix Network Systems  |  Voice: (603) 888-7000
-- 
Alan Amaral             |  Email: ama@metrix.COM
Metrix Network Systems  |  Voice: (603) 888-7000