HDTenEightyP/NetNews huggingface dataset:
From: joe@athena.mit.edu (Joseph C Wang)
Subject: Why does creating an artificial XtTypedArgList break Xt?
Followup-To: poster
Organization: Massachusetts Institute of Technology
Date: Fri, 17 Apr 1992 07:42:35 GMT


I am building an application in which I need to create widgets from
resource lists consisting of strings.  Because, I need to specify the
resources lists in string format, I can't use the normal ArgLists,
because I have no way of knowing what type of resource the widget
needs.

Right now, I create all my widgets with unique names, and add each string
to the resource database before creating the widget.

What I'd like to do is to have specify a XtTypedArgList list similar
to what is used internally to process XtTypedArgs in the varargs
interface.  My attempts to hack something to do this have been
unsuccessful.  (See code below)

The error I get is that my display widgets seem to be ignoring all of
the resources (both the the resource database and in my arg list) that
get sent to it.  Also, if a widget needs a resource of type XtRString,
Xt complains that there is no type converter from XtRString to
XtRString, the resource converter gets confused, and the application
dies shortly thereafter.

My questions:

1. Obviously, I'm tripping over some stuble point of Xt internals.  What is
it?

2. Is there a better way of doing what I am trying to do?  It would be nice
if I could find out what type of resource a widget is expecting given the
resource name.

3. Elsewhere in the application, I'm using XtVaSetValues with XtTypedArg.
This is painfully SLOW.  What can I do to speed it up?

Please reply by E-mail. 


***** Sample Code (in C++)

typedef struct _XtTypedArg* XtTypedArgList;

typedef struct _XtTypedArg {
    String      name;
    String      type;
    XtArgVal    value;
    int         size;
} XtTypedArg;

#define XtSetTypedArg(arg, n, v, t, d) \
    ((void)( (arg).name = (n), (arg).value = (XtArgVal)(v), \
             (arg).type = (t), (arg).size = (int)(d)))

