HDTenEightyP/NetNews huggingface dataset:
From: deveau@oceanroutes.ns.ca (Terry J. Deveau)
Newsgroups: fj.mail-lists.x-window
Subject: Re: System V Message Queues and X
Date: 12 Aug 92 13:50:16 GMT
Distribution: fj
Organization: Oceanroutes Canada Inc.

Message-Id: <9208121328.AA06908@expo.lcs.mit.edu>
Date: Wed, 12 Aug 92 10:25:37 ADT
Phone: (902) 468-3007, FAX: (902) 468-3009
Mailer: Elm [revision: 64.9]

> with System V you can have message queues for interprocess communications.
> There is msgrcv() for receiving in a blocking or non-blocking way.
> 
> But in an X-process you can't use msgrcv() in blocking mode and wait until
> a message arrives. Also you can't use calls like 'XtAddInput()' to inform
> X to wait for you, since message queues doesn't follow the byte-stream model.
> 
> So the conlusion seems to be that message queues are not the appropriate
> method under X (unless you don't want to poll from time to time)!
> 
> Juergen Sommer
> Email: sommer@conware.de
> 
What I do is set IPC_NOWAIT on the call to msgrcv() and use XtAddAppTimeout
to poll the message queue every 125 to 500 ms (depending on what else I'm
trying to accomplish while waiting for messages).  It works great.
From: william@lanai.cs.ucla.edu (William Cheng)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Multi page TGIF ?
Date: 17 Aug 92 18:50:58 GMT
Distribution: fj
Organization: UCLA Computer Science Department

Date: Mon, 17 Aug 92 15:20:04 GMT
Message-Id: <1992Aug17.152004.16303@cs.ucla.edu>
Newsgroups: comp.windows.x

In article <66192@hydra.gatech.EDU> gt0963d@prism.gatech.EDU (Deeptendu Majumder) writes:
>I have tried this in past and did not find it to be a very efficient
>and helpful way to get around the problem. I end up running 2, 3 
>copies of TGIF at the same time. Are there some legality issues involved
>in making TGIF multipage ? To me a multipage capabilty would be 
>one of the basic capabilties of any good drawing package and with all
>the other things that TGIF does I do not see the reason behind the
>reluctance of making it multipage..Unless the programming effort
>is beyond what can be put in or some copyright infringement problems.
>
>I am just putting forward my views as a 'HEAVY DUTY' user of the
>package. And I have discussed this need with you once or twice last
>year. I guess when something is good we expect more and more of 
>it..:-)

There is no legal issue in making a multipage tgif.  The main issue is
time, which all of us do not have much of (I'm trying to support text
of any size work, which I consider more important).  I can provide some
basic multipage capability (such as add, delete, next, previous, goto)
with some effort.  I'll consider adding it to the next patch (2.12-p12).
-- 
Bill Cheng // UCLA Computer Science Department // (310) 575-4507
3564-C Boelter Hall // Los Angeles, California 90024 // USA
william@CS.UCLA.EDU      ...!{uunet|ucbvax}!cs.ucla.edu!william
From: jf@edv6000.tuwien.ac.at (Josef Fritscher)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Hanging X11R4 server under AIX3.2.1
Date: 21 Aug 92 13:48:57 GMT
Distribution: fj
Organization: Technical University of Vienna

Date: Thu, 20 Aug 1992 12:13:36 GMT
Message-Id: <1992Aug20.121336.10998@email.tuwien.ac.at>
Newsgroups: comp.unix.aix,comp.windows.x

In article <1992Aug20.085303.23888@fwi.uva.nl>, wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO)) writes:
|> tom@bim.itc.univie.ac.at (Tom Kovar) writes:
|> 
|> #  I am running AIX3.2.1 on more RS6000's (550's and 220's). In some cases
|> #(not quite reproducible), when the Xserver exits, the console keeps hanging.
|> #That means, that the Xserver process really exits, but the background with
|> #traces of some of the windows stays on the screen, and the console + keyboard
|> #are dead. The only help I know is reboot :(

