HDTenEightyP/NetNews huggingface dataset:
From: boyd@phi.cs.fsu.edu (Mickey Boyd)
Newsgroups: fj.mail-lists.x-window
Subject: Re: vi, the home row, and PC keyboards
Date: 16 Apr 92 22:07:40 GMT
Distribution: fj
Organization: Florida State University Computer Science Department

Date: 16 Apr 92 15:25:55 GMT
Message-Id: <1992Apr11.114438.19258@mailer.cc.fsu.edu>
Newsgroups: comp.os.misc,comp.sys.dec,comp.sys.hp,comp.unix.admin,comp.unix.msdos,comp.unix.questions,comp.unix.sysv386,comp.unix.xenix.sco,comp.windows.misc,comp.windows.x

In article <1992Apr5.051847.26292@julian.uwo.ca>, crispin@csd.uwo.ca (Crispin Cowan) writes:
>In article <1992Apr5.012117.25191@news.eng.convex.com> datri@convex.com (Anthony A. Datri) writes:
>>>that takes my fingers from the home row--including mice, control-, and
>>If your keyboard doesn't have a control key on the home row, it's broken.
>
>Standard DOSy keyboard puts the control key down near the shift and alt
>keys.
>

PC keyboards can be purchased with switchable Ctr Alt CAP keys (I know, I 
just bought one).  Also, if you are using X, check out xmodmap and move 
the CTL key where it should be.  You should also be able to defeat the 
brain-dead placement of the <esc> key on most PC keyboards with this 
utility.

--
    ---------------------------------+-------------------------------------
             Mickey R. Boyd          |  "Come to your senses professor  
          FSU Computer Science       |     Fernberg.  You did not transcend 
        Technical Support Group      |     the time-space continuum.  You  
       email:  boyd@nu.cs.fsu.edu    |     got drunk in a topless bar."
    ---------------------------------+-------------------------------------
From: Mandyam.Srinivas@ho15.eng.ua.edu
Newsgroups: fj.mail-lists.x-window
Subject: R5 server on RS6000
Date: 17 Apr 92 09:53:54 GMT
Distribution: fj
Organization: University of Alabama

Date: 16 Apr 92 21:24:34 GMT
Message-Id: <9204170722.AA04710@ho15.eng.ua.edu>
Newsgroups: comp.windows.x


Hi everybody,


Sometimes, when I use the R5 server, the screen freezes, and the
only thing I can do is a reboot. I cannot do anything -- 
the mouse and the keyboard get locked. This happens, for example
when I load xfig, and at other times randomly. 

> Network Info
> ------------
> We have a network of 60 RS/6000 (320) machines, with AIX 3.1.5.
> There are 4 subnets, with 6 file-server (520) machines. X11R5
> has been installed on one of the servers now. All the 
> machines have it mounted under /usr/local, and can access
> the R5 clients, and server.

Thanks for any advice.

Srini.
-- 
Mandyam Srinivas            |   " You are young and life is long and 
msriniva@buster.eng.ua.edu  |     There is time to kill today   
                            |     And then one day you find ten years 
                            |          have got behind you
(205) 349-4136              |     No one told you when to run, 
                            |         you missed the starting gun"
        	            |                                 -P.F.
From: wjbaird@descartes.waterloo.edu (Warren Baird)
Newsgroups: fj.mail-lists.x-window
Subject: Questions about DECWindows under VMS
Date: 9 Apr 92 00:56:45 GMT
Distribution: fj
Organization: University of Waterloo

Date: Wed, 8 Apr 1992 11:30:11 GMT
Message-Id: <1992Apr8.113011.23572@descartes.waterloo.edu>
Newsgroups: comp.sys.dec,comp.windows.x


I have a few questions about DECWindows under VMS that hopefully
someone can help me answer.

I don't have access to any machines running DECWindows under VMS, so
I'm kind of working in the dark here.

1)  The information that I've seen implies that DECWindows under VMS is
an X11 varient, but I haven't been able to find the relationship
between various versions of DECWindows and the releases of X11.  Is
there an easy way to tell whether a version of DECWindows is X11R3 or
X11R4?

2) Is VMS DECWindows a full X11 distribution?  Does it support all of
the XLib toolkit?  Are there any other toolkits that are always
included?

