HDTenEightyP/NetNews huggingface dataset:
From: tomasc@lionfish.tds.kth.se (Tomas Carlsson)
Subject: Re: compile error
Reply-To: tomasc@lionfish.tds.kth.se (Tomas Carlsson)
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Tue, 21 Jul 1992 10:56:10 GMT

In article <1992Jul20.121551.22457@kth.se>, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
|> I'm trying to compile a program I've written. I've stolen and
|> modified a Makefile but I'm not able to understand this error:
|> 
|>    ld: Undefined symbol 
|>       _error 
|>       _pow
|>       _floor
|>       _get_wmShellWidgetClass
|>       _get_applicationShellWidgetClass
|>       __XtInherit
|>       _XtToolkitInitialize
|>    *** Error code 2
|> 
     (deleted som stuff here)
|>
|> In my makefile I use (among others) these flags: (yes, I've
|> used devguide)
|> 
|>    -lguidexv -lguide -lxview -lolgx -lXmu -lXt -lXext -lX11
|> 
|> I'm using openwindows 3.0, X11R5 on a sun4.
             ^^^^^^^^^^^^^^^

That seems to be the problem (OW 3.0). I tried to compile under
OW 2.0 - no problem!

Does this finding ring any bells? If you have a suggestion
please give it to me (I've run out).

Thanks to those who emailed me. Unfortunately nothing has worked.


Answers here, the above address or to tomasc@sics.se

Tomas Carlsson
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
Date: 18 Jul 92 17:06 MDT
Subject: Re: X server for a 4 bit display?
Nf-ID: #N:1992Jul18.130603.17481@thunder.m:-117508012:001:944
Nf-From: thunder.mcrcim.mcgill.edu!mouse    Jul 18 17:06:00 1992


In article <66+mq0k@lynx.unm.edu>, doose@triton.unm.edu () writes:

> I am porting the X11R5 server [...].  I need to drive the display in
> 4 bit mode (16 colors).  I have started going through the cfb code,
> but it is VERY 8 bit oriented.  Has anyone modified this code to work
> on a 4 bit display?

I modified the R4 cfb to run on a 2-bit display; you may or may not
find the patches useful.  If you want 'em, they're up for ftp from
larry.mcrcim.mcgill.edu (132.206.1.1) in X/XNeXT (get the distribution;
it has more than the patches you want, but not a whole lot more, and I
don't have just the patches split out handy anyway).

> I have tried setting PSZ, PPW, PLST, etc in cfbmskbits.h to
> reasonable values, but the image still has problems.

Unless they've cleaned it up a lot since R4, you cannot change the
depth just by tweaking cfbmskbits.h.  Check out the NeXT patches....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: sale@els.xyplex.COM (Ed Sale)
Newsgroups: comp.windows.x
Subject: Wanna use xcalc without mouse
Date: 27 Jul 92 14:44:12 GMT
Reply-To: elsale@eng.xyplex.com
Organization: The Internet

If you look in the source to xalarm (export.lcs.mit.edu:/contrib/...)
it pops up the "enter alarm data" window with the cursor in the center
of the window.  You could modify xcalc to do the same thing, I
imagine.

  -- Ed
Newsgroups: comp.windows.x
From: pmullins@cs.ulowell.edu ([Irish Harp])
Subject: Trying to run xtool: Problem?
Organization: University of Massachusetts at Lowell Computer Science
Date: Mon, 27 Jul 1992 19:31:23 GMT

Hi,

I would appreciate it if someone could help me with the following
problem. I am trying to use 'xtool' to view the execution trace of
a program. However, when I run the following at the command line

	%xtool node	['node' is the name of my executable program]

I get the error below:
 
 Xtool Version 3.1 -- Copyright (C) 1991 ParaSoft
 Reading symbol table "node": 100%
 Symbol table: 330 public, 7 local.
 window: Base frame not passed parent window in environment
 window: Base frame not passed parent window in environment
 Failed to open graphics interface.

Background on my work:
I am doing my work at my VAXstation 3100 over 'telnet' to a machine
that is running SunOS 4.1.  I have set my DISPLAY to my workstation.

Suggestions thus far:

People have said that I need to run xtool under 'suntools' (sunview) and
that I need to be on a Sun workstation. I can't disagree that this is not 
the case.

Basically, my question is the following. If I telnet to the machine
(that I have to be on) from a Sun workstation, is it possible to run
'suntools'  correctly which is available on the remote machine and consequently 
 be able to run 'xtool'?

Forgive me if this question is dumb, but being ignorant of this type of
software has forced me to ask it.

Thanks in Advance,

Patrick
-- 
"I am over here, YOU'll always be over there,
 There's an ocean in between,
 The Irish Sea is to your back, An tOilean Ur is to mine,
 As they claimed in '85, We shall return, And I will." 
Newsgroups: comp.windows.x
From: tselling@peabody.iusb.indiana.edu (Teresa Selling)
Subject: Where can I find sources for Xstones benchmark?
Organization: Indiana University at South Bend
Date: Thu, 23 Jul 92 00:18:42 GMT

Title says it all...I'd like to know how my xterminal measures up.  Thanks.
--
Teresa Selling, IUSB, Indiana.

Newsgroups: comp.windows.x
From: roell@informatik.tu-muenchen.de (Thomas Roell)
Subject: Re: benchmark for xserver
	<1992Jul20.071854.24048@Informatik.TU-Muenchen.DE>
	<raney.711687751@teal>
Organization: Inst. fuer Informatik, Technische Univ. Muenchen, Germany
Date: Thu, 23 Jul 1992 09:02:43 GMT

>In order to do double-buffered animation, you *have* to draw into
>offscreen memory (or count on non-portable server extensions).  The

Well, if you want to do double buffering, you should use the
'Multi-Buffering' extension instead of assuming that there is no
hardware support at all. Or using the usual colormap tricks to do it.

>"bottleneck" that you describe is a result of poor hardware design,
>and is not an inherent limitation.  I would strongly recommend *not*
>buying any graphics controller that can't draw into offscreen memory:
>you'll be sorry eventually if you do.

You misunderstood the issue behind it. I was claiming that it makes no
sence to use xengine as general purpose benchmark, since it shows you
only a small (and for most people misleading) portion of the servers
performance. Most people don't know what's going on in xengine at all
and wonder why their visually faster display is slower on xengine than
another one. You seem to forget that not everybody is doing annimation
under X. And if, they have double-buffering in hardware. Your advive of
doing things is quite far away from reality. HW accellerated is faster
on most areas than a dumb framebuffer with a hot CPU. And it's
cheaper. The bad side of this is that you transfers from CPU to Video
Memory will slow down, since normally only the graphics controller has
unlimited access to this memory. I can see nothing bad in this. And
you can even do accelerated double buffering by loading off the work
to the graphics engine. But in most server implementations this
special case is handled by an optimized extension. Why not using this
extension then ?

>The conclusion? xengine *is* a useful benchmark, IMHO.

Sorry, but certainly not for people that do DTP, Spreadsheets and so
on. 

- Thomas
--
-------------------------------------------------------------------------------
Das Reh springt hoch, 				e-mail: roell@sgcs.com
das Reh springt weit,				#include <sys/pizza.h>
was soll es tun, es hat ja Zeit ...

Xref: sparky comp.windows.x:14683 comp.windows.x.motif:5341
From: ajg@controls.ccd.harris.com (Arnold Goldberg)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Writing NEW Widget: HELP!!
Date: 31 Jul 92 13:44:22 GMT
Distribution: comp
Organization: Harris Controls and Compositions


I want to create a Data-entry Widget, essentially subclassed from Text
(then again, maybe not).


Here are the specs:

1)A resource that will determine what kind of data will be allowed
in the Widget
		1) Alpha-numeric
		2) Numbers
		3) Alternate Strings (ie. toggle through preassigned strings)