This problem is known since AIX 3.1.3 and it's nice to see some workarounds
here, but the real question is, when will IBM will fix it ...

Joe

BTW, since I use xdm this problem doesn't happen to me.
-- 
Josef Fritscher                     Internet: fritscher@edvz.tuwien.ac.at
Computing Center                      Bitnet: fritscher@awituw64.bitnet
Technical University of Vienna    in reality: jf@edv6000.tuwien.ac.at
Wiedner Hauptstrasse 8-10              Voice: ++431 58 801/5505
A-1040 Vienna, Austria/Europe		 Fax: ++431 58 74 211 
Member of the Austrian Center for Parallel Computation (ACPC)
-------------------------------------------------------------------------
The function of local-in-Universe critical information-gathering and
local-in-Universe problem-solving is manifest in the cockpit of all
great airplanes.                                  (R. Buckminster Fuller)
From: ndd@sunbar.mc.duke.edu (Ned Danieley)
Newsgroups: fj.mail-lists.x-window
Subject: RE: X11R5-based vt100 emulator needed
Date: 12 Aug 92 19:47:33 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Wed, 12 Aug 92 14:53:26 -0400
Message-Id: <9208121853.AA23054@bill.mc.duke.edu>

> 
> What's wrong with Xterm?
> 
> 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
> 

the function keys are wrong.
From: daerb@vms.macc.wisc.edu (David Erb)
Newsgroups: fj.mail-lists.x-window
Subject: Question: should I use the ConnectionNumber() macro?
Date: 12 Aug 92 12:49:52 GMT
Distribution: fj
Organization: University of Wisconsin Academic Computing Center

Date: 12 Aug 92 13:46:28 GMT
Message-Id: <1992Aug12.114716.24783@macc.wisc.edu>
Newsgroups: comp.windows.x,comp.windows.x.intrinsics

I would like to use the following technique, but have heard
mixed rumblings about its advisability:

  use "ConnectionNumber(display)" in a select() call with some
  other sockets to wait for messages from the X server while
  also waiting for messages on the other sockets.

What's the party line on this technique?

Is this portable across all Unix-like X client platforms?

Is this portable across all X client platforms which support the
select() mechanism?

Are there examples of platforms where there is more than one
socket used to implement the connection between a client and the
server?

Do I stand a chance of a race condition where I lose contact
with the server?

Any other wierd gotchas to watch out for?

I'd love to hear any specific comments or advice.

Any help and advice would be appreciated.  Pointers
to sources of other info would be great.  Please
e-mail me directly and I will post a summary.
Thanks in advance.

Dave
daerb@macc.wisc.edu
From: dankoski@leland.stanford.edu (Paul Dankoski)
Newsgroups: fj.mail-lists.x-window
Subject: Guide for DevGuide (pun intended).
Date: 15 Aug 92 01:13:17 GMT
Distribution: fj
Organization: Stanford University

Date: Fri, 14 Aug 92 21:53:14 GMT
Message-Id: <1992Aug14.215314.15461@leland.Stanford.EDU>
Newsgroups: comp.windows.x

   Does anyone know of good documentation for
Sun's DevGuide?  We got the software with our new
system, but really no documentation for DevGuide.

Thanks in advance,

Paul Dankoski
-- 
Paul Dankoski
email: dankoski@isl.stanford.edu
W1: (415) 723-3024
W2: (415) 725-6948
From: curts@tmpcu.mdc.com (Curt Schroeder)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 20 Aug 92 22:29:04 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Thu, 20 Aug 92 09:15:55 -0500
Message-Id: <9208201415.AA00388@tmpcu.mdc.com>


