HDTenEightyP/NetNews huggingface dataset:
From: db@sunbim.be (Danny Backx)
Newsgroups: comp.windows.x,comp.unix.programmer,comp.unix.solaris
Subject: libucb problem solved
Date: 18 Dec 92 14:01:31 GMT
Reply-To: db@sunbim.be
Organization: BIM n.v. Everberg Belgium

Simon Leinen <simon@lia.di.epfl.ch> helped me find out that I had
/usr/ucb in front of /usr/ccs/bin in my path. Both directories have
an "ld". The one in /usr/ucb is an evil shell script which calls the
real ld (/usr/ccs/bin) but makes it include all sorts of libraries
in the process...

Solaris 2 developers : make sure you have /usr/ccs/bin and /opt/SUNWspro/bin
in your path before /usr/ucb !!


--
	Danny Backx
	System Engineer

E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)

Telephone: +32(2)759.59.25	Fax : +32(2)759.47.95

Postal Mail :
	Danny Backx
	BIM
	Kwikstraat 4
	3078 Everberg
	Belgium
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics
From: rogerr@netcom.com (roger reynolds)
Subject: Xm100TH_FONT_UNITS as XmNunitType problems
Followup-To: poster
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Thu, 31 Dec 1992 21:55:25 GMT

	I am trying to use the Xm100TH_FONT_UNITS as the unitType for
	an XmManager widget, and then place children (say XmTextFields)
	at x,y locations which are 100*row (for y) and 100*col (for x)
	The obvious goal being that no matter what font is used, the
	relative positions of the children remain the same.
	
	Problem is it doesn't seem to work.  For example, with the
	font -misc-fixed-*-*-*-*-14-*-*-*-*-*-*-*,

	Now, the right edge of a text field created with XmNx 100
	and XmNcolumns 8 will exactly abutt, another text field 
	created with its XmNx set to 800.  Note that I expected
	this with the second XmNx set to 900, or 100 + 800, or
	col 1 + 8 columns.  So, already I see that the fontUnits
	do not appear to be accurate.

	Secondly, if I change the font in the above example to
	-misc-fixed-*-*-*-*-24-*-*-*-*-*-*-*,  the 2 text fields
	no longer abutt, but overlap by 2.5 columns or so.  The
	problem naturally gets worse as values of XmNx increase.
	And this is with a fixed width font!

	So hears the question,  did I completely misunderstand the 
	purpose of XmNunitType, or does it just not work, or have I
	missed some little bit of how it is supposed to work.
	
	Oh yeah, I am using Motif version 1.1.4 supplied by OSF,
	on sparc SunOs 4.1.3

	Thanks in advance for any tips,
	rogerr@netcom.com

Newsgroups: comp.windows.x
From: koverber@cs.ulowell.edu (Kurt Overberg)
Subject: Re: Remote X window games out there?
Originator: koverber@bigmax.ulowell.edu
Organization: University of Massachusetts at Lowell Computer Science
Date: Mon, 21 Dec 1992 15:39:36 GMT


There are a few.  One popular game is netrek.  It is a network 
version of xtrek (a startrek based battle game, conquer the 
universe and win a priiiize!)  Look on export.lcs.mit.edu
for the source.  I know there is a fairly active server here
at Lowell, the machine name is netrek.ulowell.edu.  
You would use:

	$ netrek -h netrek.ulowell.edu

IMHO it is a VERY cool game.


					peace out.


					   kurt
-- 
Kurt Overberg            | Opinions expressed here are MINE!           
U of Mass, Lowell        | "Poke a double-decker on a Llama taboot,       
koverber@cs.ulowell.edu  |  Llama taboot, taboot!"      -Phish

Newsgroups: comp.windows.x
From: dhw@plex-1.ann-arbor.mi.us (David West)
Subject: Exactly when is the screen virtualised?
Organization: Plex-1, Michigan's Public Access Usenet Gateway  (Ann Arbor).
Date: Thu, 31 Dec 1992 07:25:17 GMT

I'm trying to get a non-virtual screen, because I dislike the panning when
the mouse cursor hits the edge of the real screen.  So I start by removing
the line containing the word "virtual" from the Xconfig, and, by playing with 
the timings, get a perfectly good non-virtual 832x624 mode.  But the refresh 
rate is rather low, so I try for an 800x600 mode, which will have less flicker.
I have no problem getting stable 800x600 modes, but _they are all virtual_!

Can anyone tell me the exact circumstances under which virtualisation occurs,
and how to prevent it?