2)Real-time checking of the data that is entered. ie. I can't type a
character into a numerically defined data-entry widget.


QUESTIONS:

1) Can this be done easily and if so how.  (Code and/or pointers to code would
be great).

2) Also, what are some good books on writing this sort of MOTIF widget.

thanks

arnold

--
------------------------------------------------------------------------
Arnold Goldberg                            Email:  ajg@ccd.harris.com
Phone: (407)242-5051                       Snail:  Harris Corporation
Fax  : (407)242-4262                               407 John Rodes Blvd.
                                                   Melbourne, FL 32905
The opinions expressed are my own and do not in any way represent Harris 
------------------------------------------------------------------------
From: bobf@lobster.hou.tx.us (Bob Falkowski)
Newsgroups: comp.windows.x
Subject: Problem with X386 1.2E server on ISC 3.0
Date: 31 Jul 92 01:01:55 GMT
Distribution: na
Organization: Houston, Texas

I have been able to compile and install X11R5 PL12 successfully
using Interactive SysV.3 (3.0). Everything works fine.

However, after getting and installing the patches for the
enhanced X386 server 1.2E 1.0.1 with public fixes 1 - 13,
running twm on startup causes the server to crash and dump core.
I've determined so far that the first call to XAllocNamedColor in
twm is the point at which the problem occurs.

