HDTenEightyP/NetNews huggingface dataset:
From: wendy@brl.army.mil (Wendy Winner (VLD/VMB) <wendy>)
Newsgroups: comp.windows.x
Subject: Intro X11 classes for users
Date: 9 Apr 92 20:03:32 GMT
Reply-To: wendy@brl.army.mil
Followup-To: wendy@brl.army.mil
Organization: Ballistic Research Laboratory


	Our group is having a difficult time finding an entry-level
class to send our users who need to be introduced to X11R5 and the basics
of X dot files.  I would appreciate any suggestions on classes being
offered & experiences. There's no need to clutter this newsgroup, so
please just respond to me directly.

Thanks,
Wendy
Newsgroups: comp.windows.x
From: jsw@thalia.microunity.com (Jeff Weinstein)
Subject: Re: Caching pixmaps
Organization: MicroUnity Systems Engineering, Inc.
Date: Wed, 8 Apr 1992 21:23:28 GMT

In article <9204071559.AA01289@opus.starlab.csc.com>, bgendler@opus.starlab.csc.COM (Bruce Gendler) writes:
> I am writing an application that performs panning by 
> copying 300x300 pixel squares from a 600x600 pixel
> pixmap to a window.  I am using XCopyArea to perform
> the copy.  My questions are the following:
> 
> 1.  Are 90,000 bytes being sent from the program to
>     the X Server every time XCopyArea is called?

  No.  Pixmaps reside in the server.  If you were doing XPutImage()
or XGetImage() you would be passing the data between the client and
the server, but XCopyArea() is done entirely within the server.

> 2.  Is there a notion in X of caching the pixmap on
>     the server and only sending the server the copy
>     parameters rather than the 90,000 bytes?

  This is how pixmaps work.

	--Jeff

Jeff Weinstein - X Protocol Police
MicroUnity Systems Engineering, Inc.
jsw@microunity.com
Any opinions expressed above are mine.
From: quangd@wizard.UUCP (Quang Dangtran)
Newsgroups: comp.windows.x
Subject: xwd
Date: 9 Apr 92 02:18:42 GMT
Article-I.D.: wizard.9204090218.AA02331
Organization: The Internet


Does anyone know of a program to dump portion of a window to a file
in xwd format? With xwd it dumps the whole window to a file.

Thank in advance.

Quang
Please send reply direct to uunet!adac!wizard!quangd
Newsgroups: comp.windows.x
From: preece@urbana.mcd.mot.COM (Scott E. Preece)
Subject: Re: Question for net.views column in UNIX Today!
Organization: Motorola MCD, Urbana Design Center
Distribution: net
Date: Fri, 10 Apr 1992 14:32:13 GMT

From: dylan@ibmpcug.co.uk (Matthew Farwell)

| In article <1992Apr3.190000.23149@jato.jpl.nasa.gov> vsnyder@math.jpl.nasa.gov (Van Snyder) writes:

| >                           a REALLY GOOD Fortran development system with a
| >REALLY FAST compiler and REALLY GOOD debugger that knows Fortran, not just C
| >(Lahey),
| 
| I don't know how good GNU Fortran will be..., but gcc is rapidly
| becoming standard...
---
In fairness, PC compilers usually come with lots of goodies that are not
part of the gcc package -- editors, debuggers, libraries, application
frameworks, etc.  While the FSF base does provide *some* of those
things, many of them are not included in the gcc versions that a lot of
vendors are beginning to use as system compilers.  Nor are they things
that non-experts can port.  Many of the popular PC compiler packages are
closer to what UNIX people would have to pay "Integrated Development
Environment" prices for.

--
scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
uucp:	uunet!uiucuxc!udc!preece,	 arpa:	preece@urbana.mcd.mot.com
phone:	217-384-8589			  fax:	217-384-8550
Newsgroups: comp.windows.x
From: ziegler@nyquist.bellcore.com (Rob Ziegler 21324)
Subject: WANTED: good plotting/graphics utility for X
Summary: what's out there?
Keywords: plotting/graphics, DEC RISC
Organization: Bellcore
Date: Fri, 10 Apr 92 21:07:09 GMT