widgetize()  {
  XtTypedArg typed_args[1024];
  Cardinal count = 0;
  XtSetTypedArg(typed_args[count], 
		XmNleftAttachment, XmATTACH_POSITION, NULL, 0);  count++;
......
    for (int i = 0; number_resources; i++) {
        XtSetTypedArg(typed_args[count],
                      resource_type[i],
                      resource_value[i],
                      XtRString,
                      strlen(resource_value[i]) + 1);
        count++;
      }
......

  typed_args[count].name = NULL;
  widget = _XtCreateWidget(Name.Chars(),
			   widget_class, 
			   widget_parent_of_this,
			   (ArgList) NULL, (Cardinal) 0,
			   typed_args, count);

Newsgroups: comp.windows.x
From: smitty@es.com (Maurice Smith)
Subject: Re: colors
Reply-To: smitty@dsd.es.com
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Date: Fri, 10 Apr 92 15:17:17 GMT

In article <920409093500.21800e3a@hdsc.ssc.af.mil>, CFRAZIER@hdsc.ssc.af.MIL (C | C Code | C Code Run, please!) writes:
|> 
|> I'm running  Motif  on a VAX and have noticed that my colors aren't consistent 
|> from terminal to terminal.  I'm having a heck of a time with the colormaps and 
|> someone out there please offer some code to help me with this.  thanks.
|> 
|> I've worked over 30 hours on just getting the colors the act right.  Can anyone 
|> offer me any advice.  I've already gone over schedule for this thing.  
|> 
|>  p.s.  Are there any dial-up BBSs that support Motif discussion?
|> 
|> cfrazier@hdsc.ssc.af.mil
|> 
|> 

	I would only expect the colors to be consistent if the "terminal"s
	were from the same vendor and had the same display hardware.  If this is
	true then the only way to make them look the same is to be using the 
	same color maps and have the hardware tweeked to the same reference.

	If the "terminal"s are from different vendors then you are into the
	"device independant color" problem which has no easy fix.  X11R5 has
	an excellent start with it's device independant color enhancements 
	but, good as it is, it can't work if the display hardware is not set
	up to match the characterization data.

	Good luck.
-- 
======================================================================
 Maurice Smith                     |  "It's easier to believe in God than to
 smitty@dsd.es.com  (use it!)      |   accept the blame ourselves."
 Evans & Sutherland Computer Corp. |  -- Solomon Short
 Salt Lake City, Utah              |  #include <standard_disclaimer>


Newsgroups: comp.windows.x
From: diaz@venice.sedd.trw.com (Phillip Diaz)
Subject: Colormap Structure
Organization: TRW Systems Engineering & Development Division, Carson, CA
Distribution: usa
Date: Mon, 13 Apr 1992 19:14:39 GMT


     I need to determine if a specific Colormap has been installed.
  I believe that I can accomplish this by using XListInstalledColormaps which
  returns a list of Colormaps. In X.h, Colormap is defined as:
    typedef XID Colormap where XID is an unsigned long.

  My question is, what is the structure, if any, of a Colormap? How do I 
  determine if Colormap  "colormap_name" has been installed?
Newsgroups: comp.windows.x
From: kuwa@nff.ncl.omron.co.jp (KUWARI Seiji)
Subject: X11R5 contrib/clients and contrib/lib/Xaw (i18n) patch part 3
Organization: The Internet
Date: Tue, 14 Apr 1992 17:59:23 GMT

I put a oficial patch part 3 for X11R5/contrib/clients (Internationalized
clients) from OMRON Corporation on export.lcs.mit.edu.
Files are:
  ~ftp/pub/R5/contrib-fixes/i18n-clients/patch3.README
                                         patch3.Z
It is to patch2.
This patch was confirmed on mit-patch-10.

Please read patch3.README


I put a oficial patch part 3 for X11R5/contrib/lib/Xaw (Internationalized
Athena Widgets Set) from OMRON Corporation on export.lcs.mit.edu.
Files are:
  ~ftp/pub/R5/contrib-fixes/Xaw/patch3.README
                                patch3.Z
It is to patch2.
This patch was confirmed on mit-patch-10.

Please read patch3.README

-----------------------------------------------------------------------
 Seiji Kuwari (kuwa@nff.ncl.omron.co.jp)
 OMRON Corporation		
				Phone: +81-75-951-5111 (ext. 3689)
-----------------------------------------------------------------------
Newsgroups: comp.windows.x
From: paul@elroy.jpl.nasa.gov (Paul Asmar)
Subject: window stacking order
Organization: Image Analysis Systems Group, JPL
Date: Wed, 15 Apr 1992 01:18:53 GMT


Is there a way to get the window stacking order of a set of sibling windows
in Xlib?  I know that you can use XConfigureWindow() and all the other window
manager type functions to change the stack order of a set of sibling windows,
but how can you get the stacking order?

XGetWindowAttributes() seems like it should be able to give you that
information, but it doesn't.

Anyone out there have any good ideas?


					Thanks,

					- Paul
-- 
--
Paul Asmar 	(paul@elroy.jpl.nasa.gov)
Jet Propulsion Laboratory
4800 Oak Grove Dr.  Pasadena, CA 91109 M/S: 168/522
Newsgroups: comp.windows.x
From: merlyn@iWarp.intel.com (Randal L. Schwartz)
Subject: Re: more on gcc2.1 X11R5pl10 sun3/sunos4.1 sun4/sunos4.1.2
Reply-To: merlyn@iWarp.intel.com (Randal L. Schwartz)
Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA
Date: Thu, 16 Apr 1992 08:57:29 GMT

In article <CHUCK.PHILLIPS.92Apr14072408@halley.FtCollinsCO.NCR.COM>, Chuck.Phillips@FtCollinsCO (Chuck Phillips) writes:
| >>>>> On 9 Apr 92 18:37:45 GMT, merlyn@iWarp.intel.com (Randal L. Schwartz) said:
| 
| Randal> X11R5pl10 compiled with gcc2.1 on the sparc under sunos4.1.2 compiles
| Randal> and installs fine and executes fine, *except*...
| 
| Randal> binaries compiled under "cc" won't run!
| 
| Randal> [ important part for gnu.gcc.help readers: ]
| Randal> apparently, gcc compiles code that calls routines normally found in
| Randal> libgcc.a.
| 
| Add -L/your/path/goes/here -lgcc to your Sun cc CFLAGS, and/or keep the gcc
| versions of the libraries in the gcc lib directory so only those using gcc
| will get gcc compiled versions.
| 
| Alternately, you can merge libgcc into libX11.a and link staticly.  You may
| (or may not) run into problems creating a dynamic link libX11 with libgcc
| merged in.  (Please post if you accomplish a working dynamic version of
| libgcc, merged or not.)

Neither of these solutions addresses either of the following *important*
issues:

(1) I have a whole bunch of compiled X code out there.  The moment I
installed the gcc-compiled shared libraries: >poof<... no more running
code.  This is rude, crude, and socially unacceptable.

(2) I have naive users that take packages off the net, drop them into
their directory, and try to say "make".  If I have to teach each one
about how to make it say "CC=gcc" somewhere (which doesn't even work
on some of the packages), it'll quickly become a full-time job for me
(and I'm already 120% booked -- sorry!).  Yes, if they use Imakefiles,
it'll work fine (because gcc will be selected), but I have seen a
number of PD packages that run from Makefiles directly.

RMS is aware of the issues, and is looking into the problem (according
to private mail).  Until then, he agrees:

*do not use gcc2 to compile the shared libraries*

You can do this by *not* defining gcc2 (although you lose a few other
cutesy things and don't get the -O2 switch) since pre-gcc2 didn't have
-pic so the shared libraries get compiled with cc.  Or you can do this
by skipping gcc altogether (my option for now, sigh).

I'll wait for the real patch someday, but I won't be waiting without
X11R5pl10 :-).

Just another X hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/
From: fout@kong.gsfc.nasa.gov (David Fout - RMS)
Newsgroups: comp.windows.x
Subject: speech/voice
Date: 10 Apr 92 16:42:17 GMT
Reply-To: fout@achilles.gsfc.nasa.gov
Organization: RMS


Hi, I am starting to look into speech/voice systems for an application that
I am building.  I have found plenty of information about systems running
with PCs and MS/DOS, but nothing on voice recognition systems that run in
the UNIX, X, Motif  world.  I would like a system that traps the voice
input and returns the interpreted value to my application as any other user
event (e.g., mouse, keyboard).

Does anyone have experience with this or have some leads of companies that
might have such a voice system?

Thanks,

Marti Szczur
NASA/GSFC
email: mszczur@postman.gsfc.nasa.gov
From: mahan@tgv.COM (Patrick L. Mahan)
Newsgroups: comp.windows.x
Subject: RE: X-Toolkit "PushButton" widget
Date: 6 Apr 92 18:55:53 GMT
Organization: The Internet

#
#Hello Guys,
#This is the first time I am posting to this newsgroup. I am just trying to use
#the X-Toolkit library. I am unable to find file "PushButton.h" for the 
#pushbutton widget. I looked in the directory that contains the Athena
#widgets. We are running the X11 version 4. I have talked to the system
#administrator at our location and they couldn't find it either.
#I also tried at the 'export.cis.mit.edu" node but the PushButton Widget
#is not there. 
#

Look for the include file "command.h" under X11/Xaw/.  Pushbuttons in
the Athena widget set are known as command buttons.

#
#I have just started to use the X-Toolkit, so pardon me if the above questions
#seem simple, but I need an answer.
#

Also, get the Athena user's guide printed out and use that as a reference.

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: anderl@kommu.UUCP (Horst Anderl)
Newsgroups: comp.windows.x
Subject: FONTS in bdf format (iso8859)?
Date: 16 Apr 92 11:21:58 GMT
Organization: Siemens AG, AUT OIL NI Lab's Franconia, (Erl.)

Hi :-

I'm looking for ISO-8859 fonts in bdf format (e.g. ftp-sites). 
Any hints are very much appreciated!

Horst

--
-- 
NAME   Horst Anderl
EMAIL  anderl@kommu.erls01.siemens.de  {uunet|...}!unido!kommu!anderl
SMAIL  Siemens AG, ANL A432/WF, Postfach 4848, D-8500 Nuernberg, Germany
PHONE  +49-911-895-3998, +49-911-895-4127, +49-9133-5356
FAX    +49-911-895-4943
From: nealet@syma.sussex.ac.uk (Neale Type)
Newsgroups: comp.windows.x
Subject: Does scrabble for X-windoes exist??
Date: 8 Apr 92 09:33:19 GMT
Organization: University of Sussex


Does nyone know if a version of scrabble exists for X-Windows ???

thanks
Neale

-- 
------------------------------------------------------------------------------
Neale Type , Computing Service      ///   |   * Current UK Kickoff Champion *
University of Sussex, Falmer    \\\///    |     nealet @ syma.sussex.ac.uk 
England.   BN1 9QH               \X//     |      ccfe7 @ cluster.sussex.ac.uk
From: dmm@cfa.harvard.edu (David Meleedy)
Newsgroups: comp.windows.x
Subject: X11R5, fs
Date: 15 Apr 92 21:06:06 GMT
Reply-To: meleedy@cfa.harvard.edu
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA,  USA


Hello,

	I have recently installed X11R5 on our sun4/4_1_1 system... I want to
start up the font server but am a little confused about how to do this.  I
know I can just start up the fontserver itself in the rc.local file... But
what I want to know is how to integrate the use of the fontserver by all the
clients.  Do I have to add something to startx?  Also, how would I get xdm to
use the fontserver.

Any help would be greatly appreciated...

-David Meleedy

p.s.  btw, we are using the Andrew File System, so I had to rename fs to Xfs, and
I also changed the port number it runs on to DEFAULT_FS_PORT 6010 .. hopefully
this won't hamper things.

-- 
=======
David Meleedy				Smithonian Astrophysical Observatory
meleedy@cfa.harvard.edu			60 Garden Street, MS 70
Phone: 617 495 7252			Cambridge, MA  02138  USA
From: gbol@rglnext.geol.vt.edu (Gregory Lampshire)
Newsgroups: comp.windows.x
Subject: how do you hide the mouse via Xlib or Xt calls?
Keywords: X, mouse
Date: 15 Apr 92 23:58:05 GMT


The subject line ask my question.  Thanks ahead of time.



--
Gregory Lampshire 
Virginia Tech NeXT CC
Bradley Department of Electrical Engineering
laural@vttcf.cc.vt.edu
gbol@rglnext.geol.vt.edu (preferred) NeXTmail welcome
------------------------
Newsgroups: comp.windows.x
From: imp@solbourne.com (Warner Losh)
Subject: Re: Motif vs Open-look vs X
Organization: Solbourne, User Interface Group
Date: Thu, 9 Apr 1992 18:35:13 GMT

Just as aside, OI, which implements OPEN LOOK and Motif, doesn't
require a royalty fee when you ship products linked against it.
Shared libraries don't cost any more or less...

Warner
-- 
Warner Losh		imp@Solbourne.COM
If it can't be done with Emacs, you are being too ambitious.
Newsgroups: comp.windows.x
From: swispl@solomon.technet.sg (SW International)
Subject: Printing Call in X
Organization: National University of Singapore
Date: Fri, 10 Apr 1992 01:50:24 GMT

Greetings World,

First, confession time... "I am a Green-Horn (minimal initiation) to X".

Next, my question...
I am trying to print the contents of a window (ie. bitmap,pixmap,images)
to a printer from within my APPLICATION. I know that one can print using
the X client, but that is not what I want to do. Can someone please 
point me in the right direction (ie is there an X routine to call or a
sequence of calls). Also, what kind of process response time am I looking 
at, from the time I initiate the print to the time the printer starts 
receiving/printing?

Thanks...

Alvino...



--
SW International Systems Pte Ltd     |  "I've got a plan so cunning 
    14, Science Park Drive           | you could put a tail on it and
    Singapore Science Park           | call it a weasle".. Black Adder
    Singapore 0511                   | 
    (65) 778-0066                    | swispl@solomon.technet.sg
From: hkp@daimi.aau.dk (Hans K|hling Pedersen)
Newsgroups: comp.windows.x
Subject: Radio-buttons in Athena-Widgets
Date: 6 Apr 92 18:14:35 GMT
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark

We would like to use radio-groups in Athena-Widgets. If anyone has a simple
example, we would very much appreciate if you would send it to us.
Thanks in advance - Hans K. Pedersen & Leon Mortensen, Denmark.
e-mail: hkp@daimi.aau.dk
 
Newsgroups: comp.windows.x
From: cmenser@isis.cs.du.edu (Charles Menser)
Subject: OpenWindows 2.0 and LPMud conflict
Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
Distribution: usa
Date: Sat, 11 Apr 92 14:24:09 GMT


Currently there are two MUDs (Multi User Dungeons) on our Sun4, I recently
tried to use Openwindows 2.0, the Sun4 just inherited a bit-map console :)
h
When the muds are not running, I can start Openwindows. At such times, if
a mud player tries to login to the game, XNews complaines about security 
violations, and repeated failed attempts to login.

When the muds are running, and I try to start Openwindows:
- The screen clears and the Openwindows logo appears
- The screen clears (to white with a 1/4" tall grey bar across the screen
giving up.
xinit: Connection refused (errno 61): unable to connect to X server

Lastly, the muds reside on ports 200 & 2001 and 3000 (perhaps 3001 as
well).

Please direct email to: cmenser@vyonous.kennesaw.edu

Thanks,
Charles

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Charles D. Menser               !  "... and even if you choose not to decide,
cmenser@vyonous.kennesaw.edu    !           you still have made a choice."
From: eric@pencom.com
Newsgroups: comp.windows.x
Subject: Re: Using color masks in XImage structure
Date: 7 Apr 92 22:50:14 GMT
Distribution: usa
Organization: Pencom Software

In article <1992Apr7.185407.24669@colorado.edu> micah@tramp.Colorado.EDU (MOORE  
MICAH L) writes:
> I am using XGetImage to get information about an image in
> a drawable. As a result, an XImage structure is returned with
> the information. Is it possible for me to use the red, green and blue
> masks in the XImage structure to find out the RGB colormap values?

Not necesarily,  these mask will be valid on visuals like TrueColor,
but not PseudoColor.  For PseudoColor, you must query the colormap.
Newsgroups: comp.windows.x
From: stevem@grok22.ColumbiaSC.NCR.COM (Steve McClure)
Subject: Re: Background processing in an x term
Keywords: motif,X11R5,xterm, background processing
Reply-To: Steve.McClure@ColumbiaSC.NCR.COM
Organization: NCR E&M Columbia
Distribution: na
Date: Tue, 07 Apr 92 13:51:36 GMT

In article <3084@babcock.cerc.wvu.wvnet.edu>, vedati@watoga.cerc.wvu.wvnet.edu (Krishna Vedati) writes:
|> Hi
|> 
|> I dont't know how to put this question.
|> I am using X11R5 and motif 1.1 on sun3/470(SunOS 4.1.1 1)
|> 
|> My Server m/c is X and I open up a xterm  on m/c Y and display it
|> on the m/c x .In the y's window I set the display to m/c x
|> ,and if I run emacs &  in the Y window. it doe't pop up any emacs window inturn it will give an error message
|> 	
|> 	 " Stopped (tty output) emacs "
|> 
|> Any help please send me email to 
|> 		vedati@cerc.wvu.wvnet.edu
|> 
|> Thanks
|> 
|> vedati.
|> 
|> PS: m/c stands for matchine.
|> 

Sounds like a problem I've seen on SVR4 systems when using ksh.  Actually, it
it not a problem or an error but a feature of job control.  The background 
process stops because there is "(tty output)" and expects a tty to output to.
I handled this in Mwm by turning off job control with "set +o", starting the 
window manager and then turning on job control with "set -o".

-- 
Thanks,

Steve McClure		internet:	Steve.McClure@ColumbiaSC.NCR.COM
NCR E&M Columbia 	uucp:		...!uunet!ncrlink!ncrcae!steve.mcclure
3325 Platt Springs Rd	Ma Bell:	(803) 796-9250
West Columbia, SC 29169
Disclaimer:	The above are my opinions and are not NCR official policy.
Newsgroups: comp.windows.x,comp.windows.x.motif
From: bport@boreal.owlnet.rice.edu (Bradley Jason Porter)
Subject: Re: REPOST: Looking for site/source to get Motif Virtual WM
Organization: Rice University
Date: Wed, 8 Apr 1992 04:39:34 GMT

In article <1992Apr8.031704.27527@nuscc.nus.sg>, scstech@solomon.technet.sg (Arthur Lim) writes:
> 
> Hi fellow-netters,
> 
> I posted a similar request earlier but have not gotten any replies. So
> here goes the request again.
> 
> I've heard that there exists a version of virtual window manager for
> Motif (most recently in the latest X FAQ). I am very interested in
> getting a copy of it. Can someone kindly point me to the source where I
> can obtain it (never mind if it is a beta, or buggy, or ...).
> 
> Thanks in advance for any pointers and hints.
> 
> 

Yes, I too would like to get a hold of this new gem!

Thanks in advance.
-- 
________________________________________________________________
Brad Porter		  |      The more you sweat during peace,
			  |       the less you bleed during war.
bport@owlnet.rice.edu     |         		- Sun Tzu
From: eyckmans@imec.be (Michel Eyckmans (MCE))
Newsgroups: comp.windows.x
Subject: Re: Is there a "watcher" (Console inactivity based xlock) for X11?
Keywords: inactivity xlock watcher
Date: 7 Apr 92 17:41:55 GMT
Reply-To: eyckmans@imec.be
Organization: IMEC vzw Leuven

In article <1992Apr6.195449.10054@ssd.kodak.com>, jmoore@ssd.kodak.com (James H. Moore 726-0322) writes:
|> I was asked if there was a program which would detect inactivity at a 
|> keyboard and automatically lock the console.
|> ...
|> empty.  Anyone know of such a utility?

 I recently announced the existence of such a thing on this newsgroup.
 The next thing I knew, I was drowning in a flood of requests to make
 it public, so I've mailed it to the moderator of comp.sources.x. It
 should be on the net someday soon (unless the moderator is on holiday
 of course.)

|> Thanks in advance!!

 You're welcome.

						  MCE
-- 
=============================================================================
#include <std/disclaimer>

M. Eyckmans (MCE)                                            eyckmans@imec.be
=============================================================================
Newsgroups: comp.windows.x
From: bobauer@cip.informatik.uni-erlangen.de (Bodo Bauer)
Subject: Motif and X11R5, help needed!
Organization: Student Pool, CSD, University of Erlangen, Germany
Date: Mon, 6 Apr 1992 21:47:08 GMT

Hi,

I've a problem with motif and X11R5 on an AT&T SVR4/386. The programs
compile fine and seemed to run, but when I tryed to use a scrollbar or 
any kind of slider, the programm terminates with a segmention fault.

I tried this with several programs, it always results in the same
behavior.

Perhaps I'm using the wrong Motif Version ?

In Xm.h are the following entries:

[...]
#define XmVERSION       1
#define XmREVISION      1
#define XmVersion (XmVERSION * 1000 + XmREVISION)
[...]

Is it 1.1 or 1.01 ?

Do I need to compile the motif-sources with in the X11R5 environment, or
can I use the 'good old' motif-library ?
 
Thanks in advance,
		Bodo
From: tl@bat.gsfc.nasa.gov (SSUID Tin Li)
Newsgroups: comp.windows.x
Subject: g++ 1.40 stream.h and X11R4 Intrinsic.h
Keywords: g++, streams
Date: 15 Apr 92 13:32:11 GMT
Article-I.D.: nsisrv.1992Apr15.133211.1459
Organization: Century Computing Inc.

When I compile the following simple program using g++ 1.4 on sun4

#include <stream.h>
#include <X11/Intrinsic.h>
main ()
{
cout << "This is a test\n";
}

I got the warning flock was first declared as extern then static.
It seems g++ has a function prototype declared for flock in std.h and
system include file /usr/include/sys/fcntlcom.h declared flock as a
struct.

I have to include Intrinsic.h for my Xt stuff and like to use the stream
package instead of printf etc.  Does anyone have similar problem?
Is there any workaround?   I compiled the same program using Sun's C++ and
had received no warning.

Thanks in advance.

Tin Li
Century Computing Inc.
Laurel, MD

tl@cen.com    or  tl@bat.gsfc.nasa.gov