HDTenEightyP/NetNews huggingface dataset:
From: bvh@cse.unl.edu (Obi-Wan)
Newsgroups: comp.windows.x
Subject: Re: Why do people call it X-windowS?
Date: 23 Dec 1992 05:13:24 GMT
Organization: MicroImages, Inc.
Distribution: world
NNTP-Posting-Host: cse.unl.edu

In article <1992Dec16.095907.21145@mfltd.co.uk>, dnh@mfltd.co.uk (Des Herriott) writes:
> Well, I don't know where the 'quote' originates from, but it's true;
> X-Windows is not the correct name - either X11, or the X Windowing System,
> or just X is acceptable.
> 
> Presumably this is the way it is to avoid confusion with a similarly named,
> but somewhat inferior, windows system  :-)

_SOMEWHAT_ inferior?!?

You obviously haven't used/programmed in MesS Windows enough!

-- 
 |\_/|  AACK! ||                        ||  "Obi-Wan" (Ben Hollingsworth)
\'o.0'/       ||  ... but at least      ||  MicroImages, Inc.  Lincoln, Nebraska
=(___)=       ||      we have quotas!   ||  University of Nebraska - Lincoln
   U   PTHAT! ||                        ||  email:  bvh@cse.unl.edu
Newsgroups: comp.windows.x
From: ori@marvin.technion.ac.il (Ori Degani)
Subject: XGetRGBColormap
Organization: Heart of Gold Institute
Date: Thu, 31 Dec 1992 02:21:55 GMT

Yo, 
  My application needs to display real pictures (digitized), so I'm
using XGetRGBColormaps to get the best colormap for the system.  The
problem is that it giving me an error message for something I copied
from the "Xlib Programming Manual X11R4":

Page 225: /XGetRGB/
if (XGetRGBColoraps (dpy, win, &best_map_info, &no_of_cmaps,
XA_RGB_BEST_MAP) == 0) {
	fprintf (stderr, "Error:\n");
	exit(1);
}