Setup: Xfree86 1.0Ya mono, 28MHz video clock, autosync monitor.  The video
       card is not easily configurable for higher clock speeds under the
       operating system I am using :-(.

Thanks in advance, etc
[There may be a more specific newsgroup for such a question, but this site
doesn't get it.]

-David West      dhw@plex-1.ann-arbor.mi.us
From: joubert@teldata.UUCP (Joubert Berger)
Newsgroups: comp.windows.x
Subject: Translation Tabels Question
Date: 30 Dec 92 23:43:07 GMT
Organization: Advance Financial Corporation / Teldate Computer Industries, Inc.

I need some help with Translation Tables.  This is the first time I have
had to use them, so I am new at using them.  Anyway ...

I have a text widget.  I want to read the characters from the keyboard
but not display them in the text widget.  So I have done the following:

      -------------------------------------
                      .
                      .
                      .

void insert(Widget w, XExposeEvent *event, String *params,
			   Cardinal *num_params)
{
/* how do I get to the character here */
/* Say I want to stuff it into a file */
}

                      .
                      .
                      .

main()
{
   XtActionsRec window_actions[] = { {"insert", insert} };

                      .
                      .
                      .


  XtAppAddActions(app, window_actions, XtNumber(window_actions));
  XtOverrideTranslations(text_w,
                             XtParseTranslationTable("<Key>: insert()"));
  XtRealizeWidget(toplevel);

  XtAppMainLoop(app);
}

      -------------------------------------

So now here is the problem.  How can I get to the character that was just
typed?  I have no problems firing off the "insert()" function when I hit a key
but I now need to be able to get to the character.  Any help would be great.

Thanks in advance.

	       Joubert
-- 
Joubert Berger                   | Email:  
Teldata Computer Industries, Inc.| joubert@teldata.uucp
Atlanta, Georgia  (404) 256-2166 | joubert%teldata.uucp@mathcs.emory.edu
                                 | {rutgers,ogicse,gatech}!emory!teldata!joubert
Organization: TECHNION - Israel Institute of Technology.
Date: Tuesday, 29 Dec 1992 17:32:05 IST
From: Ilan Alter <CCYILAN@TECHNION.BITNET>
Newsgroups: comp.windows.x
Subject: X window for PC's (DOS)

I am intrested in buying an X window application for the PC's in the Technion.
I would like it to use the clarkson tcp/ip + packet driver.
Which x windows applications support the packet driver?
If no-one supports it - which application do you recommend?
Any answer will be helpfull.
Please reply directly to me.

                                              Regards

                            XXXXX            Ilan  Alter
                           XX              Network Manager
                           XX   XXXX       Computer Center
                            XX   XX           TECHNION
                             XX XX         HAIFA  - ISRAEL
                              XXX         CCYILAN@TECHNION
                               X          TEL.  972-4-292651
                                          FAX   972-4-236212
From: sllkz@cc.usu.edu
Newsgroups: comp.windows.x
Subject: How to get rgb pixel values from gif?
Date: 27 Dec 92 22:12:37 MDT
Organization: Utah State University

Hi all,
	Does anyone know how to get pixel information from a gif file or a
similar file? Is there any tool available to do this? Iam particularly 
interested in obtaining the rgb values of all the pixels of the image file.
I would sure appreciate any hints on how to do this.Thanks in advance!!!
Krishna

Newsgroups: comp.windows.x
From: enertec@netcom.com (The Gang at Enertec)
Subject: Re: real-time X/Motif data display user interface tool
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 28 Dec 1992 23:00:57 GMT

As a postscript to our search, the following vendors have been reported to
supply products that provide the required functionality:

V.I Corp - DataViews: DVDraw, DVPlay, and DVTools.
(413)-586-4144 or email vi@vicorp.com

SL/GMS - SL-Draw
Contact Michael Meagher uunet!gandhi!mike (415) 927-1724.

statsci - Splus 
send e-mail to joe@statsci.com


I have also heard of a product called Sammi from a company called Kinesix (or
something like that).  I have no literature on them currently, but they sound
VERY appealing to us because they provide an API to allow application programs
to pipe data to the dynamic graphic elements, and we have and existing system
/ database.  It seems that calling their API to display our data graphically
would allow us to minimize our engineering costs.  If anyone has seen or used
this product, your input would be greatly appreciated.
-- 
The Gang at Enertec
EMAIL	enertec@netcom.COM
MAIL	811 W. 5th Street, Lansdale PA 19446
PHONE	215-362-0966

Newsgroups: comp.windows.x
From: mayer@wrc.xerox.com (Jim Mayer)
Subject: Re: An Open Challenge (it can't be done!)
Organization: Xerox Webster Research Center
Date: Wed, 23 Dec 1992 19:31:52 GMT


> 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!

How about redrawing the lines using GX with the following set:

	function:	GXcopy
	fill_style: 	FillSolid
	tile:		the backing pixmap
	ts_x_origin:	0
	ts_y_origin:	0

I belive that this will cause the lines to be overwritten with the
image.


	

--
-- Jim Mayer
                                        Phone: (716) 422-9407
Webster Research Center                 Intelnet phone: 8*222-9407
Xerox Corporation                       Internet Email: mayer@wrc.xerox.com
800 Phillips Road, 0128-29E             XNS Email: James L Mayer:Wbst128:xerox
Webster, New York 14580                 Facsimile: (716) 265-7133
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Ansi Xterm
Organization: McGill Research Centre for Intelligent Machines
Date: Wed, 23 Dec 92 03:15:00 GMT

In article <tsr7qt0@zola.esd.sgi.com>, erik@westworld.esd.sgi.com (Erik Fortune) writes:
> In article <1992Dec21.170650.17600@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu writes:
>> In any case, yes, you're right.  xterm doesn't do color.
> xterm as distributed by MIT doesn't do color.   There is a version
> (whose name escapes me) on export.lcs.mit.edu which does ANSI color.

Okay, this is happening often enough to make me wonder.

Everybody keeps talking about "ANSI color".  What standard is this part
of?  I got copies of X3.41 and X3.64 from our library system; they
definitely did not include anything of the sort.  Were they simply out
of date?  Is there some other standard I've missed?

Or is everyone just saying "ANSI" when they really mean "ISO 6429"?

Someone?  Anyone?

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: hstroyan@hpfcso.FC.HP.COM (Howard Stroyan)
Date: Tue, 22 Dec 1992 23:36:11 GMT
Subject: Re: An Open Challenge (it can't be done!)
Organization: Hewlett-Packard, Fort Collins, CO, USA
Newsgroups: comp.windows.x

In comp.windows.x, gt4417a@prism.gatech.EDU (SKELTON,JOEL PHILLIP) writes:

> 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)
  
Well, how about a hardware solution ???  :-)

There are two levels of hardware solutions I would suggest:

	1. This is the really neat but kinda pricey solution.

	   Some X framebuffers actually support overlay planes 
	   which allow rendering of such annotation in a seperate
	   set of hardware planes.  The added value of this approach
	   is that you will probably get the use a second hardware 
	   colormap in the overlays (seperate from the image colormap)
	   and such framebuffers also feature 24 bit DirectColor image
	   planes.  Checkout the CRX24 display on HP series 700s for 
	   starters. You can get one on a 715/33 for under $14K list.
	   OK, OK, I said it was kind of pricey :-)

	2. The second solution is sort of hardware oriented but much
	   more generic.

	   Get a workstation / X server with a reasonably high pixmap
	   to framebuffer transfer rate and just beat the problem into
	   submission.  If you can transfer pixmaps at say ~40 Mbytes/sec
	   into the framebuffer, a little extra block transferring can be
	   acceptable.  Keep a bounding box for the involved area so as
	   to minimize the size of the transfer.  If you want to get 
	   clever, fill diagonal lines with a series of smallish blocks
	   along the line.

		        -------	
			|   \  |
			|    \ |
			|     \
			-------\-------
			       |\     |
			       | \    |
			       |  \   |
				---\--
				    \    . . .

Here's a software solution that can be used, but involves an 
obvious tradeoff which violates your requirements. 
But I have seen folks use it successfully! 

	3. Give up 1 bit in your 8 bit framebuffer for annotation.
	   (Yes that means 128 of your colors!)
	   This allows you to use plane masks to select rendering of
	   the annotation and the image.  And clearing the annotation
	   will reveal the unmodified image which remains in the lower
	   half of the colormap/framebuffer.
	   This is basicly a software emulation of a 1 bit overlay plane
	   and a 7 bit image plane framebuffer configuration.

--
Howard Stroyan                                         
Hewlett-Packard                                        hstroyan@fc.hp.com
User Interface Technology Division
From: ricky@FibHaifa.com (Ricardo <Ricky> Marek)
Newsgroups: comp.windows.x
Subject: xconsole client cannot open console..
Date: 29 Dec 92 17:24:00 GMT
Reply-To: ricky@FibHaifa.com
Organization: Fibronics ltd., Haifa - ISRAEL
Originator: ricky@ariadna



Hi Xers:

We have xconsole client, compiled under X11R5 pl.19

If a regular user (Nor `root') runs this client, he/she gets
a message on the xconsole window, and the messages on the
real console still disrupting the display.

The message in the X-client is: Couldn't open console

We run XDM!! 

I tried also to set uid and gid the binaries of xconsole, but no
exit..

Any Hint?!

______             _                 __    __
| __  \           | |   _           /  \  /  \   
| |_| |     ____  | | / /          /    \/    \  
|  ___/ _  | ___| | |/ / _   _    /  /\    /\  \ 
| |\ \ | | | |__  | |\ \ \ \/ /  / Ricky Marek (System Manager)
|_| \_\|_| |____| |_| \_\ \  /  / e-mail: ricky@FibHaifa.com
__________________________/ /  / phones: +972-4-313690
|__________________________/  / fax: +972-4-550668 \
Fibronics Ltd., Matam Industrial Park, Haifa 31905, ISRAEL
                            /__/                  \__\


-- 
-- 
Newsgroups: comp.windows.x
From: arora@arora.mentorg.com (Arora Amitabh @ PCB x3080)
Subject: Problem installing aXe.
Date: Wed, 30 Dec 1992 22:55:05 GMT
Organization: Mentor Graphics Inc.
Keywords: axe install
Followup-To: 

I was able to get the aXe code from the recomended FTP site, but
I am getting this error when I try to execute:



$ make install
        /usr/bin/X11/bsdinst -c   axe /user/arora/pub/axe/3.1/bin
Make: Cannot load /usr/bin/X11/bsdinst.  Stop.
*** Error code 1

Stop.



Where can I find this utility on the Apollo/HP700/Sun machines ?  And
what does this utility do anyway ?

Thanks,

-Amitabh Arora
Newsgroups: comp.windows.x
From: izeek@techunix.technion.ac.il (Ilan Aisic)
Subject: JAM from JYACC - mouse buttons ?
Organization: Technion, Israel Institute of Technology
Date: Thu, 24 Dec 1992 18:26:53 GMT
Keywords: JAM, JYACC

I'm posting this on behalf of a friend who is using JAM on top of OpenWindows
on a Sun SPARC to create an application.
My friend complains that she can only program JAM to accept left button (the
SELECT button) from the mouse.  If she presses the right mouse button (MENU),
her application displays the default OW menu that she doesn't want.
In fact, she would like to assign the JAM "Help" function to the middle or
right mouse button instead of a keyboard combination as suggested.
The solution if any, should not alter the OpenWindows behavior (xmodmap).

If there are JAM experts out there, I also have another question:
How do I get from a JAM application some Xlib variables like the
Display pointer, the Window id, etc.  If someone wants to add some
X - extensions to a JAM application how he/she go about it?

Thanks in advance,

    ____
     /  /   __
    /  /   /_/ /| /
 __/_ /__ / / / |/   o o o

Ilan Aisic
tel:    972-4-344474
fax:    972-4-342492
Email:  izeek@techunix.technion.ac.il

Newsgroups: comp.windows.x
From: holiday@bnr.ca (Matthew Holiday)
Subject: Re: Making clients for HP-UX
Reply-To: holiday@bnr.ca
Organization: Bell-Northern Research, Richardson, TX
Date: Thu, 24 Dec 1992 15:08:28 GMT

In article <1992Dec23.222530.28985@u.washington.edu>, jeffm@wrq.com (Jeff McKay) writes:
|> Is anyone out there experienced with making and running
|> X clients under HP-UX?  I am trying to build xrn for HP-UX
|> version 8.0.  It compiles and links, however at runtime I 
|> get several undefined data symbols, such as _XA_LENGTH and
|> _XA_TEST.  There is also an undefined routine called
|> XmuCvtStringToOrientation.  These are all coming from a 
|> runtime library called libXaw.sl.  I did notice that
|> we apparently have X11R4, not R5, and all our libraries
|> are dated from early 1991.  Could that be it?
|> 

Make sure that you're linking -lXmu between -lXaw and -lXt. Also, make
sure that you have the right library path the the X11R4 stuff, which
in 8.0 should be -L/usr/lib/X11R4.

I've recently build xrn 6.17 under HP/UX 8.0, and I'm using it right
know to followup to your posting!

-- 
Matt Holiday                                      #include <std/disclaimer>
holiday@bnr.ca
BNR Richardson, TX
Newsgroups: comp.windows.x
From: ori@marvin.technion.ac.il (Ori Degani)
Subject: Re: XGetRGBColormap
Organization: Heart of Gold Institute
Date: Thu, 31 Dec 1992 04:00:40 GMT

Ori Degani (ori@marvin) wrote:
: 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;

I'm still trying to figure this out.. but what I got till now is that
The books has gotta be wrong, because thats not the parameter you
need to send.
It's looking for 
  XStandardColormap **map_info_return

So what I thought I should do is declare

XStandardColormap **best_map_info;

and call the function with (..., map_info_return, ...);

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...

: 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..)   

--
   |  ----      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..)
From: mike@egf-bbs.uucp (System Operator)
Newsgroups: comp.windows.x
Subject: X11R5 under SunOS v3.5 help wanted
Keywords: help, help, and help
Date: 26 Dec 92 08:20:08 GMT
Article-I.D.: egf-bbs.1992Dec26.082008.4263
Organization: EGF, MN Public Access Unix

After spending a week downloading 30M of compressed source at 2400bps I
finally have the 'mit' directory.

I read through the release notes, edited site.def and sun.cf to what looks
good and did a "make World".  Starts out OK but dies on line 310 of 
.lib/Xau's Makefile.

I've been playing here for about an hour and I get the distinct feeling I'm
in over my head.  Anyone care to lend a hand?  I can get more specific but
I figured I'd do it in E-mail.

Thanks,

Mike
-- 
Mike Aos         Preferred->  plains!egf-bbs!mike     This       egf-bbs.uucp
(218) 773-1084   Checked daily-> plains!milo!maos    message       Sun 2/120
RR#1 Box 40      Last resort-> maos@nyx.cs.du.edu    delayed    (218) 773-3124
East Grand Forks, MN 56721-9703                       24 hrs    Login as 'guest'
Newsgroups: comp.windows.x
From: db@sunbim.be (Danny Backx)
Subject: Re: Solaris 2: how do I get rid of -lucb ?
Reply-To: db@sunbim.be
Organization: BIM n.v. Everberg Belgium
Date: Mon, 21 Dec 92 13:31:08 GMT

Kaleb Keithley <kaleb@jpl-devvax.jpl.nasa.gov> writes:
>In article db@sunbim.be writes:
>I'd guess that it's caused by the widespread usage of functions *like* 
>bcopy and it's kin that are rooted firmly in Berkeley-based systems.

As many people privately E-mailed to me, my problem was that I had /usr/ucb
in my path before /usr/ccs/bin. Both contain an "ld". The one in /usr/ucb
is a script which adds a number of libraries (such as -lucb) and then calls
the real ld in /usr/ccs/bin.

Thank you everybody who helped me !

>Also, what about using Sun's migration tool to analyze the "home brew"
>source?  Or doesn't that work as well as Sun's marketing hype says it
>does? :-)

I used it on X11r5 sources just to see what it said. I found it a bit too
good. I.e. it told me too much. I know about bcopy and stuff like that.

I guess if you're a bit new to BSD and SYSV differences then it probably
is very useful.
--
	Danny Backx
	System Engineer

E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)

Telephone: +32(2)759.59.25	Fax : +32(2)759.47.95

Postal Mail :
	Danny Backx
	BIM
	Kwikstraat 4
	3078 Everberg
	Belgium
From: taylor@foraker.NoSubdomain.NoDomain (Eric Taylor)
Newsgroups: comp.windows.x
Subject: Re: Best WM?
Date: 30 Dec 92 20:48:49 GMT

In article <1992Dec30.173001.11601@mail.cornell.edu>, phydeaux@guru.med.cornell.edu (Dave Weingart) writes:
|> Loathing twm, and before I spend hours ftp'ing and hacking into shape
|> a better window manager, which should I go for?  Running R4 under
|> A/UX, if that's significant.


What are your priorities?
If you are an "emacs" type of person you will probably
like gwm.

If you are a 90% solution type of person you will
probably like mwm.

If you are a sun-phreak you will probably like olwm.

However, few window managers are free.
twm and gwm are free and publicly available.
From: judith@mermaid.larc.nasa.gov
Newsgroups: comp.windows.x
Subject: Re: Help with Colormaps
Date: 31 Dec 1992 19:40:17 GMT
Organization: NASA/Langley Research Center
Distribution: world
NNTP-Posting-Host: mollusk.larc.nasa.gov

I'd like to thank all the people who took the time to try
and answer my colormap question. Unfortunately, no method
seems to yield satisfactory results -- there doesn't seem
to be any way to use/install/allocate one's own 256-element
colormap and have it come out right.  I actually _did_ 
produce more or less what I wanted on the Mac (using MacX),
but everything turned to sheepdip when I ran the app on
my Sun (Sparc 2). Both displays show up as 'pseudocolor' 
devices, with 256 colorcells.

Live and learn.

Judith Moore
judith@mermaid.larc.nasa.gov