I would like to second many of Tom Christiansen's remarks concerning proper use
of GUIs, particularly in, but not limited to, the unix world.  Personally, the
Wordstar 3.3 keyboard interface is still my favorite editor interface for
letter writing and code work.  Mice make some things a little faster, but often
slow the experienced user down.  Perhaps as computer graphics gets more object
oriented, we will be able to grow into a domain where the graphics building
blocks can be used much like one uses grep, sed, or awk to do things in unix.
The NeXT seemed to have some promising beginnings  in this direction.  Although,
I don't know much about it, my impression has been that Ape is rather modular
for building graphical output.  We are in the infancy of modular, object
oriented computer graphics.  As long as we remember to use GUIs for more than
just idiot proof user interfaces, it should be a most interesting journey.

Just my $.02

Curt

Curt Schroeder | McDonnell Douglas Missile Systems Company      |
----------------------------------------------------------------|
These opinions are mine, mine, mine!  I  | curts@tmpcu.mdc.com  |
am not an instantiation of Std_Employee! | - Apple II Forever - |
From: rjc@cogsci.ed.ac.uk (Richard Caley)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Need unobscurable window that moves obscuring windows
Date: 18 Aug 92 04:35:08 GMT
Distribution: fj
Organization: Human Communication Research Center

Date: 17 Aug 92 17:41:56 GMT
Message-Id: <RJC.92Aug17184156@daiches.cogsci.ed.ac.uk>
Newsgroups: comp.windows.x

In article <1992Aug14.134333.26827@linus.mitre.org>, Craig Prall (cp) writes:

cp> I need to have a security classification banner at the top of my X
cp> display. Antisocial or not, it is a requirement that this window
cp> not be obscurable by other windows.

paper, glue, felt tip pen...

Anyone who has ever tried to raise a window over a post-it note stuck
on the screen knows how effective it is.

--
rjc@cogsci.ed.ac.uk	Tried to copy select from an emacs buffer onto
			an envelope on my deask last week.
From: barton@latcs1.lat.oz.au (Douglas P Barton)
Newsgroups: fj.mail-lists.x-window
Subject: Speech Synthesizer for suns
Date: 17 Aug 92 12:11:33 GMT
Distribution: fj
Organization: What ORGANISATION???  This mess is total chaos!!!

Date: 17 Aug 92 08:14:52 GMT
Message-Id: <1992Aug17.081452.15994@latcs1.lat.oz.au>
Newsgroups: comp.windows.x

Still not used to xrn (I forget to put the subject in sometimes :)
[here goes again >:}]
Is there a speech synthesizer for sun machines (sparc ]['s in
particular)?
 
i am looking for something similar to the amiga standard
distribution say application...

-- 

Douglas Barton - barton@latcs1.oz.au
		"My ,son.  Take for thyself another world,
 		 for that which I leave thee is too small..."
From: se@ikp.uni-koeln.de (Stefan Esser)
Newsgroups: fj.mail-lists.x-window
Subject: can't connect to Xserver (was Re: X11R5)
Date: 17 Aug 92 13:30:58 GMT
Distribution: fj
Organization: Institute for Mathematics, University of Cologne, Germany

Date: 17 Aug 92 10:14:55 GMT
Message-Id: <1992Aug17.101455.122954@rrz.uni-koeln.de>
Newsgroups: comp.unix.aix,comp.windows.x

In article <92227.090057CALT@SLACVM.SLAC.STANFORD.EDU>, CALT@SLACVM.SLAC.STANFORD.EDU writes:
|> I have X11R5 compiled and installed on my 32H. But I am having
|> problem getting it started by using the xinit command.

You might be seing just the same problem as we ...

Try xinit with a .xinitrc file containing just the line:

xterm -d localhost:0


I compiled X11R5 (AIX 3.2.0) a few days ago and got most of it working.

But there remains one annoying problem:
Clients started with DISPLAY set to  ':0'  can't connect to the server,
while  'localhost:0'  works just fine ...

Does anybody know what's wrong with opening a UNIX domain 
socket to the server (MITSHM got compiled in as well ...) ?

Or, even better, is there a workaround/patch ?

Thanks in advance,