I am looking for an X client application for general plotting and 
scientific graphics (not drawing), either public-domain or commercial, 
that is available for DEC RISC-based CPUs (3100, 5000 series, etc.).

In the IEEE magazines that I receive, I see lots of ads for PC-based
programs, like Sigma Plot and Graftool, some running under Windows 3.0. 
Nice programs, wrong platform.

I also see lots of simulation and mathematics environments that include 
graphics capability as part of a larger package (Matlab, Mathematica,
Xmath, EEsof, Entropic, etc.).  Nice programs, but far more capability 
than I'm looking for and more than I'm willing to pay.

I just want to take data files produced by some other program,
written in some standard format, and plot curves, bar graphs,
and other displays of the data.  Some nice features would include

          -placement of labels, titles, etc. with mouse
          -ability to read a number of data file types
          -publication-quality output in a variety of formats 
           (esp. PostScript)
          -2D and "3D" capabilities
          -mixture of log and linear axis capabilities
      
I know about gnuplot, and that it can do some but not all of
the above.

Does anyone have any recommendations?  I'm pretty ignorant
of the X application world.

Thanks!

 -- Rob Ziegler -- ziegler@nyquist.bellcore.com -- (908) 758-3057 --
From: hutch@gothamcity.jsc.nasa.gov (Mark Hutchison [CSC])
Newsgroups: comp.windows.x
Subject: Re: CLIPS by NASA
Date: 16 Apr 92 17:19:03 GMT
Reply-To: hutch@gothamcity.jsc.nasa.gov
Organization: Software Technology Branch - NASA/JSC

CLIPS (C Language Integrated Production System) dates back
to 1984.  It is/was developed here at the Software Tech. Branch
of the Johnson Space Center.  My company (and my section) is 
responsible for the Help Desk and associated support for maintaining
it.  It has a very faithful following and the product is contstantly
improved and upgraded.  I think you are referring to COOL, which is
the CLIPS Object-Oriented Language extension of CLIPS.  It has wide
popularity because it's inexpensive and works on a wide variety of platforms.
If I recall the fliers they send out, gov't departments and gov't contractors
can get it free, academic institutions can also qualify under this, otherwise
I think it's $300 for source code, manuals and help desk priviledges through COSMIC.  
I have often heard comments to the effect that it is worth $300 just to have the manuals
and source code just to serve as a classic in software engineering.

I can see about sending you applications, etc.
Reply via email if you're interested.

Hutch
From: davy@ecn.purdue.edu (Dave Curry)
Newsgroups: comp.windows.x
Subject: Make text widget re-read a file in R4?
Date: 13 Apr 92 21:45:39 GMT
Article-I.D.: noose.1992Apr13.214539.17860
Reply-To: davy@ecn.purdue.edu
Organization: Purdue University Engineering Computer Network

My recently announced "xsat" program uses a single temp file for all its
data, and resets the text widget each time the file changes, as follows:

	FILE *tmpFP;
	Arg argList[2];

	....

	tmpFP = fopen(tempfile, "r+");

	....

	rewind(tmpFP);
	ftruncate(tmpFP, 0);

	... write data to tmpFP ...

	fflush(tmpFP);

	XtSetArg(argList[0], XtNstring, tempfile);
	XtSetValues(textWidget, argList, ONE);

This seems to work quite well under X11R5, but several people running R4
report that it does not work.  The data is making it to the temp file,
but never shows up in the text widget.

Is there something I'm missing as to how to make the text widget re-read
the data in the file?  Do I have to have a different file name each time?
Any help you can provide would be appreciated...

Thanks,
Dave Curry
davy@ecn.purdue.edu
Xref: sparky comp.windows.x:9816 comp.unix.sysv386:8415 comp.protocols.tcp-ip:2479
From: tneff@bfmny0.BFM.COM (Tom Neff)
Newsgroups: comp.windows.x,comp.unix.sysv386,comp.protocols.tcp-ip
Subject: Cannot create address for system xxxxx
Date: 9 Apr 92 20:02:51 GMT
Reply-To: tneff@bfmny0.bfm.com (Tom Neff)
Followup-To: comp.windows.x

Can anyone tell me what the error message

	Cannot create address for system xxxxx

