HDTenEightyP/NetNews huggingface dataset:
From: rodan@APOLLO.HP.COM (Dan Richards)
Newsgroups: fj.mail-lists.x-window
Subject: Receiving destroy notify events
Date: 9 Sep 92 01:22:53 GMT
Distribution: fj
Organization: Hewlett-Packard Company, Chelmsford, MA

Date: Tue, 8 Sep 1992 20:13:29 GMT
Message-Id: <BuA06H.4D4@apollo.hp.com>
Newsgroups: comp.windows.x

Is there way to have an event handler on a window called
when a DestroyNotify event occurs?  I get the DestroyNotify
callback called via a window manager property, but what I
really want is to be able to detect window destroy notify
events that occur on windows my application has created and
is now trying to delete.  I have an event handler that is
selecting the StructureNotifyMask and I receive map, created,
visibility, etc. events, but the event handler is never called
with a destroy notify event.  Why is this (I can imagine reasons)
and what can I do about it?

Why do I need this you ask?  The real problem is that I want
to warp the cursor to an unobscured window.  In this case, I don't
want a window that is currently being obscured by the window being
deleted to be considered obscured - ie: the test for visibility should
be done after the window is unmapped and therefore I want to know
when this event has occured.  Any ideas?

-Dan Richards
-------------

Open Systems Software Division   Hewlett Packard
MS CHR-03-DC                     (508) 436-4223
300 Apollo Drive                 Email: rodan@apollo.hp.com
Chelmsford, MA 01824             HP TN: 436-4223

"Discontent is the first step in the progress of a man or a nation"
From: malcolmp@hydra.maths.unsw.EDU.AU (malcolmp)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 10 Sep 92 16:26:01 GMT
Distribution: fj
Organization: School of Mathematics, UNSW, Sydney, Australia

Date: Thu, 10 Sep 1992 02:33:09 GMT
Message-Id: <MALCOLMP.92Sep10123311@hydra.maths.unsw.EDU.AU>
Newsgroups: alt.religion.computers,comp.human-factors,comp.windows.misc,comp.windows.news,comp.windows.x

In article <RJC.92Sep8165238@daiches.cogsci.ed.ac.uk> rjc@cogsci.ed.ac.uk (Richard Caley) writes:
   In article <smr.715609399@hitkw14>, S.Riehm  (s) writes:
   s> I figure that GUI's are inherently non-extensible, even those
   s> wonderful window manager that allow you to define your own pop-up
   s> menus and so on, can you make this menu beep when it pops up?

   Yes. Now, C may not be the ideal configuration language, but it is
   there. X's `mechanism, not policy' slogan does have some advantages. 

For X there's also gwm which uses lisp as its configuration language.  I'm not
saying it's easy to program in, nor that it is the best way to go about
things, but it's the only window mamager I know that allows you to change
things (including bindings, menus, and window borders) at run time.

--
		Malcolm Purvis (malcolmp@hydra.maths.unsw.edu.au)
		School of Mathematics, UNSW, Sydney, Australia.
From: peter@ferranti.com (peter da silva)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 11 Sep 92 11:14:37 GMT
Distribution: fj
Organization: Xenix Support, FICC

Date: 9 Sep 92 17:25:03 GMT
Message-Id: <id.V13T.YBE@ferranti.com>
Newsgroups: alt.religion.computers,comp.human-factors,comp.windows.misc,comp.windows.news,comp.windows.x

In article <1992Sep5.071715.9958@b11.b11.ingr.com> billj@b11.b11.ingr.com (Bill Jones) writes:
> So sorry. We've had a widespread GUI for eight years (Mac) with other
> GUIs gaining acceptance only recently. X Windows about five, OL 
> about the same, Motif about 3-4, Windows ONLY TWO YEARS.

Hmmm. I was using Windows in 1985 or 1986. No later than that, because
I got my Amiga 1000 later and it was early '87 I got that.