STefan
-- 
 Stefan Esser,  Institute of Nuclear Physics,  University of Cologne,  Germany
 se@IKP.Uni-Koeln.DE                                           [134.95.192.50]
From: kmo@sae.com (Mike Ovington)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Implementing XNextEvent timeout
Date: 14 Aug 92 03:16:40 GMT
Distribution: fj
Organization: Software Architecture & Engineering, Inc.

Date: Fri, 14 Aug 1992 00:02:28 GMT
Message-Id: <1992Aug14.000228.15186@sae.com>
Newsgroups: comp.windows.x

In article <1992Aug12.082152.3277@g2syd.genasys.com.au>, andrewc@g2syd.genasys.com.au (Andrew Congdon) writes:
|> 
|> How does Xt implement timeouts?
|> 

Xt uses select() to watch the connection to the server (and any other file
descripters added by Xt{App}AddInput()). The timeout specified on the
select is computed based on the timers that have been requested by the
application. You can certainly to the same thing without Xt, though it
is probably easiest to grab the Xt code to do it. See lib/Xt/NextEvent.c
in the source tree.
-- 
________________________________________________________________________________
      Michael S. Ovington               Template Software
      (703) 318-1000                    13100 Worldgate Drive, Suite 340
      uunet!sae!mikeo                   Herndon, VA 22070-4382
      mikeo@sae.com                     Fax: (703) 318-7378
________________________________________________________________________________
From: melby@dove.yk.fujitsu.co.jp (John B. Melby)
Newsgroups: fj.mail-lists.x-window
Subject: Re: How to know a client itself has been killed?
Date: 18 Aug 92 12:42:32 GMT
Distribution: fj
Organization: Open Systems Dept. Div. 2 Sect. 1, FUJITSU LTD.

Date: 18 Aug 92 09:21:00 GMT
Message-Id: <MELBY.92Aug18092100@dove.yk.Fujitsu.CO.JP>
Newsgroups: comp.windows.x

>How can a client know that itself has been killed by the window manager?

Use XSetIOErrorHandler().  (The same error handler is called when the
client-server connection is lost.)

-----
John B. Melby
Fujitsu Limited, Yokohama
melby%yk.fujitsu.co.jp@fai.com
From: dvanderr@oracle.com (Danny Vanderryn)
Newsgroups: fj.mail-lists.x-window
Subject: xview paste from xterm SOLUTION
Date: 13 Aug 92 11:13:43 GMT
Distribution: fj
Organization: Oracle Corporation.  Redwood City, CA

Date: Thu, 13 Aug 1992 03:29:01 GMT
Message-Id: <DVANDERR.92Aug12192901@hen3ry.oracle.com>
Newsgroups: comp.windows.open-look,comp.windows.x


thanks to farrell mckay (fbm@ptcburp.oz.au) and his 'xcb' program, i
have been able to come up with an easy way to paste into xview apps
from an xterm, or other non-xview app.  (the other way already works
for me....)  i'm looking for people to beta test my changes before i
put them into xcb-2.0 for wide distribution.  

i'm especially interested in users of xview 3.0 or OLIT, neither of
which i've tested against.  if you're interested, send me mail, and
i'll send you xcb-1.1.1.tar.Z.uu (about 30K).  i'm hoping for a decent
response, but not so large that i can't deal with it in free time.
please bear with me if that becomes the case.

danny vanderryn (dvanderr@oracle.com)
--
This opinion will self destruct in 5 seconds.
danny vanderryn--dvanderr@oracle.com   || Take my advice ---
{uunet,hplabs,apple}!oracle!dvanderr   || *I'm* certainly not using it.
(415) 506-3142                         ||
From: spencer@cgrg.ohio-state.edu ("Stephen N. Spencer")
Newsgroups: fj.mail-lists.x-window
Subject: Annoying <ctrl>-D problem when exiting X.
Date: 21 Aug 92 10:20:30 GMT
Distribution: fj
Organization: OSU Advanced Computing Center for the Arts and Design