Could this just be some configuration problem? Compiler problem?
(gcc 2.1 was used, configured for POSIX). I'm hoping not to
have to restore the unmodified version.

Advice?

Thanks in advance
Newsgroups: comp.windows.x
From: mputaala@tolsun.oulu.fi (Miikka Putaala )
Subject: mxgdb & errormessage
Date: Sun, 26 Jul 92 22:05:48 GMT


I have compiled mxgdb succesfully (no errors) and when I run it I get
the following error message:

Error: Object "" does not have windowed ancestor


What is the problem?
Any possible solutions?
Has anyone else had similiar problem?

THANKS!

  // Miikka						Tatunkuja 6 90540 Oulu
     Putaala	mputaala@tolsun.oulu.fi			FINLAND
							Phone: (358) 81 362430
Newsgroups: comp.windows.x
From: "Michael Smith" <p00004@mail.psi.net>
Subject: X server for MS-Windows?
Organization: Performance Systems Int'l
Date: Mon, 27 Jul 1992 15:20:00 GMT
X-Mailer: PSILink (3.0)

Is there such a thing? That is: an X-windows server that runs under 
MS-Windows 3.1 as a Windows app, i.e. not in a DOS box. Such a product
would be particularly valuable if source code were obtainable.

Thanks--

Michael Smith
Newsgroups: comp.windows.x
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: set uid bit for xterm?
Organization: FWI, University of Amsterdam
Date: Thu, 23 Jul 1992 07:18:26 GMT

grega@verdix.com (Greg Alonso) writes:

>In my installation of X, xterm has the uid bit set with root as owner:
>-rwsr-xr-x  1 root       188416 Aug  2  1990 /usr/bin/X11/xterm*

>If that is the case, why can I delete an xterm process after it is
>spawned?  Isn't it owned by root when it is running?

Xterm runs with euid == 0 but ruid == your uid. My manual page for kill(2)
says (SunOS 4.1.2):

     The real or effective user ID of the  sending  process  must
     match  the  real  or saved set-user ID of the receiving pro-
     cess, unless the effective user ID of the sending process is
     super-user.  A single exception is the signal SIGCONT, which
     may always be sent to any member of the same session as  the
     current process.


So you can kill a process that started life as a set-uid executable,
even when it didn't totally revert to you. Remember that xterm must
keep an effective uid of root because it has to undo the chowns/chmod
of your pty and the entry in /etc/utmp.

Casper
-- 
						|	Casper H.S. Dik
						|	casper@fwi.uva.nl
From: kevin@sherman.pas.rochester.edu (kevin mcfadden)
Newsgroups: comp.windows.x
Subject: Re: What is Devguide?
Keywords: X devguide
Date: 25 Jul 92 16:46:06 GMT
Organization: University of Rochester

In article <5392@dsacg3.dsac.dla.mil> nfs1675@dsacg3.dsac.dla.mil (Michael S Figg) writes:
>
>Can anybody tell me what devguide is? I have seen it in reference to X but
>don't know if it is directly related. (Wouldn't it be Xdevguide if it was?).
>
>Thanks, Mike
>
>
>-- 
>Perl doesn't mind a little pluralism-a perl   | Michael Figg  DSAC-FSD
>script is correct if it's halfway readable    | DLA Systems Automation Center
>and gets the job done before your boss fires  | Cols, Ohio mfigg@dsac.dla.mil
>you. -- Wall and Schwartz ("Programming Perl")| CIS: 73777,360    

Mike,

	What is devGuide you ask?  Just last week I started to make use of it
and it is pretty damn useful.  It is program that allows you to design 
a visual interface for use under X windows (or atleast openwindows). 

	When started up, the program displays a small window that has all
the different things that can be used in an user interface.  There are
pop up windows (the ones with pins in the upper left corner), cmdtool-like
windows, pulldown menus, buttons, etc....  All you have to do is create a 
window and then put the stuff you want inside it.  After placing something in
the window you would define its properties such as labeling text fields,
title of buttons, how long a text field, choices for menus, etc...  After that
is all done you get to make connections between items.  Connections are
used to tell the windowing system what to do when you press a button or 
make a menu choice.  For example I press a button and a window pops up or 
I enter a command in a text field and then something happens.

	The program is really well done but it does have its drawbacks.  I have
not yet found a way to change the font!  This is extremely annoying.  Even
more annoying is that I have not yet found a way to remove the
increment/decrement buttons on numeric fields (the buttons that allow you to
increase the numeric value up or down with out having to type something).

	Anyway, the program is extremely useful and any programs I write in
