HDTenEightyP/NetNews huggingface dataset:
From: kevin@sherman.sherman.pas.rochester.edu (kevin mcfadden)
Newsgroups: comp.windows.x
Subject: building X11R5 and applying patches
Date: 27 Jan 93 14:45:16 GMT
Distribution: usa
Organization: /u/irstaff/kevin/.organization


Hello everyone, I have two questions, neither I saw addressed in my
version of the faq.  

    The first concerns errors in the building of X11R5.  Everything works
fine up to the point where the following happens (almost at the end of the
entire build):

cc -o plbpex basestat.o bif_lex.o bifbuild.o bifconfig.o bifparse.o bld_prim.o  bld_str.o bld_view.o bldgeneric.o brf_ents.o brf_phead.o brf_trv.o  db_tools.o doentity.o dummies.o fakefigs.o new_ents.o gen_ents.o  init_bench.o listbufs.o maptools.o matrix.o  traverser.o brf_except.o fillcont.o pixbuf.o stopwatch.o -O -pipe  ../.././extensions/lib/PEX/libphigs.a -L../.././lib/Xmu -lXmu -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -lm  
ld: Undefined symbol
   _XtMalloc
   _XtGetConstraintResourceList
:
:
:

    There are also a whole bunch of errors similar that follow.   This has
been done BEFORE applying the patches, which the second question
addresses.

    The second question involves the difference between doing a 
"make Everything" and "make -k".  I assume that the first will
rebuild the entire distribution and that the second will only build
certain parts.  

Any help is greatly appreciated,

Kevin
----------------------------------------------------------------------------
Kevin McFadden                      The experiment (BIOSPHERE-2) seems to
University of Rochester             be converging on a general conclusion:
Department of Physics & Astronomy   humans can survive in the enviropod
Rochester, NY  14627                if there is an external source of air,
                                    food, and water.
                                                        Francis Slakey (APS)

	"Stimpy, go answer the flap!"	-- Ren
----------------------------------------------------------------------------
From: dpn2@po.CWRU.Edu (Damien P. Neil)
Newsgroups: comp.windows.x
Subject: Looking for a flowcharter (sort of)
Date: Wed, 27 Jan 1993 03:58:34 GMT
Organization: Case Western Reserve University
NNTP-Posting-Host: b63519.student.cwru.edu

Does anyone know if there exists a free program (GNU or otherwise) that 
simplifies the creation of flowchart-like diagrams? Specifically, I am 
looking for something that will make diagramming a database layout somewhat 
easier.

I would be running this under Xfree86 1.1 on Linux.

Many thanks!
-----
Damien Neil   dpn2@po.cwru.edu    "Until somebody debugs reality, the best
Case Western Reserve University    I can do is a quick patch here and there."
CMPS/EEAP double majoring masochist               - Erik Green
Newsgroups: comp.windows.x
From: hmchang@eecs.nwu.edu (Hao-Ming Chang)
Subject: compile xxgdb with g++ ?
Organization: EECS Department, Northwestern University, Evanston, Il., USA
Date: Mon, 25 Jan 1993 19:22:14 GMT

I would like to compile the xxgdb source codes using g++. Do I have to
modify the source codes a lot ? What should I do ?
Any help would be appreciated.


Newsgroups: comp.windows.x
From: sgccsns@citec.oz.au (Shayne Noel Smith 2245702)
Subject: XLOCK on DEC vxt2000???
Organization: CITEC
Date: Fri, 22 Jan 1993 03:17:01 GMT

I am having a heap of problems getting xlock to run on our
vxt2000's.  It works fine on the ncd's though..