Date: Thu, 20 Aug 1992 11:18:12 GMT
Message-Id: <1992Aug20.111812.24467@cgrg.ohio-state.edu>
Newsgroups: comp.windows.x

System: Sun SPARCstation IPX, SunOS 4.1.1, X11R4.
Problem:  Occasionally, perhaps one in four or one in every five times I
exit X, I get a stream of <ctrl>-D characters being spit out from somewhere,
which causes a stream of "Use 'logout' to logout." messages to appear on my
screen.  After about twenty of them, the machine logs me out.  That's OK,
I guess, as that is what I want to do when I get out of X most of the time.

Question 1:  What's causing this stream of <ctrl>-D characters?
Question 2:  How can I fix it?

Details:  My .xinitrc file initiates various xterms and a clock in the 
background, then runs 'twm' in the foreground.  I get out of 'twm' and X
by selecting a menu item in a 'twm' popup menu.  I then call 'clear_colormap'
and 'kbd_mode -a' to restore the default colormap and restore the keyboard.
It is here that my problem occurs.


-- 
Stephen N. Spencer, Graphics Research Specialist           ,__o      ,__o
spencer@cgrg.ohio-state.edu  (or spencer@siggraph.org)   _-\_<,    _-\_<, 
(614) 292-3416                                          (*)/'(*)  (*)/'(*)
From: lehors@koala.inria.fr (Arnaud Le Hors)
Newsgroups: fj.mail-lists.x-window
Subject: Re: XPM Question
Date: 20 Aug 92 14:17:10 GMT
Distribution: fj
Organization: Koala Project, Bull Research France

Date: 20 Aug 92 12:25:23 GMT
Message-Id: <27455@sophia.inria.fr>
Newsgroups: comp.windows.x

In article <9208191402.AA26738@uahcs2.cs.uah.edu>, ldawes@uahcs2.cs.uah.EDU
(Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville) writes:
> 
> When using the Xpm function XpmReadFileToPixmap, does this function modify the
> colormap
> to support the requested colors in the xpm file?  Or does one have to specify
> a colormap
> with the appropriate colors?  Is there more documentation on xpm besides the
> PS file
> on export?
> 
> Thanks ahead.

Yes, XpmReadFileToPixmap modify the colormap to support the requested colors in
the xpm file. The documentation reads :

---------
XpmReadFileToPixmap **allocates** colors, as read from the file or possibly
overridden as specified in the XpmColorSymbols attributes. The colors
are allocated dependently on the type of visual and on the default colors.
[...]
If required it stores into the XpmAttributes structure the list of the used
pixels [...]. When finished the caller must free [...] the colors using
XFreeColors.

---------

The only documentation of XPM resides as a TeX file called xpm.tex which is
part of the Xpm distribution (tar file) and its postscript version called
xpm.ps both available on export.

-- 
 Arnaud LE HORS - lehors@sophia.inria.fr - BULL Research France, Koala Project
From: stadt@cs.utwente.nl (Richard van de Stadt)
Newsgroups: fj.mail-lists.x-window
Subject: xdbx: How can I add a button?
Date: 13 Aug 92 20:56:34 GMT
Distribution: fj
Organization: University of Twente, Dept. of Computer Science

Date: 13 Aug 92 15:17:51 GMT
Message-Id: <1992Aug13.171751@cs.utwente.nl>
Newsgroups: comp.windows.x

Does anybody out there know how a button can be added to xdbx? 
The help message from xdbx looks promising. Still I cannot create
an extra button. I'm running X11R5 on Sparcs.

Thanks in advance.