the future will probably make use of it.  Another drawback occurs when you
are writing the program for a group of people to use, like a detector manager
for taking data during testing and observing runs which I am writing.  Everyone
cannot agree how they want it to look! AARRGGHH.

	But all in all I recommend the program.


Kevin
Date: 28 Jul 92 03:12:36 GMT
From: dennis@socs.uts.edu.au (Dennis Cook)
Newsgroups: comp.windows.x
Subject: Problem with Athena Panner Widget
Summary: Problems with rubberband attribute
Keywords: X11 Xt Xaw
Reply-To: dennis@socs.uts.EDU.AU
Organization: University of Technology, Sydney

I'm using X11R5, running on a Sun 4 (using SunOS 4.1.2),
and am having problems with the Athena Panner Widget.

The problem is that when I set the "rubberBand" resource
to "true", which allows discrete scrolling, the slider
is incorrectly re-drawn when it is moved using the arrow
keys. It is still re-drawn correctly when it is moved using
the mouse.

I've observed this behaviour in my own code, as well as
in editres and viewres.

Any ideas?

--
| Dennis Cook                           "Never miss a chance to have sex or
| (dennis@socs.uts.EDU.AU)               appear on television." -Gore Vidal
Newsgroups: comp.windows.x
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.windows.x
Subject: Re: xterm & fonts
Date: 28 Jul 92 16:39:16 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <5D9285E5804025DA@vand.physto.se> SAMMY@vand.physto.se writes:
<
<        This is a question that perhaps will only reveal the level of
<my ignorance: why can one use only fixed fonts in xterm? What are the
<extra problems involved in arranging things so variable character width
<fonts can be used? I mean, in such a way that the output looks nice on
<the screen.

You have to look at the perspective of the other users of your information.
If you compose a letter using variable pitch, while it may look good on your
display, it will look like shit on someone else's display.

By always using constant width fonts, you have a better chance of getting the
display to look correct when viewed by someone else.

Of course, there are those that use the autowrapping of mailtool and forget
that others aren't using mailtool.  Or they use wider windows, which also
causes wrapping on other displays.

I have all my xterm windows fixed to 80 character width.  Makes for less
problems.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.windows.x
From: oj@pictel.com (Oliver Jones)
Subject: Re: Kills from Window Manager
Organization: PictureTel Corporation
Date: Mon, 27 Jul 1992 12:12:13 GMT

In article <14ptagINNrdo@early-bird.think.com> barmar@think.com (Barry Margolin) writes:

>...I don't want my window manager automatically upgrading
>an attempt to delete a single window into an operation that will probably
>crash the application (most clients don't seem to have customized XIO
>handlers).

Just to pick a nit ... Most applications with multiple top-level
windows use just one display connection to operate all their windows.

A customized XIO handler can't help with distinguishing a single-
window delete operation from an application crash.  Once Xlib gets
around to calling your custom XIO error handler it's too late: the X
connection and the application's server resources have already been
destroyed.

Ollie Jones
Newsgroups: comp.windows.x,comp.windows.open-look
From: lwv26@cas.org (Larry W. Virden)
Subject: Looking for Imake expert who also knows OpenWindows
Reply-To: lvirden@cas.org (Larry W. Virden)
Organization: Nedriv Software and Shoe Shiners, Uninc.
Date: Fri, 31 Jul 1992 12:47:29 GMT


I am trying to make imake and xmkmf work under OpenWindows 3.0.  I have
a patch that was posted which modifies the templates and site.def, etc.
files .  But for some reason, imake does not use them when I tell it to 
using the command:

imake -I/home/lvirden/lib/config -DUseInstalled /home/lvirden/lib/config

What I would like to do is shar my config files together and send them 
along to an expert who is willing to help me figure out what to do to
get things to work.

Any volenteers?
-- 
Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
America Online: lvirden@aol.com
From: rcsaito@cs.washington.edu (Richard Saito)
Newsgroups: comp.windows.x
Subject: Re: -lPW causes problems building R5 on HP 9000/700s
Date: 23 Jul 92 01:45:55 GMT
Organization: Computer Science & Engineering, U. of Washington, Seattle

Newsgroups: comp.windows.x
Subject: Re: presentation software needed !!
Summary: 
Expires: 
Followup-To: 
Distribution: 
Organization: Computer Science & Engineering, U. of Washington, Seattle
Keywords: 

I'm attempting to build X11 R5 on a HP 9000/360 under HP-UX 8.0.  I was
wondering if anybody has done this before, since MIT only tested it on
versions up to 7.0.