3) Is there any easy way for X programs running under VMS (with the
DECNet protocol, I suppose) to communicate with X servers running under
Unix? (either Ultrix or otherwise)

4) Are there any special issues that have to be addressed in porting an
XLib-based program from Unix to VMS?

Thanks for your time,

Warren
From: neideck@kaputt.enet.dec.com (Burkhard Neidecker-Lutz)
Newsgroups: fj.mail-lists.x-window
Subject: Re: MITSHM Extension...
Date: 14 Apr 92 10:34:06 GMT
Distribution: fj
Organization: CEC Karlsruhe

Date: 14 Apr 92 07:09:37 GMT
Message-Id: <1992Apr14.070937.28516@PA.dec.com>
Newsgroups: comp.windows.x

In article <1992Apr8.195323.5873@thunder.mcrcim.mcgill.edu> leei@thunder.mcrcim.mcgill.edu (Lee Iverson) writes:
>
>Is there a simple portable way to do this?  The documentation seems to
>indicate that the XShmQueryExtension() call should actually do this,

No, the documentation doesn't say that. I tried at first to try to
decipher from DISPLAY whether I would be local, but that is error
prone and also messy when you deal with multiple possible transports.

When you think about it, all you are really interested is whether
the shared memory segment really exists (even if you're local, there
may be a limit on the number and size of such segments, meaning you
don't get one). So the logic I've used in my code is as follows:

	do all of the setup, up to XShmAttach

	XErrorHandler handler;

	XSync(dpy,0);
	attachfailed  = 0;
	handler = XSetErrorHandler(MyHandler);
	XShmAttach(dpy, &sp->shminfo);              /* Just try it         */
        XSync(dpy,0);

       (void) XSetErrorHandler(handler);           /* Critical time over */

where handler is the following routine:

	static int attachfailed;

	static int MyHandler(dpy,errorevent)
	Display * dpy;
	XErrorEvent * errorevent;
	{
  	  attachfailed = 1;
  	  return(0);
	}

If attachfailed is still 0 then it succeded, otherwise I need to clean up
the garbage at this point and go for a normal XImage instead.



		Burkhard Neidecker-Lutz

Multimedia Engineering, CEC Karlsruhe
Software Motion Pictures
Digital Equipment Corporation
neidecker@nestvx.enet.dec.com
From: mark@snark.itc.gu.edu.au (Mark Hessling)
Newsgroups: fj.mail-lists.x-window
Subject: Solution to strange video behaviour on X386 with ET4000
Date: 11 Apr 92 07:34:07 GMT
Distribution: fj
Organization: ITC, Griffith University, Brisbane, Australia

Date: 11 Apr 92 00:50:13 GMT
Message-Id: <mark.702953413@snark>
Newsgroups: comp.unix.sysv386,comp.windows.x


Firstly, thanks to those people who responded with assistance in resolving
my problem of getting X386 to run under ESIX v4 with a new ET4000 SVGA card
purchased especially for X386. The solution follows:

Firstly The Problem:
-------------------
The symptoms I was getting was a VERY out of sync image, but when I did get
an image that was stable, 4 images were displayed.

The Cause:
---------
The clock chip on my video card was actually running at twice the speeds that
clock.exe and X386 were telling me. This is apparently common with some newer
ET4000 based cards.

The Solution:
------------
- Apply the follwing source patch (if you have source) and/or obtain the X386
  binary from physics.su.oz.au in /tmp (called x386.test.Z) (This is the binary
  for ESIX v4)

*** mit/server/ddx/x386/drivers/et4000/driver.c.STD     Thu Apr  9 19:11:22 1992
--- mit/server/ddx/x386/drivers/et4000/driver.c Thu Apr  9 19:11:55 1992
***************
*** 346,352 ****
    new->std.CRTC[23] = 0xAB;
    new->StateControl = 0x00;
    new->AuxillaryMode =
!     (mode->Clock > 45) && !(mode->Flags & V_INTERLACE) ? 0xEC : 0xAC ;
    new->ExtStart = 0x00;
 
    new->OverflowHigh = (mode->Flags & V_INTERLACE ? 0x80 : 0x00)
--- 346,353 ----
    new->std.CRTC[23] = 0xAB;
    new->StateControl = 0x00;
    new->AuxillaryMode =
!     ((mode->Clock > 45) && !(mode->Flags & V_INTERLACE)
!      || !strcmp(vga256InfoRec.vendor,"hiclock")) ? 0xEC : 0xAC ;
    new->ExtStart = 0x00;

    new->OverflowHigh = (mode->Flags & V_INTERLACE ? 0x80 : 0x00)

- Change your Xconfig to include the following line after the Virtual Screen
  line:

Vendor  "hiclock"

- For those using the binary X386.test, it was compiled with SpeedUp-1.1
  patches applied so you need to make your virtual screen size to be 
  1024 1024.

- copy the X386.test server to the directory where your other servers are
  and point the symbolic link of X386 to it and start up X386.

- I was able to get good initial results with the standard video modes and
  they just needed some tweaking afterwards.

- If you intend creating custom video modes do all of your calculations with
  the figures reported by clock.exe and X386.

GOOD LUCK!

NB

*** ALL OF THE INFORMATION ABOVE HAS BEEN SUPPLIED BY David Dawes,
*** dawes@physics.su.oz.au WHO IS ALSO THE PERSON RESPONSIBLE FOR SUPPLYING
*** THE X386 PORT TO ESIX.  ALL PRAISE AND THANKS TO HIM, I JUST HAPPENED
*** TO BE THE FIRST TO BENEFIT FROM HIS GENEROSITY.
------------------------------------------------------------------------
Mark Hessling                         Email: mark@snark.itc.gu.edu.au
ITC                                   Phone: +617 875 7691
Griffith University                   Fax:   +617 875 7877
Nathan, Brisbane QLD 4111 Australia
------------------------------------------------------------------------
From: witr@rwwa.com (Robert Withrow)
Newsgroups: fj.mail-lists.x-window
Subject: Odd xfig/server behavior...
Date: 10 Apr 92 08:03:49 GMT
Distribution: fj
Organization: R.W. Withrow Associates

Date: 9 Apr 92 21:04:43 GMT
Message-Id: <1992Apr9.210443.9219@rwwa.COM>
Newsgroups: comp.windows.x

I'm using Xfig 2.1.3 on a X11R5P8 X386 system.  The little arrows in the rulers
that track the cursor are frequently covered with little bits of color or lines
or other stuff, depending on where the cursor is in the canvas.  With the cursor
in some positions the arrows look fine.  This doesn't seem to cause any problem,
but it is "curious".  I assume this might be a server bug, no?

Anyone else have this minor nit?

-- 
---
 Robert Withrow, R.W. Withrow Associates, Swampscott MA 01907 USA
 Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM
From: ebohlin@gmuvax2.gmu.edu (Einar D. Bohlin)
Newsgroups: fj.mail-lists.x-window
Subject: using xwd software
Date: 13 Apr 92 17:09:00 GMT
Distribution: fj
Organization: George Mason University, Fairfax Va.

Date: Mon, 13 Apr 1992 12:35:49 GMT
Message-Id: <1992Apr13.123549.21888@gmuvax2.gmu.edu>
Newsgroups: comp.windows.x


Hi,
 I am using the xwd software that I downloaded from somewhere (I
forget) and I have a small problem.  I am trying to dump screens from my
Sun workstation using xwd and then using the other software that comes
along with that stuff to convert the screen to PICT format to be used on
a MacIntosh.  Unfortunately it is trying to translate colors so that
when I finally get it to the Macintosh the outline around the buttons do
not show up.  Has anybody used this software.  Also I am losing all the
titles on my Motif dialogs.  If anybody knows what I am talking about
please HELP. Thanks in advance.

ebohlin@gmuvax2.gmu.edu
From: elmar@knipp.en.open.de (Elmar Knipp)
Newsgroups: fj.mail-lists.x-window
Subject: XVision 4.0 for PC and MS-Windows 3.1
Date: 12 Apr 92 00:27:49 GMT
Distribution: fj
Organization: Private/FRG

Date: 11 Apr 92 12:49:47 GMT
Message-Id: <1992Apr11.124947.21704@knipp.en.open.de>
Newsgroups: comp.windows.x

I still use XVision 4.0 on a PC under Microsoft-Windows 3.0 and
it works fine.

When I upgrated to Microsoft-Windows 3.1, the clients cannot
contact the PC-Server. Is this a known problem? Is XV 4.0 not
running under MS-Windows 3.1? I just heard, it should run.

Here are the results of starting a xterm:

% xterm -display at07:0.0
XIO:  fatal IO error 32 (Broken pipe) on X server ""
      after 0 requests (0 known processed) with 0 events remaining.
      The connection was probably broken by a server shutdown or KillClient.
%



Elmar

--------------------------------+-------------------------------------
Elmar Knipp                     |     Voice:       + 49 231 975015-0
Knipp Satz und Bild digital     |     Fax 3:       + 49 231 975015-80
Technologiepark                 |     Modem:       + 49 231 975015-82
Martin-Schmeisser-Weg 9         |     ISDN-Server: + 49 231 975015-831
4600 Dortmund 50                |     E-Mail:  elmar@knipp.en.open.de
Germany                         |        
--------------------------------+-------------------------------------
From: mahan@tgv.com (Patrick L. Mahan)
Newsgroups: fj.mail-lists.x-window
Subject: RE: XtToolkitInitialize and xrdb
Date: 10 Apr 92 01:37:35 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Thu, 9 Apr 92 11:19:28 PDT
Message-Id: <920409111928.20e0013e@TGV.COM>
X-St-Vmsmail-To: ST%"xpert@expo.lcs.mit.edu"

#
#When XtToolkitInitialize (or other related initialize function) loads the resources,
#what do they use? Do they use "xrdb" to load the resources? Can I have C preprocessor
#macros in my resource file?
#

No, it uses the Xrm utilties inside of Xlib.

#
#Is there a way by which the application can request the toolkit initialize functions
#to use "xrdb (with cpp)" or preprocess the resource file with "cpp".
#

No.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: johannes@ubka.uni-karlsruhe.de (Johannes Viegener)
Newsgroups: fj.mail-lists.x-window
Subject: xtank on DECstation 5000/200 ULTRIX4.2
Date: 14 Apr 92 00:38:13 GMT
Distribution: fj
Organization: University of Karlsruhe, Germany

Date: Mon, 13 Apr 1992 17:15:09 GMT
Message-Id: <1992Apr13.171509.3557@rz.uni-karlsruhe.de>
Newsgroups: comp.windows.x

Does someone has succesfully built xtank1.3d ona DECstation 5000/200?
All I got is a lot of errors, concerning redeclarations of malloc, etc.
Any help is appreciated!

Regards,  Johannes

-- 


+------------------------------------------------------------------------------+
| JOHANNES VIEGENER: johannes@ubka.uni-karlsruhe.de    Tel: (+49) 721-608-3133 |
+------------------------------------------------------------------------------+
| Universitaetsbibliothek Karlsruhe / Postfach 6920 / 7500 Karlsruhe / Germany |
+------------------------------------------------------------------------------+
From: stolcke@icsi.berkeley.edu (Andreas Stolcke)
Newsgroups: fj.mail-lists.x-window
Subject: Re: help!  gnu finger 1.0b won't run with X11 support!
Date: 11 Apr 92 02:20:37 GMT
Distribution: fj
Organization: International Computer Science Institute, Berkeley, CA, U.S.A.

Date: 10 Apr 1992 17:56:06 GMT
Message-Id: <s4krmINNckh@agate.berkeley.edu>
Newsgroups: comp.windows.x

In article <RG.92Apr10111904@nymph.msel.unh.edu> rg@msel.unh.edu (Roger Gonzalez) writes:
>
>When I try to start up the main server, it dumps out with a message like:
>
>ld.so: __XtInherit not found
>
>or something like that.  I'm running X11R5 on a SunOS 4.1.1 sparc.
>

One of the many, many problems with the original gnu finger is that it
links binaries that don't do any X stuff at all (like the various daemons)
with the full set of X libraries.  The proper fix to this a major reshuffling
of the source organization.

I suggest you try the version that's available in icsi-finger.tar.Z on
ftp.icsi.berkeley.edu in /pub/stolcke.

-- 
Andreas Stolcke					stolcke@icsi.berkeley.edu
International Computer Science Institute	stolcke@ucbicsi.bitnet
1947 Center St., Suite 600, Berkeley, CA 94704	(510) 642-4274 ext. 126
From: wu@rodin.wustl.edu (Yuan Lan Wu)
Newsgroups: fj.mail-lists.x-window
Subject: Help needed
Date: 12 Apr 92 20:42:03 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Sun, 12 Apr 92 13:33:08 CDT
Message-Id: <9204121833.AA09449@rodin.yp.cosc>

Dear Friend:

I am using Athena Widgets to create my application interface. I have 
some basic questions needed to be answered. Please contact me if 
anyone can help me. Thanks.

Alan
From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Non-echoing text widget for password entry
Date: 10 Apr 92 19:35:00 GMT
Distribution: fj
Organization: MIT Artificial Intelligence Laboratory

Date: 10 Apr 92 13:57:48 GMT
Message-Id: <23283@life.ai.mit.edu>
Newsgroups: comp.windows.x.motif,comp.windows.x

In article <BMHpHL.2DC@world.std.com> jlw@world.std.com (James L Walker) writes:
>In article <1992Apr9.180843.1605@lsl.co.uk> snail@lsl.co.uk writes:
>>In article <david.702575486@colt.cc.iastate.edu>, david@iastate.edu (David M. Martin Jr.) writes:
>>> I would like to use a Text widget to acquire a password from the user.
> ...  The best way to do this
>would be to have a special font which displays an 'x' or something for
>every character.

I believe that this would NOT be a good way to protect a password as the text
could still be clipped via mouse selection and pasted into an xterm, xclipboard,
etc.  Unless, of course, there's some way to prevent selection in a Text widget.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to:                      gillett@ai.mit.edu
From: jmoore@ssd.kodak.com (James H. Moore 726-0322)
Newsgroups: fj.mail-lists.x-window
Subject: Is there a "watcher" (Console inactivity based xlock) for X11?
Date: 7 Apr 92 01:57:15 GMT
Distribution: fj
Organization: Eastman Kodak

Date: Mon, 6 Apr 92 19:54:49 GMT
Message-Id: <1992Apr6.195449.10054@ssd.kodak.com>
Newsgroups: comp.windows.x

I was asked if there was a program which would detect inactivity at a 
keyboard and automatically lock the console.  Sort of a combination
of screensaver and xlock.  I knew that there was a program for
Sunview called "watcher" which had a little guy run around and
say cute things while locking the screen.

I realize that there are some good resource usage questions, and security
questions raised by the use of such a utility.  (I.E. should an
automatic lock be relied upon, and should anyone leave their desk
without a lock on their system.)  (I know of system managers who also
get tired of taking time to break automatic locks on workstations
for people who are on 2 weeks vacation and didn't bother to log out).

I have been asked to look for such an item, and so far have come up
empty.  Anyone know of such a utility?

Thanks in advance!!

					Jim Moore



-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - James H. Moore, The Software Warehouse, Eastman Kodak Co. 726-0322  -
- -  jmoore@ssd.kodak.com, PROFS: DDTC12(JMOORE)  VMS: DDTC12::JMOORE - -
- -  May your Easter be filled with communion and fellowship with Jesus - -
From: etxmesa@eos.ericsson.se (Michael Salmon)
Newsgroups: fj.mail-lists.x-window
Subject: Re: VI bug using X.
Date: 7 Apr 92 09:51:37 GMT
Distribution: fj
Organization: Ericsson Telecom AB

Date: 6 Apr 92 07:34:15 GMT
Message-Id: <1992Apr6.073415.22748@ericsson.se>
Newsgroups: comp.windows.x,comp.editors

In article <1992Apr3.031346.27292@sunspot.noao.edu>, hcohl@sunspot.sunspot.noao.edu (Howard Cohl) writes:
|> 
|>    Hi Folks,
|> 
|>    I am using the following setup:
|>      SPARCstation 2
|>      SunOS 4.1.1
|>      Sun NeWS server.
|>      twm (Tab Window Manager)
|> 
|>    I used sunview in the past and am now switching
|>    to X.  When I use VI to edit a file, it used
|>    to work that when I pressed an arrow key while
|>    I was in insert mode, it would take me out of
|>    insert mode and then go wherever the arrow pointed
|>    to.  Now that I am using an xterm in the above
|>    mentioned setup, when I enter an arrow key
|>    while I am in insert more, it doesn't take
|>    me out of insert mode and puts the letters
|>    A,B,C and D depending on which arrow I use.

It sounds like vi isn't recognising the ecscape codes that vi sends. Check the
"Enable Application Cursor Keys" entry in the control-middle menu of xterm and the
titeInhibit resource.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
From: xiong@shape.mps.ohio-state.edu ( )
Newsgroups: fj.mail-lists.x-window
Subject: Help needed for Xfonts
Date: 8 Apr 92 01:31:59 GMT
Distribution: fj
Organization: Department of Mathematics, The Ohio State University

Date: Tue, 7 Apr 1992 18:34:18 GMT
Message-Id: <1992Apr7.183418.6890@zaphod.mps.ohio-state.edu>
Newsgroups: comp.windows.x

I want to install cxterm which is a Chinese X window software. 
I have those Chinese fonts. But, my problem is: I can not install the 
fonts in the directories where our usual fonts are in. 
I have to install the fonts in a subdirectory of my home directory. 
I suppose, then, use "xset fp+ directory path" to set the
path so that I can use the fonts. However, after I did so, 
xset is always ignore the path I want. So, I can not use the fonts
at all. Can anyone give me some help? 

Our system is Sun4 with X11R5 windows. The fonts are orginally
in bdf formats. I can use bdftosnf to transfer the fonts to snf formats.

Please reply by email. I do not read the group often.

C. Xiong
Ohio State University.
From: solomon@pa621a.inland.com (Paul J. Solomon)
Newsgroups: fj.mail-lists.x-window
Subject: Help with mappedWhenManaged resource (for dialogs)
Date: 12 Apr 92 04:57:44 GMT
Distribution: fj
Organization: Inland Steel Company, East Chicago, IN

Date: 10 Apr 92 16:46:19 GMT
Message-Id: <1992Apr10.114619.1@pa621a.inland.com>
Newsgroups: comp.windows.x.motif,comp.windows.x

Greetings.

I'm working on an application in which I must popup various dialog
boxes.  Before popping up the dialog, I call XQueryPointer() so
that I can position the dialog box at the mouse pointer position.
Next, I "try" to get the width and height of the (not yet managed)
dialog box:  so that I can center it around the mouse x,y position.
This apparently does not work (because the dialog has not been
managed...)  I tried playing around with the mappedWhenManaged
resource of the dialog, but when I try to manage the dialog (just
before I get the width and height), the dialog gets mapped to the screen
anyway, regardless of the setting of the mappedWhenManaged resource.

Am I missing something?

Any help would be greatly appreciated!

-paul.
-- 
----------------------------------------------------------------------
| Paul J. Solomon            |  "Consequences, Schmonsequences...    |
| solomon@pa881a.inland.com  |       as long as I'm RICH!!!"         |
| Inland Steel Co.           |             -Daffy Duck               |
----------------------------------------------------------------------
From: kartik@hls.com (Kartik Chandrasekhar)
Newsgroups: fj.mail-lists.x-window
Subject: Printing a window
Date: 7 Apr 92 22:30:21 GMT
Distribution: fj
Organization: CS Dept, University of Texas at Austin

Date: 7 Apr 1992 12:20:26 -0500
Message-Id: <9204071718.AA16024@nms.netman>
Newsgroups: comp.windows.x

Hi
	Can somebody please suggest me a way to print out
a window in X from within an application. The situation is
as described below:

	The window has a print button which on being clicked
creates a dump (xwd ?) of the entire window  and then sends it
to the printer after proper conversion (xpr ?).  

	xwd seems to require the user to click on the window
to select it, and I would like to avoid this. 

	I would appreciate any help or code fragments.

	Thanks a lot.

ck
From: mravicha@rcsuna.csun (M. G. Ravichandran )
Newsgroups: fj.mail-lists.x-window
Subject: XtToolkitInitialize and xrdb
Date: 8 Apr 92 21:30:58 GMT
Distribution: fj
Organization: GM Research Labs

Date: 8 Apr 92 14:46:25 GMT
Message-Id: <81844@rphroy.ph.gmr.com>
Newsgroups: comp.windows.x.motif,comp.windows.x

When XtToolkitInitialize (or other related initialize function) loads the resources,
what do they use? Do they use "xrdb" to load the resources? Can I have C preprocessor
macros in my resource file?

Is there a way by which the application can request the toolkit initialize functions
to use "xrdb (with cpp)" or preprocess the resource file with "cpp".

Any help would be appreciated.

Ravi