Richard
-- 
R.R. van de Stadt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stadt@cs.utwente.nl
Usually I use vi instead of xedit^[:wq
From: c0031010@ws.rz.tu-bs.de (Josef Schuele)
Newsgroups: fj.mail-lists.parallel
Subject: PVM
Date: 20 Aug 92 12:23:43 GMT
Distribution: fj

Hi,
has anybody installed PVM on HP9000/400 and/or HP9000/700 and could
give me some hints ?

For example, is there a need of changing /etc/services and how?

Thanks, Josef
From: charles@convex.ox.ac.uk (Charles Curran)
Newsgroups: fj.mail-lists.parallel
Subject: Convex Users Conference, Oxford -- the super computer conference
Date: 17 Aug 92 19:33:36 GMT
Distribution: fj

ECUC'92, this year's European Convex Users' conference, will be
held in Oxford at the end of September.  The conference
(organized by Convex users) will be two and a half days long
starting on the afternoon of Wednesday, 30 September and
finishing late afternoon on Friday, 2 October.  
There will be presentations, technical briefings, panel
sessions, a user business session, and special interest groups
and birds-of-a-feather meetings.  There will also be poster
displays.  Convex and a variety of third-party vendors will be
exhibiting and demonstrating their products.  
Two intensive tutorials--on Code Optimization (one and a half
days) and on System Tuning and Performance (one day)--will be
held in parallel prior to the conference.

Users all around the world will be presenting papers on a full
range of topics; the list is beyond the scope of this brief
message.  Convex speakers include Bob Paluck, chairman and
president, Steve Wallach, senior vice president of technology,
and John Gelsey, their massively parallel products' manager, as
well members from their file-server, networking, visualization,
and compiler products sections.


This Conference is being held in Oxford, renowned for its
university, which is the oldest in the English-speaking world.
The very pleasant town, known as the 'City of Spires' because of
its skyline of towers and steeples, contains many buildings
dating from the 13th-17th centuries.


So,
if you would like to come to the super computing conference
please ask for a full Programme and Booking Form.



--Charles Curran.
From: rbe@yrloc.ipsa.reuter.COM (Robert Bernecky)
Newsgroups: fj.mail-lists.parallel
Subject: Re: Is the overhead of spin lock acquisition always significant?
Date: 21 Aug 92 12:16:13 GMT
Distribution: fj

In article <1992Aug19.063703.3904@leland.Stanford.EDU> bernardl@cs.Stanford.EDU (Bernard Lee) writes:
>In article <1992Aug18.111938.19628@hubcap.clemson.edu>, Ian Heavens <ian@spider.co.uk> writes:
>
>|> This issue becomes important because multiple-reader/single-writer
>|> locks are much more convenient to use, and reduce contention, at
>|> a cost of increasing the overhead (three times that of a mutex lock?).
>|> 
>|> Are their cache consistency or other reasons to inflate the overhead
>|> of testing and setting a memory location?  What have I missed?
>|> 
>|> Can someone suggest a rough equivalent for a spin lock acquisition in
>|> terms of (some arbitrary mix of) instructions execution, where both 
>|> instruction and data fetch are cache hits?
>
>Try running some industrial CFD applications with writable global data 
>(like the Barnes-Hut algorithm) on 100's of processors.  You will literally
>see the machine comes to a halt...
>

We had similar problems with SHARP APL running under MVS/XA on a 
TWO (!) processor 309x system, if memory servies(it doesn't, always).
We were using Compare and Swap to implement a race-free linked list
update on a queue. CS has the unfortunate "feechur" of dragging all
other processors to a stop, washing their dishes, clearing their
pipelines, blowing their noses, etc. So, the effect on any but the
most trivial systems was that all processing would hang on the 
CS instructions on all (both) processors. 

The dirty fix is to loop on a counter until the cell-to-be-swapped
looks "OK", then hit the CS once. If it works, fine. If not, go 
count to 1000 and then look at the cell again. This avoids the
synchronize which otherwise paralyzes the system.

Not a swell design for the naive...

Bob

Robert Bernecky      rbe@yrloc.ipsa.reuter.com  bernecky@itrchq.itrc.on.ca 
Snake Island Research Inc  (416) 368-6944   FAX: (416) 360-4694 
18 Fifth Street, Ward's Island
Toronto, Ontario M5J 2B9 
Canada