Is there a patch ( I couldn't find one through ARCHIE) 
for xlock to make it work.

and no the vtx pause (like lock except you type in a passwd to start.)
is not a suitable alternative.

Please reply via email and I will post a summary if there is enough
interest.

Thanks

Shayne


|  Shayne Smith             |     Department of Family Services,  |
|                                 Aboriginal and Islander Affairs |
|  sgccsns@citec.oz.au   _-_|\    Queensland AUSTRALIA            |
|---------------------  /     *  ---------------------------------|
|  GPO Box 806          \_.-__/  These are my personal views only |
|  Brisbane                  v   My employer doesn't pay me       |
|  Qld, AUSTRALIA 4001      |    enough to think for them         |
From: gt0449a@prism.gatech.EDU (Rob Coleman)
Newsgroups: comp.windows.x
Subject: Re: An Xutil I'd like to see...
Date: 21 Jan 93 17:55:43 GMT
Organization: Georgia Institute of Technology

>I'd be willing to work on this myself, but I'm missing two things.
>The first is time, but I suppose I could find that if I tried hard
>enough.  The second is example source.  Namely, the source to xeyes
>(with shape extensions) and a method for reading the instantaneous
>load.  Being fairly new to X, I don't know where I might find these.
>If someone could give me a hint or two, I might get these files and
>look into just what this project would involve.

For the source, check this out:

Host toklab.ics.osaka-u.ac.jp

    Location: /X/X.V11R5/mit/demos
      DIRECTORY drwxrwxr-x        512  Aug 27 1991  xeyes
    Location: /X/X.V11R5/mit/demos/xeyes
           FILE -r--r--r--       4112  Jul 19 1991  xeyes.c
           FILE -r--r--r--       1463  Jul 30 1991  xeyes.man

The source for Xload is on export.lcs.mit.edu in
/pub/R5untarred/mit/clients/xload, and it includes several ways to get
the current load average on some systems.  The way that I do it (on
Linux) is via the /proc filesystem.  Makes the code much less
susceptible to change with kernel revisions.
-- 
Rob Coleman ][ gt0449a@prism.gatech.edu        ][  "I think I'm going bald!"
Comp. Sci.  ][ Georgia Institute of Technology ][        -Rush/COS
From: mikes@bioch.ox.ac.uk (Mike Smith)
Newsgroups: comp.windows.x
Subject: XOpenDisplay
Date: 21 Jan 93 14:42:50 GMT
Organization: Department of Biochemistry, University of Oxford
Originator: mikes@newton.bioch


Dear dudes,

I am a beginner into X programming, and am being frustrated by the following
three lines:

  Display *display;
  char *display_name = NULL;
  display=XOpenDisplay(display_name);

(of course I have #include <X11/Xlib.h> and #include <X11/Xutil.h> at the top).

It seems to work Ok on those rare occasions when I can get on the computer where
it is being executed from but otherwise I get a segmentation fault, when according
to the man pages I should wither get a Display structure from XOpenDisplay, or a
NULL.  I seem to be getting neither!

Cheers

Mike
Newsgroups: comp.windows.x
From: scott@winnetou.santafe.edu (Scott D. Yelich)
Subject: *HELP*  Athena asciiText
Date: Thu, 28 Jan 93 01:52:11 GMT
Organization: Santa Fe Institute


Hello.  I would like to present ASCII text in an Athena asciiText
widget and have one thing happen-- I would like the cusor to ALWAYS be
on the screen (ie: in the widget).  The ASCII text being presented is
something where I DO NOT want any wrapping at the right.  It may not
be possible to see the entire ASCII text-- for example, I may want to
display an ascii grid that is 200x200 CHARACTERS with a 20x20 "window"
into this grid.

....-------+
:  :       |
:..:       |
|          |
|          |
+----------+

There is my asciitext looking into the larger map... now, I want to
say "locate 100,100" and have the asciitext MOVE like this

+----------+
|   ....   |
|   :  :   |
|   :..:   |
|          |
+----------+

The problem is... if I move either or both the cursor and the insert
pointer, the DISPLAY WINDOW doesn't move.


Does anyone know how to make the cursor always be in the display area
(The documentation lies and says that it will always be in the display
area.)  I really would appreciate any help.

Scott
From: uhler@xsoft.xerox.com (Chris Uhler)
Newsgroups: comp.windows.x.announce
Subject: A Multi-Threaded Xlib 1.1
Date: 26 Jan 93 00:42:47 GMT
Distribution: inet
Organization: XSoft/Xerox, Palo Alto, Calif.

A multi-threaded version of Xlib (1.1) based on X11R5 patch 12 is now
available for anonymous FTP from:
        DEC on gatekeeper.dec.com (16.1.0.2) in /pub/X11/contrib/mt-xlib-1.1
        MIT on export.lcs.mit.edu (18.24.0.12) in /contrib/mt-xlib-1.1

This version, 1.1, contains many improvements over the 1.0 version,
including the fixes to several race conditions and deadlock bugs.  Also,
a few major performance improvements were put in this version.

The necessary files are:
   3 -rw-r--r--  1 ftp          3046 Jan 21 19:02 README
 112 -rw-r--r--  1 ftp        106235 Jan 21 19:02 mt-xlib-xhib92.ps.Z
1632 -rw-r--r--  1 ftp       1658123 Jan 21 19:03 mt-xlib.tar.Z

And they contain:
README                  - how to unpack and build the library
mt-xlib-xhib92.ps.Z     - the MT Xlib paper presented at Xhibition '92
mt-xlib.tar.Z           - the source code tree

Note:  Another paper was published at the USENIX Winter 1993 Technical
Conference.  It describes, in addition to the technical detail of
this library, the performance improvement and measurement that were
done since the 1.0 release.  The paper is copyrighted by the USENIX
and can be found under the title "Design and Implementation of a
Multi-Threaded Xlib" in the USENIX Winter 1993 Technical Conference
proceedings.

Currently the library supports Pthreads on OSF/1 from DEC and PCR on SunOS.

A mailing list is set up for discussion and development of this
implementation of multi-threaded Xlib:
        mt-xlib@xsoft.xerox.com

Send your add/remove request to/from the mailing list to:
        mt-xlib-request@xsoft.xerox.com

Please e-mail any feedback (good or bad) to:
        mt-xlib-comment@xsoft.xerox.com
From: aw@BAE.BELLCORE.COM
Newsgroups: comp.windows.x.announce
Subject: Xbae 3.8
Date: 22 Jan 93 16:06:37 GMT
Distribution: inet
Organization: Bell Communications Research

Release 3.8 of Xbae (the Motif XbaeMatrix and XbaeCaption
widgets) is available at export.lcs.mit.edu:contrib/Xbae-widgets-3.8.tar.Z.
There are no new features, just a couple of bug fixes.

If you can't ftp, try sending email to ftpmail@decwrl.dec.com
with the word "help" alone in your message body.  You will receive
instructions on how to ftp via email.

Xbae 3.8 fixes the following problems:

 * Changes so widgets compile under Motif 1.2.1
   Known problem: the XmTextField doesn't correctly register it's dropsite
 * Fix function prototypes in Matrix.h
 * Fix Caption so a Caption Pixmap will use the Captions
   XmNforeground resource
 * Include FrameMaker source files for docs


 XbaeMatrix:

   XbaeMatrix is a Motif widget which presents an editable array of
   string data to the user in a scrollable table similar to a
   spreadsheet. The rows and columns of the Matrix may optionally be
   labeled. Also, a number of "fixed" leading rows or columns may be
   specified - these behave similarly to the labels. While XbaeMatrix
   looks and acts like a grid of XmTextField widgets, it actually
   contains only one XmTextField.  This means that XbaeMatrix widgets
   with hundreds or thousands of rows have much less overhead than they
   would if they used an XmTextField for each cell. XbaeMatrix has
   callbacks for doing field validation and customizing traversal. It
   allows cells to be assigned independent colors.  It allows rows,
   columns and regions of cells to be selected (highlighted).  The matrix
   can be dynamically grown or shrunk by adding and deleting rows and
   columns at any position.

 XbaeCaption:

   XbaeCaption is a simple Motif manager widget used to associate an
   XmLabel (caption) with it's single child. The label may be either an
   XmString or Pixmap and can be displayed in any one of twelve positions
   around the perimeter of the child. XbaeCaption's geometry management
   technique is to simply "shrink wrap" it's child and display the
   caption alongside it.  By using XbaeCaption with an XmFrame child,
   groups of related widgets can be labeled similarly to the IBM CUA
   "Group Box", but with more flexibility.  XbaeCaption is also useful
   for associating labels with individual XmTextField widgets.



Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
From: vamsee@ABGEN.TAMU.EDU (Vamsee Lakamsani)
Newsgroups: comp.windows.x.announce
Subject: =======  The Free Widget Foundation(FWF) ======
Date: 22 Jan 93 16:00:13 GMT
Distribution: inet
Organization: Center for Macromolecular Design, Texas A&M University.


WHAT IS FWF?
~~~~~~~~~~~~
The Free Widget Foundation (FWF) commenced in the summer of 1990.  We
began as an ad hoc, volunteer effort, to generate a publically
accessible repository for X graphical user-interface modules
(widgets).  Over time, many people have contributed widgets of varying
degrees of complexity, and having application across a wide range of
program domains.  

The 'Free Widget Foundation' is an obvious play on the 'Free Software
Foundation', but we are not related to that organization in any way,
apart from sharing the goal of having high-quality software available
to the public at no cost.  

JOINING FWF
~~~~~~~~~~~
The success of this project depends solely on the work of the FWF volunteers.  
Help us to develop the best, least expensive widget set for the X community!
Joining the FWF is simple. Just send mail to,

free-widgets-request@kazoo.cs.uiuc.edu

WHAT WIDGETS ARE AVAILABLE?
~~~~~~~~~~~~~~~~~~~~~~~~~~
FileSelector,Histogram, ImageSelector, MultiList, PixelEditor, Rheostat, 
ScrolledList, Slider are some of the widgets available in our growing
collection.

HOW TO GET OUR WIDGETS?
~~~~~~~~~~~~~~~~~~~~~~~
The latest version (3.4) of the FWF widget library can be obtained via 
anonymous ftp from, 

a.cs.uiuc.edu(128.174.252.1):pub/fwf.shar.Z 
ftp.informatik.tu-muenchen.de:/pub/comp/X11/contrib/lib/fwf/fwf.tar.Z
(131.159.0.110)

You can also send E-mail to,

ftp-mailer@ftp.informatik.tu-muenchen.de 

with the command, 'GET /pub/comp/X11/contrib/lib/fwf/fwf.tar.Z' in the body of 
the message. FWF widgets are also available on the ICS "Widget Databook" CD ROM.

CURRENT WORK
~~~~~~~~~~~~
We are  trying to construct a much-improved, much-extended version (4.0) of the
free widget set. This version is tentatively scheduled for relase by the end of April,1993. You know where to find it then!!

If you like the Free Widgets concept, please tell other people about it. 
We can't save people any effort if they don't know about us!  


----
Volunteers of the Free Widget Foundation
From: gregc@eagle.fsl.noaa.gov (Greg Compestine)
Newsgroups: comp.windows.x
Subject: What happened to the X Color Management System?
Summary: What happened to the X color management system?
Keywords: Xcms X Color Management System
Date: 26 Jan 93 18:17:39 GMT
Organization: Forecast Systems Lab, NOAA - Boulder CO, USA


    In O'Reilly's "R5 Update", an extremely sketchy introduction
is provided to the X Color Management System (Xcms) extension.
The chapter refers to a book that should have come out last
spring that covers the extension in great detail.  However, the
book has been dropped by O`Reilly (according to one of their
customer service spokespeople).  

	Does anyone know the current status of Xcms and device-
independent color support?  Has Xcms been superceded by XIE or 
some other extension?



                         %\%\%\%\%\%\%\%
gerG                      | Gee, I hope I'm not saying "OOPs!" |
                          |     at the end of this project.    |
From: ray@rann.sbi.com (Raymond Blum)
Newsgroups: comp.windows.x
Subject: Re: Defeating the resource file search path.
Date: 26 Jan 93 19:39:45 GMT
Reply-To: ray@rann.sbi.com
Organization: Salomon Inc.

In article 3310@contex.contex.com, avinash@felix.contex.com (Avinash Chopde) writes:
>Is there any way to defeat the default X resource file search path?
>It is extremely difficult to modify X programs if it involves changing
>resource files---even if I keep a copy of the resource file in the
>current directory, the default X mechanism *merges* all the resource file
>it finds - from /usr/lib/app-defaults, from $XUSERFILESEARCHPATH,
>..Xdefaults, and $XENVIRONMENT!
>
>Is it possible to force a X program to use only resource files in
>the current directory, and inhibit this merging of resource files?
>
  Why not have your program set the relevant environment variables BEFORE initializing X? You could set XENVIRONMENT to something along the lines of 'dirname `$0`'... couldn't you?
---Raymond
>If this is not possible, how does a X developer maintain and debug
>X resource files? (Edit the resource files in *all* the locations 
>on your system is an answer!)
>-- 
>---------------------------
>Avinash Chopde       office : 617 246 1776x5582    Wakefield, MA, USA.
>avinash@contex.com   (...!uunet!contex!avinash)



---
-------------------------------------------------------
-----                               __   ___       ----
-----                        . o  _/  \_/   \_     ----
----                  \\\\\\\    O   Hey!     \    ----
----                 \\\    \\   | why AM I    |   ----
----                  \\ O O     \_ smiling? _/    ----
----                               \__/\____/      ----
----                     \_/                       ----
----                                               ----
----   Raymond Blum                                ----
----   ray@rann.sbi.com                            ----
----   (201) 896-7594                              ----

  Of course these are MY opinions! Whattya think, my EMPLOYER 
  could've thought this stuff up?
Newsgroups: comp.windows.x
From: george@mitchell.cit.cornell.edu (George Boyce)
Newsgroups: comp.windows.x
Subject: xdm and xconsole with openwin 3.0
Date: 23 Jan 93 21:07:13
Organization: Cornell Information Technologies
Distribution: comp
NNTP-Posting-Host: mitchell.cit.cornell.edu

Hi,

How do I run a console program, say xconsole, with xdm in an openwin
3.0 environment? I want it to run all the time, not just after a user
logs into the system. The FAQ says to put the command in the xrdb
shell script (in an X11R4 environment). But while you can certainly
launch a client from there, xdm does a XKillClient after loading
resources and just before the running the login code. Anything that
creates a window will get killed. In X11R5, xdm runs a setup program
after the XKillClient but that isn't in R4.

Other than trying to run the R5 xdm, is there a solution?

George
Newsgroups: comp.windows.x
From: ross@loral.cts.com (Robert Ross)
Subject: using Pixmaps via XPM
Keywords: pixmap, XPM1, XPM3
Organization: Loral Instrumentation
Distribution: usa
Date: Thu, 28 Jan 93 01:15:35 GMT

I am using a pixel editor to create full color icons.  When I save
the icon image, it is output into a file in the XPM3 format.  A previous
version of the pixel editor program wrote the output in the XPM1 format.

I also have the xpm_pixmap.c file (Copyright 1990 GROUPE BULL) which
has functions for turning the pixmap file into an X Pixmap.  Or so I thought.
Judging by the arguments to XPM_PIXMAP() function, I believed that it
wanted a Widget and the pixmap file name.  I found out that that wasn't it.
(There are very few comments in the xpm_pixmap.c code)

It seems that it wants a char array of all of the pixmap data, but with all
of the quotation marks, commas, braces, comments, stripped out.

Is this true, and if so, does someone out there already have a function
that does this parsing?  

Does anyone know if XPM_PIXMAP() handles both XPM1 and XPM3 formats?

Another pixmap issue:

I'm also trying to write a program that grabs a section of the screen and
converts from an XImage to a Pixmap and outputs the pixmap data to
a file using XPM3 format.  I'm stuck on the part about Chars-per-pixel.
I don't have any example XPM3 files that show Chars-per-pixel > 1.

Anybody out there have such a XPM3 file?  Is there a program that does
what I'm trying to do already?  If you know of one, could you give me
name and the internet location?

Thanks mucho,
--

Bob Ross (ross@li.loral.com)         | "Mr. Plow, that's the name. That name
Loral Instrumentation, San Diego, CA |  again is Mr. Plow" - Homer Simpson
From: gbc@neural.hampshire.edu (Gary Cote)
Newsgroups: comp.windows.x
Subject: Info on UIL (User Interface Language)
Date: 21 Jan 1993 22:18:12 GMT
Organization: Hampshire College, Amherst, MA
Distribution: world
NNTP-Posting-Host: neural.hampshire.edu
Originator: gbc@neural

Can somebody give me some info about UIL (User Interface Language)?  I understand
that it was created by Digital, that it creates a textual representation of a
user interface, and that it is somewhat of a standard (?).

How much of a standard is it?  Does it extend beyond the DEC platform at all?

Does it support, or is it dependent on, X?

Are there any public domain utilities that make use of it? 

Thanks for any pointers.

Gary Cote

gbc@neural.hampshire.edu
Newsgroups: comp.windows.x
From: rauletta@sitevax.gmu.edu (R. J. Auletta)
Subject: Instructor->Student Window
Organization: Electrical and Computer Engineering
Date: Tue, 26 Jan 1993 04:17:33 GMT


We are trying to rediscover the source of a set of programs
developed to allow an instructors's window and mouse motion to
be replicated on a group of students workstations.

I have looked in the FAQ, in x-source-list, and just can't
recall the acronym that the programs go by or the university
that developed them (or I could find it with archie).

help? :-(   [Commercial packages like HP's or other information is solicited.]

-RjAuletta
rauletta@sitevax.gmu.edu
Newsgroups: comp.windows.x
From: gregc@eagle.fsl.noaa.gov (Greg Compestine)
Subject: Re: How do I compute 24 bit TrueColor pixel value from RGB color?
Organization: Forecast Systems Lab, NOAA - Boulder CO, USA
Date: Wed, 27 Jan 1993 15:32:14 GMT

In comp.windows.x you write:
	...
>    A few years ago I had brief access to a 24 bit DECstation 5000/200
>PXG turbo that I remember used:

>   pixel_value = (red << 16) | (green << 8) | blue;

>Today, I was able finally to use another 24 bit machine again (an Iris!) for
>a few minutes and it used:
> 
>   pixel_value = (blue << 16) | (green << 8) | red;

>So I believe the pixel value computation for a TrueColor visual is server
>dependent.  I have written several X graphics programs (x3d, xdart) and
>am  now finishing up work on a new renderer with my friend Abe.   I want to
>improve the portability of my code and have it work on all 24 bit servers,
>so I will appreciate any suggestions on determining how to perform the
>correct pixel value computation.

	...

    Take a look at Section 7.5.1 in O'Reilly, Vol. 1.  It discusses members
of the XVisualInfo structure, red_mask, green_mask and blue_mask, that 
determine which bits in a pixel value are used by which color component.
The trick then is deciphering this information into the starting bit
and bit range to get all the shifts and masks you want.  


                         %\%\%\%\%\%\%\%
gerG                        | Gee, I hope I'm not saying "OOPs!" |
                            |     at the end of this project.    |
Newsgroups: comp.windows.x
From: ruben@ifu.ethz.ch (Ruben Linder)
Subject: Using an X-Terminal as a second display ?
Keywords: X-Terminal
Organization: Institute for Forming Technology
Date: Wed, 27 Jan 1993 16:47:44 GMT



Hello out there,

    it's possible to use an X-Terminal as a second X-Window display (I mean 
 two screens and one keyboard-mouse) ?

thanks for any help.
--------------------------------------------------------------------------------
Ruben Linder                                          E-mail   ruben@ifu.ethz.ch
Institute for Forming Technology
Swiss Federal Institute of Technology Zurich
Freiestrasse 80
8032 Zuerich                                          Phone    ++41 1 256 26 16
Switzerland                                           Fax      ++41 1 261 52 10
--------------------------------------------------------------------------------