means, where 'xxxxx' is the name of another system on the network?  I am
getting this from X clients I try to attach to other systems' servers.
What is likely to be misconfigured?  Thanks in advance...

-- 
"Why don't you get me some coffee while   ||[]||   Tom Neff
  I'm looking over your application?"      /\/\    tneff@bfmny0.BFM.COM
Xref: sparky comp.windows.x:9883 sci.geo.geology:1039
From: larsonb@taurus.cs.nps.navy.mil
Newsgroups: comp.windows.x,sci.geo.geology
Subject: Ada & Xlib Code for Carto. Maps
Keywords: Ada X Cartographic Map
Date: 11 Apr 92 01:00:54 GMT
Organization: Naval Postgraduate School, Monterey CA



WANTED:
I'm looking specifically for any Ada source code that draws 2D vector
cartographic maps in an X window (X11R4 and SunOS UNIX).  It would be
ideal if this code used the STARS Ada Xlib bindings and was available
via the net.  Other features that would really help are the abilities to
interactively zoom and SMOOTHLY scroll the map.

Any (Ada or C) examples of smooth scrolling in a plain X window would
be greatly appreciated.  When I mention SMOOTH, I mean the drawing
does not flicker when moved in any direction.  I have been told this
is possible although I have only seen this in list-like widgets.

SO FAR I HAVE:
- a copy of a really slick program written in C by Warren Tucker.  You
may have seen it released on the net back in Feb.  I'm in the process
of translating part of it to Ada but it's slow going.  The map can be
zoomed but not scolled.  Map data is included so I am NOT looking for
any sources for that.  As far as I know, Warren's program is one of
the few, if only, widely available application like this.  He too did
a search and ended up writing it himself.
- some masters' theses code that displays some symbols, but has no map
data or scrolling examples in X.
- a variety of X books and the like, but no good example of smooth
scrolling in a bare-bones X window.

SO FAR I HAVE LOOKED:
- far and wide using Archie, newsgroup monitoring, local resources,
multiple net systems (STARS, Ada Repository, etc.) and FAQ lists.  I
realize I may have missed something in these areas so any pointers
would be highly appreciated.

CAN YOU HELP?
- if so, PLEASE send me some email.  You will get a definite plug in
my project paper.  Thanks.


Ben Larson                                   larsonb@cs.nps.navy.mil
Monterey, CA
Newsgroups: comp.windows.x
From: witr@rwwa.COM (Robert Withrow)
Subject: Odd xfig/server behavior...
Reply-To: witr@rwwa.com
Organization: R.W. Withrow Associates
Distribution: usa
Date: Thu, 9 Apr 1992 21:04:43 GMT

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
Xref: sparky comp.windows.x:9984 comp.windows.x.motif:3204
From: nguyend@caip.rutgers.edu (Duc Nguyen)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: XRaiseWindow
Keywords: Window
Date: 14 Apr 92 15:03:57 GMT
Followup-To: comp.windows.x
Organization: Rutgers Univ., New Brunswick, N.J.


I can't figure out why XRaiseWindow only works when I use

  win = XCreateSimpleWindow(display,RootWindow(display,screen_num),
        x,y,width,height,border_width,WhitePixel(display,
        screen_num), BlackPixel(display,screen_num));

to create a simple window. Using the intrinsics or the UIL (Motif)
to create the widget and then calling XRaiseWindow (after it's been
covered) doesn't seem to work. Can anyone give me a hint ? I'm
really stuck. Also, thanks very much to all those who sent me mails
erning the clientDecoration problem. Please response to
  nguyend@caip.rutgers.edu
Newsgroups: comp.windows.x
From: aw@jello.bae.bellcore.com (Andrew Wason)
Subject: Re: Need help with Pixmaps and Athena Widgets.
Reply-To: aw@bae.bellcore.com
Organization: Bell Communications Research
Date: Wed, 15 Apr 92 17:28:50 GMT

In article <1992Apr11.073750.5883@latcs1.lat.oz.au>, beilby@latcs1.lat.oz.au (Scorpius) writes:
> 
> 	I'm trying to produce a pixmap from a raster file to display in
> a athena label widget.  The program compiles, but instead of the image
> showing up in the label widget, it apears transparent (ie can see the window
> [...]
>    Pixmap *pixmap;
> [...]
>    label = XtVaCreateManagedWidget(
> 		"Picture",		/* widget name.	 */
> 		labelWidgetClass,	/* widget class. */
> 		form,			/* parent widget. */
> 		XtNfromVert,quit,
>                 XtNbackgroundPixmap,pixmap,
> 		NULL);			/* End of args list. */
> [...]
>    pixmap = XCreatePixmap(theDisplay, RootWindowOfScreen(XtScreen(topLevel)),
> 		WIDTH, HEIGHT, theDepth);

You are using the 'pixmap' variable before it has been initialized
(also, it shouldn't be declared as a pointer to Pixmap).
Anyway, 'pixmap' probably happens to contain 0, which is the same as None.

A backgroundPixmap of None would get the behavior you describe.


Andrew
_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
Newsgroups: comp.windows.x
From: stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: Getting Window ID
Keywords: WINDOW Colormap
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Fri, 10 Apr 1992 10:14:32 GMT

stoeckli@disuns2.epfl.ch (Laurent Stoeckli) writes:

>I have to translate an application from GPR to XWindow and I have 3 questions
>to you gurus.

>1) I would like to get the window ID of the xterm from which I call my program.
>   I haven't found how to do it and I wonder if it is possible.

Use XQueryPointer immediately after starting your application. The cursor
will be within the staring-xterm and XQueryPointer passes the window-id.

>2) I haven't found either how to know how full is a colormap, i.e. how much
>    entries are not used. 

Check this with XAllocColorCells by starting with a max-value and decreasing
this value after fail-status. Leave this loop after succes-status.

>3) The station on which I work has 2 visual : a PseudoColor and a DirectColor,
>   is it normal that I can't use shared colormaps ? 

You SHOULD use shared colormaps. It's one of the basic ideas in X. Use the macro
DefaultColormap and allocate your colorentries there.

Hope this helps,

	Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
From: baechtel@iccgcc.decnet.ab.com
Newsgroups: comp.windows.x
Subject: What is XtPointer?
Date: 13 Apr 92 11:45:47 EST


I am having trouble compiling a xdbx which uses the Zaw library.
Both use a variable type call XtPointer, but I can not find
this defined anywhere in Xaw or Xt.

Does anyone know where this is defined?
From: 0003374731@mcimail.COM ("Scott D. Reinhardt")
Newsgroups: comp.windows.x
Subject: Bulletin board list
Date: 17 Apr 92 05:34:00 GMT
Organization: The Internet

Please send a list of subscribable bulletin boards.

Thanx,
Scott Reinhardt
From: jennie+@IUS5.IUS.CS.CMU.EDU (Jennifer Kay)
Newsgroups: comp.windows.x
Subject: xpr question
Date: 14 Apr 92 15:47:07 GMT
Organization: School of Computer Science, Carnegie Mellon
Originator: jennie@IUS5.IUS.CS.CMU.EDU


I have used xwd to save a bunch of windows. If I do an xpr  with minimal options,
and print the result, My image looks sort of like this on the paper:

    ---------------------------
    |                          |
    |                          |
    |     XXXXXXXXXXXXXX       |
    |     XXXXXXXXXXXXXX       |
    |     XXXXXXXXXXXXXX       |
    |     XXXXXXXXXXXXXX       |
    |                          |
    |                          |
    ---------------------------

What I want is to reduce the size of my image and put multiple ones on a page like 
this:

    ---------------------------
    | xxxxxx     xxxxxx        |
    | xxxxxx     xxxxxx        |
    |                          |
    | xxxxxx     xxxxxx        |
    | xxxxxx     xxxxxx        |
    |                          |
    ---------------------------

Actually, I don't care if my image ends up being landscape or portrait, and
if I can't put pairs of images next to each other can you at least tell me how
to append one below another. Here's what I have done:

xpr -device ps -header j1.1over -append j1.ps -portrait -psfig -height 2
.5 -top 0.1 j1.1over

xpr -device ps -header j1.1 -output j1.ps -portrait -psfig -height 2.5 -
top 0.1 j1.1

This resulted in a two page printout, each page with a small (2.5 inches high perhaps)
image in the bottom left hand corner.

So what should I be doing?

Thanks, 

-- Jennie
Newsgroups: comp.windows.x
From: bds@woim.id.macsch.com ()
Subject: Re: Colormap Structure
Organization: MacNeal-Schwendler Corp.
Date: Tue, 14 Apr 92 16:04:28 GMT


u might also make a separate program that displays the currently installed
colormap.  You would listen for COlormapNotify events and then do your inquiry
of what is the installed colormap.  I have such a program and it has helped
to solve many a bug.  Ask anyone who worked on the Unigraphics graphic's drivers

If you would like, I could send you a copy of the code.

Barry
From: ahsiung@bbn.com (Anita Hsiung)
Newsgroups: comp.windows.x
Subject: Re: Motif vs Open-look vs X
Date: 7 Apr 1992 23:42:22 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Reply-To: ahsiung@labs-n.bbn.com (Anita Hsiung)
NNTP-Posting-Host: bbn.com

mark@telesys.ncsc.navy.MIL (Williams) writes:
>>  We are planning to build a large windows application
>>  and would like suggestions on the following     
>>  topics:

My responses are off the top of my head and opinions are mine only...

>>    1. What platform should we select? (Motif, open-look, basic X)

X Athena Widgets -- It's free, there is already a large amount
	of documentation (quality is questionable..), probably very
	portable.  Pretty flexible.  However, it doesn't look the
	greatest.

Motif/Open Look -- Commercial, so you have to pay.  With this payment,
	you would receive probably more support in terms of
	consulting.  They both look nice (I like Motif better) with
	more 3-D effects, documentation is confusing (different
	authors say different things and there are outright errors in
	many manuals) but if you know what you're doing, it's a little
	bit "easier" and quite flexible.

>>    2. What programming tools are available to assist software 
>>       development in the selected environment?

Hmm..  There are a few packages that help you create user interfaces,
I believe Sun produces one and some other small software companies may
have some, BUT, from what I've heard (I haven't tried any of them) you
have to be a C, UNIX and X expert already to learn them, or the code
they create is too muddled for use, or by the time you learn how to
use them, you could have created all the code by typing in the first
difficult widget, then using cut-and-paste.

>>    3. Other pointers/suggestions for windows programming
>>       development.

Go slowly.  Create one parent widget, compile, look at it.  Add one
child, compile, look at it.  Add one more child, etc...  After that,
cut-and-paste!

Good luck!
 Anita 

---------------------------------------------------------------------------
| Anita Hsiung       |                                                    |
| ahsiung@bbn.com    | "Roads?  Where we're going, we don't need roads!"  |
| BBN, Inc.          |                               Doc Brown            |
| Canoga Park, CA    |                                                    |
---------------------------------------------------------------------------
From: converse@expo.lcs.mit.EDU (Donna Converse)
Newsgroups: comp.windows.x
Subject: Re: X11R4 bugs list???
Date: 10 Apr 92 17:03:36 GMT
Organization: X Consortium, MIT Laboratory for Computer Science


> Where can I get an X11R4 bugs list???

This is amusing, forgive me.  Are you interested in the bug reports 
received against R4 that were fixed in R5, or the ones which were received
against R4 and fixed in the public patches for R4, or the ones received
against R5 which are also bugs in R4, or the ones that have been received
and never fixed?  I'm not serious, I hope you aren't too serious either.

Bug reports against the core distribution of software from the X Consortium
are available to companies and institutions which are members of the X
Consortium.

For information on the X Consortium, see the XCONSORTIUM manual page.


Donna Converse
From: adelt@imada.ou.dk (Adel Shavandi)
Newsgroups: comp.windows.x
Subject: Source code for othello wanted ...
Summary: Source code for othello wanted
Keywords: Source code for othello
Date: 15 Apr 92 13:16:40 GMT
Organization: Dept. of Math. & Computer Science, Odense University, Denmark




Does anybody knows if one can get the source code for 'othello' somewhere?
I am also interested in some alternatives which do the same kind of anima-
tion. I will really appraciate any kind of hints.



		Thanks in advance,

				Ade`l
Newsgroups: comp.windows.x