HDTenEightyP/NetNews huggingface dataset:
From: gml4410@ggr.co.uk (Lack Mr G M)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Shared LIBS: How can this ever work
Date: 11 Sep 92 15:30:53 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Via: uk.co.ggr; Fri, 11 Sep 1992 15:36:21 +0100
Date: Fri, 11 Sep 92 15:25:57 BST
Message-Id: <9209111425.AA13492@uk0x06.ggr.gri.com>

> From: metasoft!alan@uunet.UU.NET
>...
> Thanks for the info. Looks like the inventors of shared libraries
> failed to note the difficulty in maintaining multiple versions of
> an OS.

     I  think  the  problem  really  lies  with  the implementors of the
*original* libraries, rather than the  inventors  of  shared  libraries.
You   can   only  *really*  hope  to  maintain  a  semblance  of  OS-rev
independence if  your  library  calls  have  version  numbers  for  data
structures which may change.  Then the library can use the version which
you say you have given it/want to have back, and if it is a  version  it
doesn't know about (library is too old) produce an error. 

     Unix  (or  even C) does *not* have this, so once a *single* routine
is incompatibly changed the *whole* library has to reflect this, and all
of your programs will suffer. 


-------------------------- Gordon Lack ----------------------------------
The contents of this message *may* reflect my personal opinion.  They are
*not* intended to reflect those of my employer, or anyone else."
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: signal when window is destroyed
Date: 6 Sep 92 12:40:17 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Sun, 6 Sep 92 06:29:43 GMT
Message-Id: <1992Sep6.062943.15263@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.unix.aix,comp.unix.questions,comp.windows.x.motif,comp.windows.x

In article <3297@carroll1.cc.edu>, pwickman@cerebus.cc.edu (Paul J. Wickman) writes:

> What (if any) signal type is sent when a window is destroyed to the
> program running in it[?]

Depends on what you mean by "the program running in it".  It would also
help if you were more precise about what "destroyed" means, though in
this case I think I can probably guess.  "running in it" is similarly
vague.

> The program is an xterm exec-ing another program

You are probably thinking of "a window" from a user's perspective.
From that point of view, destroying a window amounts to making a
request of your window manager.  When you do this, no signal in the
technical UNIX sense is sent to the X client responsible for the
window.  Depending on the window manager and various other things, the
client may see the connection go away, or it may receive a request to
make its window disappear.  In neither case, though, does the event
take the form of a UNIX signal.

However, your comment about xterm makes it sound as though "running in
it" here does not refer to the X client, which would be xterm, but
rather to some process running connected to the pseudo-terminal xterm
has set up.  In this case, what *should* happen is that the virtual
terminal loses carrier, which usually generates a SIGHUP.  Whether this
actually happens, and if it does whether your program will see it,
depends on many factors.  Some systems don't seem to close down ptys
correctly to begin with, at least not always.  Even if the pty is shut
down correctly, your program may be running in the background and hence
not get the signal.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: U56789@uicvm.uic.edu (1)
Newsgroups: fj.mail-lists.x-window
Subject: File icons using XView
Date: 7 Sep 92 02:09:05 GMT
Distribution: fj
Organization: University of Illinois at Chicago

Date: Sunday, 6 Sep 1992 19:23:19 CDT
Message-Id: <92250.192319U56789@uicvm.uic.edu>
Newsgroups: comp.windows.x,comp.windows.open-look

Hi,
I am a new member of the X community. I am presently using Xview 3.0 .

I need to create file icons similar to the ones in the OPENLOOK file
manager, ie an icon representing the various kinds of files (make, .c,
executable etc.) and the name of the file below the icon. Like in the
file manager I need to implement the capability to select these icons
(hilighting the icons), moving them around (like to the trash) etc.