Thanks

-- 
Richard
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: X Font problems
Keywords: X11R5, Fonts, Suns
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 24 Jul 92 18:53:50 GMT

In article <1992Jul20.103255@lssec.bt.co.uk>, dharding@lssec.bt.co.uk (Derek Harding) writes:

> xset fp+ ~/xfonts

> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  51 (X_SetFontPath)

There are two common reasons for this error.  One is that the directory
isn't properly set up (mkfontdir or equivalent).  The other is that
you've neglected to note that the path you provide must be valid in the
*server*'s view of the filesystem.  Its validity from xset's point of
view is completely irrelevant (though in some cases xset and the server
will have the same point of view).

From the rest of your posting (which I deleted), I suspect the latter
in this case.  But you didn't describe enough of your setup for me to
be certain.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: mdpopham@babbage.waterloo.edu (Mike Popham)
Subject: How to capture screen?
Organization: University of Waterloo
Date: Tue, 28 Jul 1992 22:39:43 GMT

First, thanks to everyone who responded to my request for help with
smooth scrolling.

My question now is how can I capture a screen shot (preferably PS)?
Is there any application that does this (I am working on Sparcs)?

Thanks,

mike
Newsgroups: comp.windows.x
From: feit@ERA.COM (Mark Feit)
Subject: HELP! Need oldX Source
Organization: Engineering Research Associates, Vienna, VA
Distribution: dc
Date: Wed, 22 Jul 1992 18:36:41 GMT

Could some kind soul with X source please shar up the source for
liboldX and mail it to me?  I need the following:

	mit/lib/oldX/
	mit/lib/oldX/Imakefile
	mit/lib/oldX/XDelAssoc.c
	mit/lib/oldX/XDraw.c
	mit/lib/oldX/XLookAssoc.c
	mit/lib/oldX/XMakeAssoc.c
	mit/lib/oldX/XDestAssoc.c
	mit/lib/oldX/XCrAssoc.c
	mit/lib/oldX/X10.h

Thanks loads...  I'd get the MIT-1 tape from UUNET, but their system
won't sent it for some reason.

						- Mark

 ................................. .................................
: Mark A. Feit, Software Engineer : Internet: feit@era.com          :
: Engineering Research Associates : USENET: ...!uunet!era!feit      :
 ................................. .................................
 "Software development is 10% science, 25% ingenuity and 65% getting
	       the ingenuity to work with the science."
Subject: Re: Are you destroyed yet?
Organization: University of Maine System
Newsgroups: comp.windows.x
From:    michael@maine.maine.edu (Michael Johnson)
To:      NETNEWS@MAINE
Date:    Mon, 27 Jul 92 10:17:08 EDT

In article <9207270032.AA03102@hyundai.unisql> kk@unisql.UUCP (Kerry Kimbrough)
writes:
>What's the politically correct way of determining if a widget is in the
>process of being destroyed? Testing core.being_destroyed seems to be the
>only way, but isn't this really an illicit peek under the rug?

No, there's nothing illicit about it. core.being_destroyed is a documented part
of the Intrinsics, always guaranteed to be there, and to be used in the
specified fashion. It's no more or less illicit that using, for example, the
core.visible field.

Michael Johnson, VM Systems Group                     michael@maine.maine.edu
"I will choose the path that's clear. I will choose Free Will." -- Neil Peart
Newsgroups: comp.windows.x
From: wbt@cs.tulane.edu (Bill Thomason)
Subject: xdm and key mappings
Nntp-Posting-Host-[nntpd-3568]: proteus
Organization: Computer Science Dept., Tulane Univ., New Orleans, LA
Distribution: usa
Date: Fri, 24 Jul 1992 16:47:19 GMT


I'm trying to set xdm to run on our departmental workstations.  I've run into
a slight problem.  I just discovered that one of our users remaps the QWERTY
keyboard arrangment to DVORAK using xmodmap and the keysym command for each
key.

When he finishes with his login session, the keys still remain mapped to
DVORAK.  Needless to say, this could potentially wreak a lot of havoc on
most everyone using these workstations.

I suppose he could manually remap the keys before logging out but this could
become a real nusance.  Does anyone know of some way of automating the
re-mapping process so that another user could come along and be able to use
a QWERY keyboard arrangement?


thanks in advance,
-bill
-- 
Bill Thomason                           Email: wbt@cs.tulane.edu
Dept. of Computer Science                      thomason@cs.tulane.edu
Tulane University                              rex!wbt
New Orleans, LA 70118