Well the error it produces is (I'm using gcc if thats any help)
	makeImage.c:97: warning: passing arg 3 of `XGetRGBColormaps' from incompatible pointer type

arg 3 is best_map_info, which is declared as:
(same as page 224)
XStandardColormap best_map_info;

So what's the problem?  Am I wrong?  Is the book wrong?  (Neither?)

Ori
--
   |  ----      Ori Degani
   |  |___      ori@eddie.technion.ac.il   (Ship Computer on the HOG)
   |  |         ori@marvin.technion.ac.il  (Who else) 
   |  ----      s2973229@techst02.technion.ac.il (Ech..)   
Newsgroups: comp.windows.x
From: kuwa@nff.ncl.omron.co.jp (KUWARI Seiji)
Subject: patch part 3 for X11R5/contrib/lib/Xwchar
Organization: The Internet
Date: Mon, 28 Dec 1992 03:55:41 GMT

I put a oficial patch part 3 for X11R5/contrib/lib/Xwchar from
OMRON Corporation on export.lcs.mit.edu.

Files are:
  ~ftp/pub/R5/contrib-fixes/Xwchar/README.p3
                                   patch3.Z

Please read README.p3.

Changed points:

  Maked adjustment for changing of wcharint.h in mit-patch-level-21.
  Fixed a bug of wchar.man

-----------------------------------------------------------------------
 Seiji Kuwari (kuwa@nff.ncl.omron.co.jp)
 OMRON Corporation		
				Phone: +81-75-951-5111 (ext. 3631)
-----------------------------------------------------------------------
From: mjo@iao.ford.com (Mike O'Connor)
Newsgroups: comp.windows.x
Subject: Re: Need 'xmkmf' utility
Date: 23 Dec 1992 15:08:42 GMT
Organization: Not an official spokesperson for Ford Motor Company
Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
NNTP-Posting-Host: localhost

In article <1992Dec22.223815.4531@news.mentorg.com>
arora@arora.mentorg.com (Arora Amitabh @ PCB x3080) writes:

:Does anyone know how to get the 'xmkmf' utility ?  Any ftp sites please ?
:I need to use it on the HP/Apollo 400 series machines.

A good place to start would be the Interworks library.  The anonymous
FTP site is iworks.ecn.uiowa.edu.  You may want to specify which OS
you're running on your 9000/400.

						...Mike

-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
Newsgroups: comp.windows.x
From: dave@mizar.csis.dit.csiro.au (David Campbell)
Subject: What are the null macros for X types?
Organization: CSIRO Division of Information Technology
Date: Wed, 30 Dec 1992 07:11:40 GMT

X defines many types (eg Display, Window, Pixmap, Colormap).   Some of these
types are used as pointers (eg Display), but others are actually unsigned
longs (eg Window, Pixmap, Colormap).

Is XCreateWindow guaranteed to never return 0?  I can't seem to find any detail
of such semantics; otherwise I would assume that an acceptable null value for
a window is 0.  Is there a macro which can be used instead of hardcoding 0? There seem to be a handful of macros like NULL, None, etc but I don't know
which to use and NULL seems inappropriate because a Window is not a pointer.

Thanks,
-- 
  +--------------------------------------------------+-----------------------+
  | Dave Campbell                                    |            UNIX & C++ |
  | Phone: + 61 6 275 0944      Fax: + 61 6 257 1052 |   _--_|\       PLEASE |
  | CSIRO Division of Information Technology         |  /      \             |
  | Centre for Spatial Information Systems           |  \_.--._/ <- Canberra |
  | PO BOX 664                                       |        v              |
  | CANBERRA ACT 2601       +------------------------+                       |
  | AUSTRALIA               | dave@csis.dit.csiro.au |                       |
  +-------------------------+------------------------+-----------------------+
  |                       Get right.....or get left.                         |
  +--------------------------------------------------------------------------+
Newsgroups: comp.windows.x
From: taylor@foraker.NoSubdomain.NoDomain (Eric Taylor)
Newsgroups: comp.windows.x
Subject: Re: XGetImage
Date: 2 Jan 93 18:04:14 GMT

In article <1992Dec31.060621.11911@discus.technion.ac.il>, ori@marvin.technion.ac.il (Ori Degani) writes:
|> Ok, I'm want to create an XImage from a datafile (an SGI RGB file at this
|> moment).  
|> I wasn't sure how much space to allocate for XCreateImage's *data,
|> so I use XGetImage.
|> I open a DrawingAreaWidget, I set it's width, and
|> height to the original image's w & h, using XtVaSetValues.  
|> Then I do XGetImage from that widget's window, so I can have the XImage
|> struct.  But I get this error message:
|> X Error of failed request:  BadMatch (invalid parameter attributes)
|>   Major opcode of failed request:  73 (X_GetImage)
|>   Serial number of failed request:  36
|>   Current serial number in output stream:  36
|> 
|> I looked in the FAQ, where it says that BadMatch might mean the window
|> is out of the screen, but it's not.  The WM lets me put the window somewhere
|> and then it spits the error msg out.
|> 
|> What am I doing wrong?

What parameter are you specifying for "format".
You should use ZPixmap.

What plane mask are you specifying?
AllPlanes should be used.
From: rlh@ukc.ac.uk (R.L.Hesketh)
Newsgroups: comp.windows.x
Subject: Re: Why do people call it X-windowS?
Date: 22 Dec 92 15:08:37 GMT
Reply-To: rlh@ukc.ac.uk (Richard Hesketh)
Organization: Computing Lab, University of Kent at Canterbury, UK.

In article <1992Dec15.195043.8442@midway.uchicago.edu> ejw1@midway.uchicago.edu writes:
>I remember reading somewhere that the creators of X cringed everytime they 
>heard someone refer to the windowing system as 'X-windows', instead of 
>simply 'X-window'.

I thought that "X-Windows" was a trademark of IBM (referring to their
version of the X Window System) but I would rather be wrong about this 8-).

The README-R4 file in the R4 source finishes with the quote:

                         It's a window system named X,
                          not a system named X Window.

Richard
Newsgroups: comp.windows.x
Subject: XDrawArc Bug?
From: johns@io.datasys.swri.edu (Stephen Johns)
Date: 28 Dec 92 22:24:42 GMT
Organization: Southwest Research Institute, San Antonio

In a program that handles graphic primitives, including circles, I allow
the user to zoom in.

As I zoom into an area, has to be pretty tight, with a circle(arc) in it
I start getting [sqrt: DOMAIN error] in my console window.  If I get too many
of the [sqrt: DOMAIN error] errors, the server locks up.  I have determined
that it is the XDrawArc call that is generating the errors.  The typical
x and y values these errors seem to occur are:
-3,000 < x < 3,000
 3,000 < y < 3,000

Typical width and height values:
0 < width  < 15,000
0 < height < 15,000

Are these values getting to big/small?  The man page says XDrawArc takes
x and y as ints and width and height as unsigned ints.

Any help greatly appreciated.
Newsgroups: comp.windows.x
From: tero@vipunen.hut.fi (Tero Takki)
Subject: How can I make Drawing area transparent (invisible)?
Reply-To: Tero.Takki@hut.fi
Organization: Helsinki University of Technology, Finland
Distribution: comp
Date: 22 Dec 92 13:31:28


Is there a way to make a drawing area transparent?
I have tried to change the backgrondPixmap attribute to None
and NULL, but that just causes error.
--
   Tero Takki
   Bredantie 26 B                   phone:  +358-0-505 1452
   SF-02700 Kauniainen              e-mail: Tero.Takki@hut.fi
   FINLAND
Newsgroups: comp.windows.x
From: eillihca@drizzle.StanFord.EDU ( Achille Hui, the Day Dreamer )
Subject: Re: Re: XGetRGBColormap
X-Transfer-Agent: nntp.stanford.edu (NNTP)
Organization: Dept. of Physics, Stanford University.
Date: 31 Dec 92 06:31:13 GMT

ori@marvin.technion.ac.il (Ori Degani) writes: 

>That means that this is not a "best_map_info" but "all_map_infos"
>i.e. a vector of map_info's.
>So how do I know which one to use?  Just use the first one,
>e.g. (*best_map_info)->blue_max, (*best_map_info)->colormap 
>???
>This seems very strange...
>
Use the first one, the ICCCM restriction states that only RGB_DEFAULT_MAP
may contain more than one definition.

Hopefully this helps...
----------------------------------------achille (eillihca@drizzle.stanford.edu)
JAXU -- Just Another X User
From: tchal@tmchome.UUCP (Thomas M. Chalfant)
Newsgroups: comp.windows.x
Subject: Compiling X11R4
Keywords: X11R4
Date: Wed, 30 Dec 92 02:18:12 EST
Distribution: world
Organization: My house

Fellow netters:

I am experiencing some problems getting the standard MIT X11R4 distribution to
compile with no errors.  Could someone offer some help?  Here's a synopsis
of our setup.

Sun Server running SunOs 4.1.2, standard MIT X11R4 distribution.  I rlogin to
the server from my workstation, change to the appropriate directory and issue
   'make World >& make.world'
as instructed in the install docs.  This is after making changes to the
site.def, etc.; and after applying patches 1-18.  All patches seemed to apply
fine with the exception of one patch that was being applied to the IBM server
code (which I will not be using anyway).  Hence I ignored this problem.

After looking at make.world, it has a bunch of errors when compiling the
client programs.  The errors have to do with ld and a bunch of undefined
symbols mostly with names of Intrinisics functions prepended with an
underscore.  However, some of these same programs seem to run just fine with
casual observance.

By the way, there is a vendor's X11R4 distribution already installed on the
server in the default location.  I desire to no longer use the vendor supplied
version for various reasons (no source, not all patches applied, etc.), and
would also like to install X in other than the default location to make
upgrades easier in the future, and to facilitate having more than one version
available for testing purposes, etc.

Also, I intend to compile OSF Motif next, and again would like to install
this in other than the default location to facilitate having multiple versions
for testing, etc.

Does anyone have any suggestions for me to try?  I am open to anyone's
comments.

Thanks,
Tom
From: werner@physics.uq.oz.au (Michael Werner)
Subject: R5 server for Sony
Reply-To: werner@dirac.physics.uq.oz.au
Organization: Department of Physics, University of Queensland
Date: Thu, 31 Dec 1992 07:01:39 GMT

Has anyone built an R5 server for a Sony NEWS system.

-- 
Yours,

Mike

----------------------------------------------------------------------------
+                                                                          +
+    *		  *			Michael Werner		           +
+     *		 *	    		werner@dirac.physics.uq.oz.au      +
+      * 	*			Theoretical Quantum Optics,        + 
+       -------		                Department of Physics,             +
+      *       *                        University of Queensland.          +
+     *		*			St. Lucia. 4072. Australia         +
+    *           *                                                         +
+                                                                          +   
----------------------------------------------------------------------------
From: mjo@iao.ford.com (Mike O'Connor)
Newsgroups: comp.windows.x
Subject: How does one determine the patch level of X11R4/5 being run?
Date: 22 Dec 1992 22:17:59 GMT
Organization: Not an official spokesperson for Ford Motor Company
Reply-To: Mike O'Connor <mjo@fmsrl7.srl.ford.com>
NNTP-Posting-Host: localhost

This is probably some sort of FAQ, buttttttttttt...

My grep on the FAQs for "patch" didn't reveal anything interesting, so
I'm wondering: Given that you don't have source for the version of X
that is on a particular machine (you're running vendor code or you
simply decided keeping megs of source online wasn't worth it), how do
you determine what patchlevel is running?  Even with the source, I
don't see any file being updated with the information other than
"bug-report", which doesn't get installed as part of the standard X
distribution as far as I can tell.  I find this a bit humorous 'cause,
if you look at the "patch" program shipped with the R5 distribution,
you get a message to the effect that you can "save people a lot of
grief by keeping a patchlevel.h file".  :)

-- 
 Michael J. O'Connor           |  Internet:  mjo@fmsrl7.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!{backbone}!fmsrl7!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277
Newsgroups: comp.windows.x
From: kornai@csli.stanford.edu (Andras Kornai)
Subject: Getting the high part of 8-bit ascii
Organization: CSLI, Stanford University
Distribution: usa
Date: Sun, 3 Jan 1993 05:56:10 GMT

How do I get emacs under X11R5 to display high ascii chars from a
font?  I got a bunch of mixed cyrillic/latin files that use 8-bit
encoding, and also a variety of fonts that supposedly work with these.
However, when I use M-x x-set-font to set my font to any of these, the
appearance of the characters changes (so the font is clearly being
used) but the things outside the 7-bit ascii range still display as
control chars or as \nnn (octal). Am I doing something wrong? Or do I
have the wrong fonts? I tried with emacs 18.58.3 as well as with the
older 18.54.8, and the newer mule9.5.1 (based on emacs 18.58.5), but
it makes no difference. The fonts I tried were koi8x13 and other
sizes, as well as -etl-fixed-medium-r-normal--0-0-75-75-c-0-iso8859-5
and other sizes. Thanks in advance,

Andras Kornai (kornai@csli.stanford.edu)
 








Newsgroups: comp.windows.x
From: aad@siemens.com (Anthony Datri)
Subject: Re: playing with window managers
Organization: Siemens Corporate Research, Princeton (Plainsboro), NJ
Date: Wed, 30 Dec 1992 00:00:53 GMT

>Another apporach is to have a xterm window and the end of the .xinitrc, and
>exiting this window will kill X -- but this I find kludgy..

How so?  I've always had an xterm -C at the end of .xinitrc.   A client's a
client.
-- 

======================================================================8--<
From: gildea@expo.lcs.mit.EDU (Stephen Gildea)
Newsgroups: comp.windows.x
Subject: Re: Too much X Security!
Date: 29 Dec 92 23:40:27 GMT
Organization: X Consortium, MIT Laboratory for Computer Science

Assuming you are using xdm (you don't say), you can disable security
by setting xdm's "authorize" resource to "false" for that display.
See the xdm manual page.

Be sure to do this only for stand-alone machines!

 < Stephen
   MIT X Consortium
Newsgroups: comp.windows.x
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: Ansi Xterm
Organization: PictureTel Corporation
Date: Wed, 23 Dec 1992 14:36:14 GMT

In article <1992Dec23.031500.14604@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:

>Everybody keeps talking about "ANSI color"....
> ... is everyone just saying "ANSI" when they really mean "ISO 6429"?

Yes.  In Chapter 11 my MS-DOS 5.0 reference manual says, and I quote:

    An ANSI _escape_sequence_ is a command you send to your console device
    (monitor or keyboard).  This command is called an escape sequence
    because it begins with the escape character (ESC) and is not
    considered part of the typical output.  It was developed by the
    American National Standards Institute.

(Quiz question--where are the appropriate places to put the [sic]
notation in that quotation?  I count at least four. :-)

An appendix of the same fine manual specifies the escape sequences.  A
footnote points out that the color-setting sequences are ISO 6429.  I
suspect that the REAL "standard"--from which people should implement--
is (groan) the DOS manual's appendix on "ANSI.SYS."

Here are the sequences which set color.  Again, I'm quoting verbatim:

    ESC[<param>;<param>;...<param>m

    Set Graphics Mode.  Calls the graphics functions specified by the
    following values.  These specified functions remain active
    until the next occurrence of this escape sequence.

    Text Attributes

       0  all attributes off
       1  Bold on
       4  Underscore (on monochrome display adapter only)
       5  Blink on
       7  Reverse video on
       8  Concealed on

    Foreground colors
       30  Black        34  Blue
       31  Red          35  Magenta
       32  Green        36  Cyan
       33  Yellow       37  White

    Background colors
       40  Black        44  Blue
       41  Red          45  Magenta
       42  Green        46  Cyan
       43  Yellow       47  White

      Parameters 30 through 47 meet the ISO 6429 standard

Ollie Jones
Newsgroups: comp.windows.x
From: zaenker@Informatik.TU-Muenchen.DE (xxx)
Subject: Fonts for X ?
Originator: zaenker@hphalle5i.informatik.tu-muenchen.de
Organization: Technische Universitaet Muenchen, Germany
Date: Tue, 29 Dec 1992 11:49:22 GMT



I am shure that this is a FAQ, but I am new at this NewsGroup and I could not
find the FAQ-List in the list of articles...

Is it possible to create own fonts to use with X (in xterm windows and for
other purposes)?

Thanks in advance.

Chris



Reply to: zaenker@Informatik.TU-Muenchen.DE
From: gt4417a@prism.gatech.EDU (SKELTON,JOEL PHILLIP)
Newsgroups: comp.windows.x
Subject: An Open Challenge (it can't be done!)
Keywords: xor cursors images biscuits
Date: 22 Dec 92 15:52:03 GMT
Organization: Georgia Institute of Technology


Here's the story: We have an application that we've written to
display multiband satellite image files in X windows. The client
program maintains an XImage with the red, green, and blue data 
from the part of the file being looked at. This is quantized in
some fashion into an eight bit server Pixmap that is used to
update the screen quickly. The application is used for many
kinds of area selection operations which require drawing selector
boxes and polygons on the screen. When the boxes are oriented 
horizontal/vertical then it is easy to draw them with in GXcopy
mode after having saved what was under them to line shaped pixmaps.
But when we draw diagonal lines we can't save them that way so
we use GXxor mode to draw them. This is okay if the image is
all one color but for a complex satellite image or a noisy image 
an xor'ed line is nearly invisible. 

After much thought I've gloomily concluded that nothing short
of a (unacceptable to our application) server extension will
give me quickly 'eraseable' diagonal lines on top of an image drawn
to an X window. I now challenge (nay, beg) someone to prove me wrong.

Here's the short form:
 - 8 bit image in backing pixmap used to update window
 - Image drawn in 8 bit X window
 - Want to draw diagonal lines on top of image that can
   be removed quickly (i.e. replace them with the data they so
   recently covered)
 - Can't do server extensions (too many platforms to support)


Betcha can't do it!

jps
bf

-- 
Joel Skelton   --    North Avenue Trade School, Dept. of Round Things
gt4417a@prism.gatech.edu   (ask for Scooter Technologies, and receive)
From: br762@cleveland.Freenet.Edu (Tim Werner)
Newsgroups: comp.windows.x
Subject: Re: Xt question. Where are the pushbuttons?
Date: 3 Jan 1993 15:18:11 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: br762@cleveland.Freenet.Edu (Tim Werner)
NNTP-Posting-Host: hela.ins.cwru.edu


In a previous article, cp78085@csie.nctu.edu.tw (Tan Koan-Sin) says:

>Asente & Swick use their own wigdet set in that book. Not Motif, nor Athena 
>Widgets.

Tan emailed me, asking me to tell him my specific compile errors, and I ended
up hacking around until I got them all to go away. I still don't understand
it, though.

I had to:
  include <X11/ObjectP.h> in GraphDispP.h
  include <X11/CompositeP.h> in BoxP.h
  include <X11/CoreP.h>           "
  include <X11/ObjectP.h>         "
  include <X11/ObjectP.h>    in LabelGadgP.h
  include <X11/RectObjP.h>        "
  include <X11/ObjectP.h>    in MenuP.h
  include <X11/ObjectP.h>    in Confirm1P.h

Why did I have to do all this to make the widgets? Why does it compile out
of the box for everyone else?

Thanks to everyone who wrote.

tim werner
--
The shadow of the bamboo sweeps the steps,
but the dust does not stir.
The moon's disc bores into the lake,
but the water shows no scar.


  
-- 
Newsgroups: comp.windows.x
From: reza@peri.jsc.nasa.gov (Reza Razavipour)
Subject: Info needed on commercial software HindSight.
Organization: Lockheed
Date: Tue, 29 Dec 1992 20:11:56 GMT

Does anybody know where I can info on a commercial X application 
called HindSight?
Please e-mail your answers to reza@peri.jsc.nasa.gov.
Thanx in advance.
Reza.
Newsgroups: comp.windows.x
From: dov@menora.weizmann.ac.il (Dov Grobgeld)
Subject: Xaw text widget with reverse geometry
Organization: The Weizmann Institute of Science, Israel
Date: Sun, 3 Jan 1993 11:05:00 GMT

How difficult would it be to make a 'reversed geometry' version of
the Xaw text widget? This would be necessary to input Hebrew.
The only diffence I want to have in this widget is a resource called
reverse, which when set 'true' will make the widget place the 
characters in the widget with offset from the right margin instead
of the left.

Here's an example:

   reverse=false                       reverse=true
   +-----------------+                 +----------------+
   | abcde           | <- text      -> |          edcba | 
   |                 |    widgets      |                |
   +-----------------+                 +----------------+
   
Any takers? Or can anyone describe to me what I would have to do
to create this new resource?   

--
                                                        ___   ___
                                                      /  o  \   o \
Dov Grobgeld                                         ( o  o  ) o   |
The Weizmann Institute of Science, Israel             \  o  /o  o /
"Where the tree of wisdom carries oranges"              | |   | |
                                                       _| |_ _| |_
From: wangbs@casd1.iie.ncku
Newsgroups: comp.windows.x
Subject: Method to find all files' name of a directory in Xview
Date: 24 Dec 92 05:11:23 GMT
Organization: CASD Lab.


  Hi, all:
      How can I program to find files' name of a directory in Xview? I want
  to it like the "open" choice of "File" pop-up menu in Turbo C. In Turbo
  C When you select the open choice, it can prompt many files that you can 
  choose. Since I am not familar with the Xview, it is better have a example
  code.
          Thanks for any response!!!
                                        wangbs@casd1.iie.ncku.edu.tw
                                   or   wangbs@locust.iie.ncku.edu.tw