OL and Motif are not GUIS. They're style guides for the X GUI.

What about Intuition, or the Xerox Star system?

> Until we get
> an inkling of a consensous, I want NO standardization.

Agreed. And what needs to be standardized isn't the UI, it's the API. Virtually
all GUIs today have too low a level of API... you should comunicate with the
display manager (X server, what have you) in terms of large basic objects like
menus and text regions.

OL and Motif *pretend* to do that, but it's smoke and mirrors. Your application
is still responsible for managing your window in low level detail. See what
happens if you break out of MainLoop for a while.

> I went to an X Conference and eavesdropped on three guys arguing about
> the proper way to drag and drop. There's no clear way to do this
> relatively simple-sounding operation.

The way to do drag and drop is to tell the display manager "I have some stuff
that can be selected" and then wait for it to ask for it. Then the user can
load up the display manager that does drag and drop the way he wants.

Standardization is important, it just has to be done in the right area.
-- 
Peter da Silva                                               `-_-'
Ferranti Intl. Ctls. Corp.                                    'U` 
Sugar Land, TX  77487-5012
+1 713 274 5180                                   Har du kramat din varg idag?
From: djohnson@cs.ucsd.edu (Darin Johnson)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 10 Sep 92 11:37:23 GMT
Distribution: fj
Organization: =CSE Dept., U.C. San Diego

Date: 9 Sep 92 21:31:16 GMT
Message-Id: <37863@sdcc12.ucsd.edu>
Newsgroups: alt.religion.computers,comp.windows.misc,comp.windows.news,comp.windows.x,comp.human-factors

>> because the Mac wasn't designed for *you*, it was designed for people
>> who are not familiar with computers.

But people who are very familiar with computers are often forced to
use them, and are constantly expected to be experts with DOS and Macs.
-- 
Darin Johnson
djohnson@ucsd.edu
    Where am I?  In the village...  What do you want?  Information...
From: ft1wf@ft1sparc.ft1.tu-harburg.de (Werner Fleck)
Newsgroups: fj.mail-lists.x-window
Subject: Looking for shaded contour plotting software
Date: 12 Sep 92 09:14:45 GMT
Distribution: fj
Organization: Technische Universitaet Hamburg-Harburg

Date: 11 Sep 92 09:45:06 GMT
Message-Id: <1987@rztsun.rz.tu-harburg.de>
Newsgroups: comp.graphics,comp.windows.x

Hi,

I am looking for a free software which can make shaded contour plots, i.e.
that does not only the contour lines but also fills it with different colors.
I would like to have it in C for X but hints for any language or graphics
interface are wellcome.

Thanks in advance

-- 
* Werner Fleck                            * email: fleck@tu-harburg.dbp.de *
* Arbeitsbereich Fertigungstechnik I      *                                *
* Technische Universitaet Hamburg-Harburg *                                *
* Denickestrasse 17                       * Tel.: +49 40 7718-3286         *
* D-2100 Hamburg 90                       * Fax:  +49 40 7718-2500         *
From: acourtny@unix1.tcd.ie (Antony A. Courtney)
Newsgroups: fj.mail-lists.x-window
Subject: Re: reliable signals under BSD / SVR4
Date: 4 Sep 92 21:07:38 GMT
Distribution: fj
Organization: Trinity College, Dublin

Date: 4 Sep 92 10:29:26 GMT
Message-Id: <acourtny.715602566@unix1.tcd.ie>
Newsgroups: comp.unix.wizards,comp.unix.questions,comp.windows.x

In <1992Sep4.004436.24755@gateway.novell.com> terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert) writes:

>In article <acourtny.715556934@unix1.tcd.ie> acourtny@unix1.tcd.ie (Antony A. Courtney) writes:
>>There are some "hacks" to get around this, if you're environment lets you
>>write the centralized control loop for the program.  But usually SIGIO is
>>useful in cases where that isn't possible, e.g. when using an X toolkit.
>
>	Wrong.  In XTMainAppLoop() in the X toolkit, there are hooks for
>adding input sources to be "select()"ed on.
> [...]

	I didn't assert that it was totally impossible, just that it was a
"hack".  Adding extra input sources before passing control to XTMainAppLoop()
is a bit like saying "take over the control flow and tell me when something
happens that you understand (X events).  Oh, and also please tell me about
anything else that happens on these descriptors, even though you have no idea
what they are for and you don't know how to deal with them."  I humbly suggest
that this is hardly what one would call "elegant".

>	Read the fine manual.

	I have read the fine manual on select() for my Unix system.  Too bad X
toolkits hide "all that underlying system control flow stuff" from me...

>					Terry Lambert
>					terry_lambert@gateway.novell.com

	-antony

--
********************************************************************************
* Antony A. Courtney                              Email: acourtny@unix1.tcd.ie *
* Computer Science Department                            antony@george.lbl.gov *
* Trinity College, Dublin, Ireland                Phone: 01+353+1-607389       *
From: gram@aim1.aztec.co.za (Graham Wheeler)
Newsgroups: fj.mail-lists.x-window
Subject: Building X11R5 under Dell SVR4
Date: 12 Sep 92 21:56:55 GMT
Distribution: fj
Organization: Aztec Information Management

Date: 11 Sep 92 09:36:00 GMT
Message-Id: <gram.716204160@aim1>
Newsgroups: comp.windows.x

Hi all

Apologies if this is a FAQ; I haven't been following this group for a while
as I couldn't get X11R4 to work with my ATI VGA card.

I am now trying to build X11R5 under Dell SVR4. The only change I made to the
site.def file was to uncomment the HasGcc #define. I then tried to build with:

make CC=gcc -DBOOTSTRAPCFLAGS="-DDELL -Di386SVR4Architecture" World

This resulted in a `cd config', and then imake was built. Control returned
to the `mit' directory, and imake was executed to build a new Makefile. Then
the command `make Makefiles' was executed, and this terminates immediately
with an error along the lines of:

make: line 267: separator required (bu31)

(Sorry, this is all from memory 2 days ago, and may not be literally precise).
Line 267 of the Makefile is blank. The entry preceding this line was 
something along the lines of:

	all::
		if ...\
		do\
			...\
		done

with the `done' being on line 266.