I would like to know how this could be done using XView. I have looked
the XVIEW reference manual (O 'Reilly vol. 7). It hasn't been very helpful.

I have been thinking of using panel buttons and mapping the server images
onto them. But the problem is I need to have both  the icon (server_image)
and a title (label_string). A panel button can have either one,not both ie.,
a PANEL_LABEL_IMAGE or PANEL_LABEL_STRING cannot both be in effect.

I would appreciate your help in this matter. I request anyone who has
had the similar problem or implemented something similar to send me
pointers as to how this can be accomplished.

Thanks in advance.

Sanjeev Shah
ssshah@bert.eecs.uic.edu

Dept. of EECS
Univ. of Illinois at Chicago
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: c i t lo i
Date: 5 Sep 92 03:52:28 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Fri, 4 Sep 92 09:27:16 GMT
Message-Id: <1992Sep4.092716.18861@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <9208311955.AA15417@cgise>, espiritu@cgi.com (Rex Espiritu) writes:

> The following message appears while in an xterm process: 'c i t lo i:'.

This looks very suspiciously like a parity problem: "c?i?t lo?i?:",
where the ? marks are characters of odd parity (all of c,i,t,l,o,: are
even parity).  I would guess that the machine's hostname matches c?i?t,
where the ? marks are drawn from the odd parity characters

	 #%&)*,/12478;=>@CEFIJLOQRTWX[]^abdghkmnpsuvyz|

and that the "lo?i?:" part is "login:".

> Anything typed after receiving this message exits the process.

This is hardly surprising.  login or getty or whoever's printing the
login: message has undoubtedly done something to the stty settings that
whatever's running in the window doesn't like....

Of course, this ignores the *real* question: why is it happening?  I
have no easy answers to this.  It looks to me as though login/getty and
xterm disagree over ownership of the pseudo-tty.  Check with ps when
this happens and see if maybe you can see some clues....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: hwn@cci.dk (Henrik W. Nielsen)
Newsgroups: fj.mail-lists.x-window
Subject: X11R5 -- HELP !
Date: 8 Sep 92 14:06:14 GMT
Distribution: fj
Organization: CCI europe, Research and Development

Date: 8 Sep 92 11:43:35 GMT
Message-Id: <1992Sep8.114335.2359@cci.dk>
Newsgroups: comp.windows.x



HELP !!!

I have just compiled X11R5 on my Sun IPC (SunOS 4.1.1) using gcc-2.

It compiles without any errors, but when trying to start X, I get the
following error message:

Getting interface configuration: Operation not supported on socket
sunOpenFrameBuffer: Inappropriate ioctl for device

Fatal server error:
no screens found
XIO:  fatal IO error 32 (Broken pipe) on X server "(null)"
      after 0 requests (0 known processed) with 0 events remaining.
      The connection was probably broken by a server shutdown or KillClient.


It's a standard 8-bit color IPC configuration.

Does anyone know what is wrong ? 

Thanks.

HWN.

------------------------------------------------------------------------------
| Henrik Winther Nielsen                                     CCCCCCC  II     |
| Basic Development                                         CC  CCCC         |
| CCI Europe                   Mail:  hwn@cci.dk            CC CC     II     |
| Oester Parkvej 9             Phone: 86295588 (361)        CC  CCCC  II     |
| DK-8270 Hoejbjerg                                          CCCCCCC  II     |
| Denmark                                                    e u r o p e     | 
------------------------------------------------------------------------------
From: jec@cbnews.cb.att.com (john.collier)
Newsgroups: fj.mail-lists.x-window
Subject: Need OpenWindows 3.0-compatible olvwm
Date: 8 Sep 92 15:44:21 GMT
Distribution: fj
Organization: AT&T

Date: Tue, 8 Sep 1992 12:21:30 GMT
Message-Id: <1992Sep8.122130.1405@cbnews.cb.att.com>
Newsgroups: comp.windows.x

I would like to obtain source code for a version of "olvwm" (OpenLook Virtual
Window Manager) that is compatible with Sun's OpenWindows 3.0 libraries.  A
former system administrator of ours obtained a version of "olvwm" several
months ago, but he has since left the company and we've lost the source code.

The version we currently have works fine for OpenLook 2.0 libraries, but we
are upgrading to Xnews/OpenWindows 3.0.  With OpenWindows 3.0, we don't get
all of the correct window "decorations" such as resize corners, title bars,
etc.

I really liked using "olvwm" since I could have a separate root window for
each current "hot topic" I was working on.  I would consider another virtual
window manager if there is a public domain version available.

Any assistance would be appreciated.

-- 
-------------------------------------------------------------------------------
 Working around here is like going into a swamp | John Collier, AT&T Bell Labs
 full of alligators...you'll either be eaten    | ARPA:  jec@cbnea.ATT.COM
 alive or wind up with some really nice luggage!| uucp/e-mail:  att!cbnea!jec
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 9 Sep 92 03:28:43 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Tue, 8 Sep 92 22:08:48 GMT
Message-Id: <1992Sep8.220848.1039@thunder.mcrcim.mcgill.edu>
Newsgroups: alt.religion.computers,comp.human-factors,comp.windows.x

In article <37783@sdcc12.ucsd.edu>, djohnson@cs.ucsd.edu (Darin Johnson) writes:
>> but that file might have unprintable characters in it, or it might
>> not be a postscript file at all.. you see the computer knows best.
> Right :-) Postscript knows enough not to crash the printer.