This all takes about 15 seconds, so I'm not getting very far (unlike my SVR4
build on a Sun a couple of years back which went through without a hitch
first time) :-(.

Anyone have any ideas about (a) this make problem and (b) my BOOTSTRAPCFLAGS
settings? Are the latter appropriate for the target architecture?

I would prefer e-mail responses, and can summarise if appropriate.

Thanks in advance
Graham

-- 
Graham Wheeler                     | "That which is weak conquers the strong,
Network Systems Programmer         | that which is soft conquers the hard."
Aztec Information Management       | 		Lao Tzu - Tao Te Ching Ch. 78
gram@aim1.aztec.co.za              | There's no justice, there's just us
From: scowen@wfpc3.la.asu.edu (Paul A. Scowen)
Newsgroups: fj.mail-lists.x-window
Subject: Re: help - DEC.5000 / twm / .X11Startup
Date: 12 Sep 92 11:28:34 GMT
Distribution: fj
Organization: Dept. of Physics & Astronomy, Arizona State University

Date: 11 Sep 92 17:17:43 GMT
Message-Id: <1992Sep11.171743.26420@ennews.eas.asu.edu>
Newsgroups: comp.unix.ultrix,comp.windows.x

In article <DRMRES27.92Sep11100141@c56.ucs.usl.edu>, drmres27@ucs.usl.edu (Mejia Pablo) writes:
|> We have a network of DEC 5000/200 and we wanted to get rid of
|> dxsession.  We wanted to go to using xdm as the login prompter.
|> We were able to get it to work, except that all console output
|> would go to the background, as if the console was a line
|> terminal, instead of our hoped for console xterm.  Because of
|> this, we gave it up.
|> 
|> So my question is, does anybody have this set up so that it works
|> correctly?  If so, would that kind soul please either post or
|> email me an explanation of what we would need to do?  Like a copy
|> of their /etc/ttys and anything else that needs to be changed.

We have R5 running on several DS 5000 series machines and have tossed
decwindows (yuk) in favor of the system for numerous reasons.  Anyway, in
response to your question, simply add a line to start xconsole in the system-
wide Xsession script in /usr/lib/X11/xdm and a window will be started everytime
anyone logs in that intercepts such messages.

We've had zero problems running it that way.  Hope this helps.

-- 
-------------------------------------------------------------------------------
Paul A. Scowen				INTERNET: scowen@wfpc3.la.asu.edu
Department of Physics & Astronomy		  uk1@spacsun.rice.edu
Arizona State University		Tel:      (602) 965-0938
Tempe, AZ 85287-1504			FAX:      (602) 965-7954
-------------------------------------------------------------------------------
From: cecchinr@dimaggio.cs.rpi.edu (Ron Cecchini)
Newsgroups: fj.mail-lists.x-window
Subject: XmSelectionBox & multiple fonts - try # 2
Date: 6 Sep 92 10:19:32 GMT
Distribution: fj
Organization: Rensselaer Polytechnic Institute, Troy, NY

Date: 4 Sep 92 20:28:13 GMT
Message-Id: <ngzys-g@rpi.edu>
Newsgroups: comp.windows.x,comp.windows.x.motif

Hi again,

 I hope someone from OSF is reading this, because I can't find 
anything anywhere about this problem: 

I have a SelectionBox.  Some of the items in the SelectionBox's List 
widget child are in a bold font, and the rest are in the default font. 
Whenever I try to select an item that is in bold font, it doesn't 
get selected; i.e. it doesn't appear in the SelectionBox's
Text widget child. 
 
I realized earlier today that I wasn't loading the bold font
into the Text widget child (like I was doing for the List widget 
child) - so I did that, and *still* no dice. 
 
Please tell me that I don't have to implement my own SelectionBox!!!
 
Thanx,
Ron
From: metasoft!alan@bloom-beacon.MIT.EDU (Alan Epstein)
Newsgroups: fj.mail-lists.x-window
Subject: Shared Libs: How can this EVER work?
Date: 10 Sep 92 23:29:14 GMT
Distribution: fj
Organization: Meta Software Corporation, Cambridge MA

Date: 10 Sep 92 01:45:21 GMT
Message-Id: <4953@metasoft.UUCP>
Newsgroups: comp.windows.x


Let's suppose that I am an ISV producing a product which runs under X.
I compile and link it using shared libraries in my X11R4p18
environment under SunOS 4.1.1. I then ship it to a customer who is
using SunOS 4.0.3, which contains shared libraries which are 1 or more
revs earlier than what my application is expecting (resulting in some
of the errors previously reported).

How are the shared lib versions my applications expects supposed to
sync with those on the target system? Do I have to link multiple
versions for customers of various OS levels?

-alan

-----------------------------
Alan Epstein
Meta Software Corp		 Internet:  alan@metasoft.com
125 Cambridgepark Dr
Cambridge, MA 02140  USA	      
-----------------------------
From: ematias@dgp.toronto.edu (Edgar Matias)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 4 Sep 92 19:32:11 GMT
Distribution: fj
Organization: CSRI, University of Toronto

Date: 4 Sep 92 00:46:45 GMT
Message-Id: <1992Sep3.204645.25303@jarvis.csri.toronto.edu>
Newsgroups: comp.windows.x,comp.windows.misc,comp.human-factors


In article <1992Sep3.224317.8523@Princeton.EDU>
qpliu@ernie.princeton.edu (q.p.liu) writes:
>
>The problem with the mouse is that it disrupts the use of
>the keyboard.

This is a very keyboard-centric view of things.  You could very easily
say that "the problem with the keyboard is that it disrupts the use of 
the mouse".

The *real* problem is that the keyboard is a two-handed device.
Engelbart's original intent was that the mouse be used in conjunction
with a one-handed keyboard.  Unforturnately, most systems do not come
with one-handed keyboards.  Fortunately, you don't need to buy one to
achieve the same thing.  There is a software solution to this problem...

It is a utility called Half-QWERTY.  Basically, what it does is turn
your regular QWERTY keyboard into a one-handed keyboard.  Here's how
it works...

When you hold down the spacebar it remaps the keyboard in a mirror
image.  For example, if you want to type the letter K (MIDDLE finger,
RIGHT hand) with your left hand, simply hold down the spacebar and
hit the D key (MIDDLE finger, LEFT hand).  Notice that in both cases
you use the middle finger in the same row.  People are able to
adapt to this *very* quickly.  One person (a Macworld journalist)
claimed to be able to type 20 wpm after 15 minutes of practice.

You can ftp to explorer.dgp.toronto.edu to get software demos of this
concept.  Mac and DOS versions are in the /pub/1handkbd directory.

DISCLAIMER:  I'm the inventor of this keyboard design and have a 
vested interest in its success.  We now return you to your regularly
scheduled bickering...

Edgar
From: brian@ilinx.wimsey.bc.ca (Brian J. Murrell")
Newsgroups: fj.mail-lists.x-window
Subject: can an R5 client connect to R4 server?
Date: 7 Sep 92 22:18:10 GMT
Distribution: fj
Organization: InterLinx Support Services Inc.

Date: Mon, 7 Sep 92 20:17:06 GMT
Message-Id: <1992Sep7.201706.3675@ilinx.wimsey.bc.ca>
Newsgroups: comp.windows.x

Well the subject says (asks) it all.  I just compiled X11R5 on one
of the machines in my office.  I have two other machines running
R4 (a SVR4 workstation, and a PC running an R4 server under MS
Windows).  I can't seem to start any applications on my R5 system
with the -display set to either workstation.  

I get an error message such as below if I try to start any client
with the parameter -display ilinx:0.0

Error: Can't open display: ilinx:0.0

So what's the story here??

brian
-- 
Brian J. Murrell                                        brian@ilinx.wimsey.bc.ca
InterLinx Support Services, Inc.                        uunet!van-bc!ilinx!brian
North Vancouver, B.C.
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: want generic resource to override specific application resource
Date: 6 Sep 92 10:09:21 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Sun, 6 Sep 92 05:42:28 GMT
Message-Id: <1992Sep6.054228.13956@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <3861@sapwdf.UUCP>, wohler@sapwdf.UUCP (Bill Wohler) writes:

> i have the following in my .Xresource (that i load with xrdb):
> 	*vt100.translations:#override Meta<KeyPress>: string(0x1b) insert()

> [works some dec machine, an hp needs leading "xterm".]  on the hp,
> /usr/lib/X11/app-defaults/XTerm has:
> 	XTerm*VT100.Translations:#override Meta<KeyPress>: insert-seven-bit()

> what do i need to do to get the translations listed initially to work
> on the hp?

I've seen this answered in pieces; this is an attempt to pull it all
together and make sense of it.

First: it's a bug in the xterm app-defaults file.  App-defaults files
should *always* be as loose as possible - no application name/class,
all classes instead of instance names whenever possible, * instead of .
whenever possible, etc.  Your sort of problem is why.

Ideally, you should go into the app-defaults file and remove the
"XTerm" that's causing the problem.  If you can't do that, you need to
add a leading "xterm" or "XTerm" to your resource line.  (Either one
should work, since the rest of your resource uses names instead of the
classes the app-defaults file uses, so yours will be preferred.)  You
may be able to make your own copy of the annoying app-defaults file and
play games with environment variables to make the lookup at run-time
find your copy; I don't know....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: aardvark@nt1l.krl.com (Donald Koch)
Newsgroups: fj.mail-lists.x-window
Subject: Re: How do you record server/client dialog?
Date: 13 Sep 92 01:22:49 GMT
Distribution: fj
Organization: Koch Research Labs

Date: 11 Sep 92 23:52:23 GMT
Message-Id: <1992Sep11.195223@nt1l.krl.com>
Newsgroups: comp.windows.x

In article <1992Sep11.173044.4614@pixel.kodak.com>, jmoore@ssd.kodak.com (James H. Moore 726-0322) writes:
> I heard of a reference to a public domain tool which basically listens to
> the X server / client dialog, and records it.  Later, you can play
> the dialog back to the server and have it display (real-time) what was
> done previously.  Playback will not need the original application(s) or
> hardware configuration.  This is intended to record demonstations to
> be played back later in a minimal X configuration.

You are probably referring either to xscope, which records the dialog between the
client and server and dumps it to an ascii file, or the input synthesis extension,
which lets you record and playback input events for testing programs.  I've not
heard of a program that does what you want.  I suspect you could modify xscope
to dump a binary file out for filtering and playback.  You need to add timing info,
synthesize the input, and handle the responses from the server.

-- 
Don Koch
aardvark@nt1l.krl.com
From: marbru@auto-trol.com (Martin Brunecky)
Newsgroups: fj.mail-lists.x-window
Subject: Re: "Copyright" problem
Date: 6 Sep 92 09:08:41 GMT
Distribution: fj
Organization: Auto-trol Technology Corporation

Date: Fri, 4 Sep 1992 16:04:27 GMT
Message-Id: <1992Sep4.160427.14773@auto-trol.com>
Newsgroups: comp.windows.x

In article <21537@optima.cs.arizona.edu> azhao@cs.arizona.edu (Qiang Alex Zhao) writes:
>
>There's a certain application which I'm modifying the code. The
>original author said in the code:
>
>	Copyright (C) 1988	Dr. X Y Z
>	Permission is granted to modify and re-distribute this code in
>	any manner as long as this notice is preserved. All standard
>	disclaimers apply.
>
>At this point I want to "modify and re-distribute" the program.
>....
>Could anybody tell me what to do? Thanks a lot!

You could do exactly what David Smythe did with Wcl 2.01: REMOVE the
Dr. X Y Z 's copyright and replace it with one of your own .... 


-- 
=*= Opinions presented here are solely of my own, not those of my employer =*=
Martin Brunecky           marbru@auto-trol.com                  (303) 252-2499
From: mahan@TGV.COM (Patrick L. Mahan)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Shared LIBS: How can this ever work
Date: 11 Sep 92 05:18:08 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Thu, 10 Sep 92 21:29:29 PDT
Message-Id: <920910212929.46400126@TGV.COM>
X-St-Vmsmail-To: ST%"alan@metasoft.com"

# Let's suppose that I am an ISV producing a product which runs under X.
# I compile and link it using shared libraries in my X11R4p18
# environment under SunOS 4.1.1. I then ship it to a customer who is
# using SunOS 4.0.3, which contains shared libraries which are 1 or more
# revs earlier than what my application is expecting (resulting in some
# of the errors previously reported).
# 
# How are the shared lib versions my applications expects supposed to
# sync with those on the target system? Do I have to link multiple
# versions for customers of various OS levels?
# 

When dealing with shared libraries, the trick is to link them under
the earliest version of the OS that you support.  For example, my company
links our software at VMS version 5.1.  This generally allows you to 
install the product on any VMS system from 5.1 and up.  However, this
does depend on the OS supporting upward compatibility via shared libs
which may not happen.  In that case, you will have to have to separate
executables linked againist different libraries.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long