I got news for you.... :-)

>> ( In this case I would be tempted to sit down and write that special
>>   program, [...] )
> But all the program needs to do is pass everything through verbatim.

Exactly: that this needs a special program is precisely the problem!

> (A fancy version would just check the first two characters first, and
> if not postcript, run it through a text to postscript filter.)

The first two characters??  Whatever your chosen "first two characters"
are, there are plenty of text files that begin with them, and
PostScript programs that begin with other characters.  PostScript files
*are* text files.  Even if you read the whole thing, you can't tell
whether I want to print the file as text or have the printer's
PostScript interpreter grind through it as a PostScript program; that
decision *must* be made by the user somehow.  (Except for files that
aren't PostScript programs at all...though telling the difference
between a plain text file and a PostScript program with some mistakes
in it is not one I'd like to have to automate.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: sinan@Mtesol.boeing.com (Sinan Karasu)
Newsgroups: fj.mail-lists.x-window
Subject: Re: stop dirty pictures.. how?
Date: 11 Sep 92 00:33:34 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Thu, 10 Sep 92 15:51:32 PDT
Message-Id: <9209102251.AA12059@mtesol>


xhost + hostname
xhost - hostname

But if you rlog into another host and try to setenv DISPLAY
then you have to xhost + hostname "befor rlogin"
all in all it is a pain.

but ! if you put the following two lines in your .login file then all is kosher
(nothe that this does not propagate for sequential  rlogins. 
only for the first one....
If everybody does this then you don't have to worry!!!!


#         commands to perform at login
setenv REMOTEHOST `who am i | expand | sed -e 's/  */ /g' -e 's/(//' -e 's/)//' -e 's/\..*//' | cut -d" " -f6`
setenv DISPLAY ${REMOTEHOST}:0.0
From: iscooibc@nuscc.nus.sg (Beng Chin)
Newsgroups: fj.mail-lists.x-window
Subject: Drop at the wrong place!
Date: 15 Sep 92 22:22:15 GMT
Distribution: fj
Organization: National University of Singapore

Date: 15 Sep 92 10:51:38 GMT
Message-Id: <1992Sep15.105138.10302@nuscc.nus.sg>
Newsgroups: comp.windows.x

Hi,

I am trying to move a widget around within a window (maybe later
between windows).  After dragging the widget around and deciding
to drop the widget, I will capture the x,y coordinates of the
pointer and XtMoveWidget the widget and drop it.

The problem is that the widget w does not drop where I point!
I did this -

    x = event->xmotion.x;
    y = event->xmotion.y;
    XQueryPointer( XtDisplay(w), XtWindow(w), &root, &child,
    &root_x, &root_y, &win_x, &win_y, &mask);
    XtMoveWidget(w, win_x, win_y);

I am also not sure what the x,y coordinates used in XtMoveWidget
represent - is it with respect to the screen, root, window etc.

Would appreciate any kind of help.  Thank you.


KC Phua (Student)
National U. Of Singapore
From: oaf@vingmed.no (Ole Asbjorn Fadum)
Newsgroups: fj.mail-lists.x-window
Subject: No title in original
Date: 8 Sep 92 12:25:50 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Tue, 8 Sep 92 13:07:09 +0200
Message-Id: <9209081107.AA11744@vingmed.no>


Hi

Is it possible to listen to the information excanged between
xrdb and an application?

My problem is that I want to customize a popup window in a
given application but I don't know what the name is.

My thought was that if you could see what resources the
application requests it's easier (not easy) to find the
resource responsible for the wanted popup.

ole asbjorn fadum (oaf@vingmed.no)
From: fineman@markov.arc.nasa.gov (Charles Fineman)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Colormap stuff
Date: 10 Sep 92 12:28:37 GMT
Distribution: fj
Organization: NASA/ARC Information Sciences Division

Date: 10 Sep 1992 01:08:17 GMT
Message-Id: <FINEMAN.92Sep9170817@markov.arc.nasa.gov>
Newsgroups: comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics


I thought XInstallColormap was only supposed to be called by window managers.

	~C
 
--
From: wladimir@dfki.uni-sb.de (Wladimir Minenko)
Newsgroups: fj.mail-lists.x-window
Subject: Wanted: a paint programm to edit images (e.g JPEG) for X Window
Date: 5 Sep 92 02:14:52 GMT
Distribution: fj
Organization: DFKI - German Research Center for AI

Date: 3 Sep 92 06:08:01 GMT
Message-Id: <184a41INN1j1@eagle.dfki.uni-sb.de>
Newsgroups: alt.binaries.pictures.utilities,comp.windows.x


Hi, all together !

 Is there a paint programm to edit images (e.g JPEG) for X Window. I would
like to paint on the image. I have "xv" already, but it edit only color
parameters


 Thank you in advance

-- 
Regards

	Wladimir Minenko
	Project KIK-TEAMKOM

	DFKI GmbH		===>	German Research Center for
	Stuhlsatzenhausweg 3		 Artificial Intelligence
	6600 Saarbruecken 11
	Germany
	Tel. +49-681-302-5294
	Fax. +49-681-302-5297
From: taylor@foraker.tivoli.com (Eric Taylor)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Where does SIGUSR1 come from?
Date: 13 Sep 92 20:30:59 GMT
Distribution: fj
Organization: TIVOLI Systems, Inc.

Date: 10 Sep 92 18:50:31 GMT
Message-Id: <3976@tivoli.UUCP>
Newsgroups: comp.windows.x

This is a UNIX signal.
kill -USR1 <the process id>

should do the trick.
From: drand@spinner.osf.org (Douglas Rand)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Transparent windows
Date: 10 Sep 92 05:02:15 GMT
Distribution: fj
Organization: Open Software Foundation

Date: 9 Sep 92 10:56:34
Message-Id: <DRAND.92Sep9105634@spinner.osf.org>
Newsgroups: comp.windows.x

In article <9209081631.AA04622@uahcs2.cs.uah.edu> ldawes@uahcs2.cs.uah.EDU (Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville) writes:

   How are transparent window backgrounds created and/or implemented.
   Is there a color index for transparent colors.  Where is a good 
   source of documentation concerning this?

There aren't any in standard X (to the best of my knowledge).  A 
window can have CopyFromParent as background,  but that isn't 
transparency,  and the X color model has no such notion.  Most
display hardware doesn't either.


--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
From: kk@hpl-opus.hpl.hp.com (Konstantinos Konstantinides)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Tree Layout/Display Algorithm(?)
Date: 10 Sep 92 11:25:03 GMT
Distribution: fj
Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA

Date: 9 Sep 92 22:25:17 GMT
Message-Id: <63770022@hpl-opus.hpl.hp.com>
Newsgroups: comp.windows.x

In comp.windows.x, savchenk@cgi.COM ("Alex Savchenko") writes:

> 
> Did anybody come across an article about (or source  code of :) an
> algorithm that allows efficient layout/display/editing of a grahical
> presentation of a tree-like structures in the window?
> 
> Thanks in advance,
> 
> 	- Alex.
> 
> 
Check the tree widget in Young's Book "X window system programming
and applications"

KK
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: spying on xrdb [followup, with a Subject: ]
Date: 11 Sep 92 21:55:40 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Fri, 11 Sep 92 00:31:17 GMT
Message-Id: <1992Sep11.003117.9019@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <9209081107.AA11744@vingmed.no>, oaf@vingmed.no (Ole Asbjorn Fadum) writes:

> Is it possible to listen to the information excanged between xrdb and
> an application?

Yes and no.  xrdb does not communicate directly with applications;
instead, both xrdb and the applications communicate with the X server.
It is possible to spy on this exchange (xscope or xmon or similar), but
given what you say I don't think it's what you want to do.

> My problem is that I want to customize a popup window in a given
> application but I don't know what the name is.

> My thought was that if you could see what resources the application
> requests it's easier (not easy) to find the resource responsible for
> the wanted popup.

Yes...except that spying on communication won't tell you that.  The way
this works is that the application queries the appropriate property
(properties, in some cases).  The server sends the property value,
which is the whole resource database.  The application then picks what
it wants out of this and ignores the rest.  So spying on the protocol
will tell you only what you can already find out with xrdb -query; it
won't tell you which parts of that any particular application is
interested in.  There is no good way to find out what you're after.  If
your application is dynamically linked, or you can relink it, you might
be able to do something useful by adding wrappers around the Xrm
routines, but that would be a bit of a mess...

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: fj.mail-lists.x-window
Subject: Spectrum RGB values?
Date: 8 Sep 92 04:09:19 GMT
Distribution: fj
Organization: Computer Science Dept, Univ of Arizona, Tucson

Date: 8 Sep 92 03:23:34 GMT
Message-Id: <21735@optima.cs.arizona.edu>
Newsgroups: comp.graphics,comp.windows.x

Hi,

I need a list of RGB values that can approximate a spectrum. Any idea?
Thanks.

-- 
= Qiang Alex Zhao		   Computer Science Department
  azhao@cs.arizona.edu             University of Arizona
  (602) 621-1815                   Tucson, AZ 85721
From: lwv26@cas.org (Larry W. Virden)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Compile X11 under Solaris 2.0
Date: 7 Sep 92 13:07:43 GMT
Distribution: fj
Organization: Nedriv Software and Shoe Shiners, Uninc.

Date: Mon, 7 Sep 1992 11:46:01 GMT
Message-Id: <1992Sep7.115001.20556@cas.org>
Newsgroups: comp.windows.x

In article <1992Sep3.235234@nt1l.krl.com> aardvark@nt1l.krl.com (Donald Koch) writes:
:In article <9209031847.AA02731@mtesol>, sinan@Mtesol.boeing.COM (Sinan Karasu) writes:
:[...]
:>  I have a very simple question. I don't quite understand what is at
:> issue here. It is my understanding that all Suns come with X11R4
:> out of the box. So , what is the need for all this porting Stuff?
:
:I believe that OpenLook comes with a Sun out of the box.  Slight difference.
:Like no imake or xmkmf (useful for building other X goodies), an xterm that
:some people don't like the look and feel of (or for that matter, the entire
:OpenLook look and feel which some people don't like) and other missing programs
:(don't ask me which, I've managed to miss using the OpenLook stuff so far).

1. imake and xmkmf comes with OpenWindows 3.0 at least.  
2. The xterm that is there is the std X11R4 xterm as far as I can tell.  It
isn't an OpenLook one at least - unfortunately.
3. The Athena widget libraries, extentions, etc. are all there.  As for 
'missing' stuff, I cannot imagine what of any major importance is missing,
from the core X11 R4 tapes.  Twm is even there!
-- 
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: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Finding the installed colormap
Date: 8 Sep 92 23:50:08 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Tue, 8 Sep 92 19:45:15 GMT
Message-Id: <1992Sep8.194515.18645@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <Bu2LDI.Izw@news.cso.uiuc.edu>, ebina@void.uiuc.edu (Eric Bina) writes:
> In article <1992Sep4.100336.19689@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:

>> Now that I've just told you you can't do what you want for two
>> different reasons, I'll tell you how to do what you want.  Well, not
>> really, but I'll tell you how to do what you asked for.  It's called
>> XListInstalledColormaps.

> I know about, and have been using XListInstalledColormaps, but on the
> SGI it seems to be worthless.

> Has anyone out there ever grabbed a portion of an SGI screen and
> gotten the colors right?  If so, how?

An Iris is a good example of a machine where the problems I described
bite you in a big way.  The typical Iris has about eight different
visuals, most of which have distinct characteristics.  For example, one
machine here has two depth-2 PseudoColor visuals, one depth-4
PseudoColor, one depth-8 PseudoColor, one depth-12 PseudoColor, one
depth-12 TrueColor, one depth-12 DirectColor, one depth-24 TrueColor,
and one depth-24 DirectColor.  (This is from memory, so it may be
incorrect.  The exact details don't matter anyway; what matters is that
it has lots of visuals with widely differing attributes.)

Now, if you look at a rectangular area on the display screen, it may
contain pieces from several of those visuals.  It is possible to figure
out which pixels go with which visual if you work hard enough at it
(though you need to grab the server to be sure of getting it right).

However, that's about as far as you can go.  You need to know how the
server and hardware behave in order to figure out what you want.  The
big problem is figuring out what is being displayed for windows
belonging to a visual which has no colormap installed.  (For example,
installing a 24-bit DirectColor colormap may (or may not - I don't know
this hardware) cause all other colormaps to be uninstalled.  Figuring
out what is then displayed for an 8-bit PseudoColor window is not
possible via X.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu