HDTenEightyP/NetNews huggingface dataset:
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: fj.mail-lists.x-window
Subject: RE: Color string to nearest match converter?
Date: 30 Sep 92 21:10:38 GMT
Distribution: fj
Organization: CS Department, Dortmund University, Germany

Date: 30 Sep 92 16:10:23 GMT
Message-Id: <1acjhfINN1l4@fbi-news.Informatik.Uni-Dortmund.DE>
Newsgroups: comp.windows.x

In article <1992Sep28.145140.2484@ims.com>, tonyf@peacock.ims.com (Antonio
Freixas) writes:
|> It would still be handy to have a function that returns the closest
|> color in the colormap, although someone would have to define
|> "closest".

The image display client xv does this if it can't find enough free color
cells. Look into the source to find out about the details.

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
From: micha@veeble.han.sub.org (Michael Zuelsdorff)
Newsgroups: fj.mail-lists.x-window
Subject: graphs with double log axes
Date: 5 Oct 92 08:26:48 GMT
Distribution: fj
Organization: veeble Hannover, Germany

Date: Thu, 01 Oct 92 23:52:29 GMT
Message-Id: <1992Oct01.235229.14649@veeble.han.sub.org>
Newsgroups: comp.windows.x

Hi,

I'm lookinng for a X11 program  to display/print
graphs with double log. axes.
Any help?!

micha
From: melpar!mark@bloom-beacon.MIT.EDU (Mark Mchugh)
Newsgroups: fj.mail-lists.x-window
Subject: Grabbing NumLock key
Date: 30 Sep 92 12:10:15 GMT
Distribution: fj
Organization: E-Systems, Melpar Division, Falls Church, VA

Date: 28 Sep 92 14:37:52 GMT
Message-Id: <268@melpar.UUCP>
Newsgroups: comp.windows.x,comp.windows.news,comp.windows.misc

I am having a problem grabbing the NumLock key on a Sun IV keyboard.

We have a program that grabbes all twelve f-keys and all fifteen r-keys.
We are also grabbing the numlock key in order to switch from r-keys
to normal cursor control keys.  

Upon pressing a numlock key, no other keys can be grabbed until the
numlock key is depressed again.  It is as if the server steals the first
numlock press and doesn't inform us of the event. 

If anyone knows anything about this please let me in on it.....
From: futzi@uni-paderborn.de (Michael Kutzner)
Newsgroups: fj.mail-lists.x-window
Subject: Re: BUS error in Type1 code -- any ideas?
Date: 28 Sep 92 19:33:05 GMT
Distribution: fj
Organization: Uni Paderborn FB 17 Informatik GERMANY

Date: 28 Sep 92 13:59:23 GMT
Message-Id: <FUTZI.92Sep28145923@matisse.uni-paderborn.de>
Newsgroups: comp.windows.x

>>>>> About BUS error in Type1 code -- any ideas?, Duncan Sinclair said:

Duncan> I've just re-installed X11R5, after installing all the latest patches,
Duncan> plus wiring in the Type1 font renderer.  But when I exercise it with
Duncan> `xfontsel' (selecting the `utopia' font), a mightly core dump comes
Duncan> down upon me.

Duncan> [...]


Duncan> This is on a b&W sparc, SUNOS 4.1.1, server compiled with gcc 2.2.2.
Duncan> X11R5, patch level 17, Type1 software patch 1.

Duncan> Has anyone met this before?  I'm assuming I've done something wrong, as
Duncan> it must work for everybody else, no?

Duncan> Any help appreciated.  I'd like to get this working before Monday morning.


I read, that this is a bug in gcc, because with the sun c-compiler it works
correctly.

Greetings, futzi

********************************************************************************
** -------------------------------------------------------------------------- **
**     Michael Kutzner    **  X-Betreuung     **  <futzi@uni-paderborn.de>    **
**                                                <xgurus@uni-paderborn.de>   **
** -------------------------------------------------------------------------- **
********************************************************************************
From: rjking@acsu.buffalo.edu (Randall J. King)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Regarding How to stop Dirty Pictures.
Date: 26 Sep 92 09:04:15 GMT
Distribution: fj
Organization: UB

Date: 25 Sep 92 19:14:48 GMT
Message-Id: <Bv5Esq.L6D@acsu.buffalo.edu>
Newsgroups: comp.windows.x

liles@sweetpea.jsc.nasa.gov (Clifton Liles 282-4736) writes:

>In article <1992Sep25.004856.1583@lub001.lamar.edu>, ravi@lub001.lamar.edu writes:
>|> How can you stop other people from putting dirty/unwanted pictures on
>|> to your workstation. They can apparently do so, by setting their 
>|> DISPLAY variable to the desired Workstation's IP address.
>I'm sitll not a happy camper.  If one does the "xhost | xhost -" bit, it turns
>off ALL access to the display, including yours!  If you leave your own Host name

At our sites they have put a program in called Xauthority that only allows
for you to use the display.  Besides that, I haven't seen of anything that will
stop people from doing this.  You could also ask you local gods if they are 
going to remove all external logins to the terminals.  At our school they 
removed all telnet, rlogin and ftp access to the terminals (what a pain).
Besides this, there really is no other way (if xhost doesn't work).

I'm not sure if Xauthority is public, but try archie and see.

Later...
Randall King                rjking@acsu.buffalo.edu		<-Unix
University of Buffalo       v050qrq3@ubvms.cc.buffalo.edu	<-VAX-Personal
Buffalo, NY      	    acscrjk@ubvms.cc.buffalo.edu	<-VAX-Work
**           All opinions are my own, unless otherwise stated               **
From: quinton@stna.dgac.fr (Marc Quinton STNA 7SU p8046 BD24)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Wanted: "bitmap gallery" utility
Date: 2 Oct 92 12:43:39 GMT
Distribution: fj
Organization: STNA 95 rue Henri Rochefort 91025 Evry Cedex 33(1)60.79.80.00

Date: 2 Oct 92 08:30:21 GMT
Message-Id: <1992Oct2.083021.15020@cenaath.cena.dgac.fr>
Newsgroups: comp.windows.x,comp.windows.x.motif


 
>     Hi folks,
> I need a utility which displays many bitmaps in a single window 
> (e.g. displays 25 30x30 bitmaps), preferably ALL the bitmaps contained 
> in a directory. Does such an animal exist?
> 

Just have a look at pub/bitmapView.tar.Z at ftp.stna7.stna.dgac.fr. This is
a motif application. You just have to modify Imakefile to accomodate to your site
and type :

	xmkmf
	make
	make install 		# if you need to install it

-- 
 _____________________________________________________________________________
|   ___    ___   |                  |                                         |
|  /__ \  / __\  |   QUINTON Marc   | Technical Department of Civil Aviation  |
|   __\ \/ /     |__________________|_________________________________________|
|  / __   |   _  |                  |                                         |
|  \ \_\   \_//  |   Evry France    | e_mail : quinton@stna7.stna.dgac.fr     |
|   \___/\___/   |                  |                                         |
 -----------------------------------------------------------------------------
From: suep@bbn.com (Sue Pawlowski)
Newsgroups: fj.mail-lists.x-window
Subject: BadMatch error from XGetImage
Date: 30 Sep 92 09:07:39 GMT
Distribution: fj
Organization: BBN Systems and Technology, Inc.

Date: 28 Sep 92 15:09:24 GMT
Message-Id: <4202@papaya.bbn.com>
Newsgroups: comp.windows.x

I have an Xview 3.0 application which gets a "BadMatch" X error from
XGetImage(). The error only occurs when running the application with
TWM and when the application window is placed in such a way that it
is not completely on the screen. The same application runs fine under 
OpenWin.

According to the Xlib Reference Manual, the BadMatch error will occur 
if the specified rectangle goes off the edge of the screen - how can
I tell if that is going to happen before calling XGetImage ? 

Also, how can I tell at runtime which window manager - OpenWin, TWM, etc
is running ? 

Thanks,

Sue Pawlowski
suep@bbn.com
------------------------- code fragment --------------------------------
    static Canvas    	canvas;
    static Pixwin   	*can_pw;
    static Display      *can_pw_display;
    static Drawable     can_pw_drawable;
    static GC           can_pw_gc;
    static XImage       *can_pw_image;

    canvas = xv_create(image_frame, CANVAS,
			    WIN_BELOW,              control_panel,
 			    CANVAS_AUTO_EXPAND,     FALSE,
 			    CANVAS_AUTO_SHRINK,     FALSE,
 			    CANVAS_WIDTH,           1024,
 			    CANVAS_HEIGHT,          1024,
			    XV_X,                   0,
 			    XV_HEIGHT,              512,
		            XV_WIDTH,               xv_col (control_panel, 
							    65),
 			    0);
    
    can_pw = canvas_pixwin (canvas);
    can_pw_display  = (Display *)xv_get (can_pw, XV_DISPLAY);
    can_pw_drawable = (Drawable)xv_get (can_pw, XV_XID);
    
    can_pw_image = XGetImage (can_pw_display, can_pw_drawable, 
			      	512, 512, 
				32, 32,
				AllPlanes, ZPixmap);
From: engb@gpu.utcs.utoronto.ca (Ben Eng)
Newsgroups: fj.mail-lists.x-window
Subject: X or Motif widgets for editing text
Date: 3 Oct 92 02:47:39 GMT
Distribution: fj
Organization: Jet Penguin Lavatories

Date: Wed, 30 Sep 1992 18:13:08 GMT
Message-Id: <BvELA0.JC3@gpu.utcs.utoronto.ca>
Newsgroups: comp.windows.x

A colleague of mine is in search of a widget that is capable of
editing text.  He is looking for a list of sources (both
commercial and freely distributable) where such a widget can
be obtained.  It is desirable, but not essential, that such
a widget be aware of fonts and other "cool" editing features.
Any help would be appreciated.

Please honour the Reply-To: field.  Follow-up articles will
not be read by the interested parties, as they don't receive
news.

Thanks in advance.

Ben

-- 
e-mail: engb@gpu.utcs.utoronto.ca or ben@jetpen.gts.org (Ben Eng)
UofT EngSci 9T2                   ``We are all masochists here.''
Home: (416)-979-8761, (416)-979-7885
From: lee@sq.sq.com (Liam R. E. Quin)
Newsgroups: fj.mail-lists.x-window
Subject: Re: To C or not to C...
Date: 1 Oct 92 03:34:06 GMT
Distribution: fj
Organization: SoftQuad Inc., Toronto, Canada

Date: Tue, 29 Sep 92 01:05:46 GMT
Message-Id: <1992Sep29.010546.11939@sq.sq.com>
Newsgroups: comp.windows.x,comp.windows.open-look,comp.lang.c,comp.lang.c++,comp.sources.testers

richm@netcom.com (Richard Mauri) writes:
> [...]  Do I hear correctly that what we want is a C++ library that uses
> the Xt based widgets as primitives, like [Doug Young's] MotifApp component
> library that uses motif as primitives.  I already have done some work with
> building application, really extending the library, and consider this
> a "place to start".

UIT is a C++ wrapper around XView.  This has the advantage over an OSF/Motif
wrapper that there are no licence fees or royalties charged for XView, and
also that you end up with an OPEN LOOK UI instead of an OSF/Motif one :-)

UIT is available for ftp from export.lcs.mit.edu in "contrib/UITV2.tar.Z".

Lee

-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com
From: rr2b+@andrew.cmu.edu (Robert Andrew Ryan)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Color string to nearest match converter?
Date: 2 Oct 92 09:31:05 GMT
Distribution: fj
Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA

Date: 29 Sep 92 14:01:02 GMT
Message-Id: <semB8Si00Woi5Bskhw@andrew.cmu.edu>
Newsgroups: comp.windows.x

Excerpts from netnews.comp.windows.x: 29-Sep-92 Re: Color string to
nearest.. Antonio Freixas@peacock. (2771)


> Another comment:  It seems to me that the code listed by Rainer code
> be more easily implemented using XAllocNamedColor.  Wouldn't the
> following do the same things?

The problem with XAllocNamedColor is that it only recognizes color
Names, not specifications like:  #a0b0c0.

-Rob Ryan
From: kahn@PHYSICS.UNC.EDU (Dan Kahn)
Newsgroups: fj.mail-lists.x-window
Subject: Recurrent Problem with resources
Date: 3 Oct 92 20:25:57 GMT
Distribution: fj
Organization: Physics Dept. UNC-CH

Date: Thu, 1 Oct 1992 02:13:26 GMT
Message-Id: <1992Oct1.021326.23559@samba.oit.unc.edu>
Newsgroups: comp.windows.x


I had a problem with resources with xmh for a long time.  I was using 

   Xmh*accelerators: #override\n\
       Meta<Key>c:     XmhComposeMessage()\n

for a long time and this would mess up all my other key bindings.  I then got a
hint to use

Xmh*accelerators: #override\n\
        :Meta<Key>c:    XmhComposeMessage()\n

(note the ':')

which worked great, until I switch to X11R5, then it went back to its old broken
way of functioning.  Is there a better way to rebind the meta-lowercase 'c' to
ComposeMessage in my resource definitions.  I've tried using editres to examine
the current settings, but editres does not seem to have that feature.

Thanks,
--dan
From: marc@hemlock.cray.com (Marc Bouron)
Newsgroups: fj.mail-lists.x-window
Subject: format of X11 fonts?
Date: 26 Sep 92 12:54:23 GMT
Distribution: fj
Organization: Cray Research, Inc.

Date: 24 Sep 92 08:59:45 GMT
Message-Id: <1992Sep24.035945.27893@hemlock.cray.com>
Newsgroups: comp.windows.x


Hi,

Simple question: what's the internal format of an X11 .snf font?

Cheers,

[M][a][r][c]
From: greg@seismo.do.usbr.gov (Greg LaCoste)
Newsgroups: fj.mail-lists.x-window
Subject: XInput extension
Date: 26 Sep 92 07:03:34 GMT
Distribution: fj
Organization: USBR, Seismotectonics & Geophysics, Denver

Date: 21 Sep 92 21:22:21 GMT
Message-Id: <1992Sep21.212221.29992@seismo.do.usbr.gov>
Newsgroups: comp.windows.x

I'm trying to use the XInput extension to read pointer data
from a textronix tablet.  Does anyone have a skeleton for
using the XInput extension?  I've been searching through 
all the standard MIT docs including library, encoding and 
protocol docs and O'Reilly says nothing about the extension.
Please respond by e-mail to greg@seismo.do.usbr.gov.  I'll
post all the worthwhile information after I sift through it.
Thanks.
From: lwv26@cas.org (Larry W. Virden)
Newsgroups: fj.mail-lists.x-window
Subject: OpenWindows and Tk - is there anything I can do?
Date: 4 Oct 92 12:39:16 GMT
Distribution: fj
Organization: Nedriv Software and Shoe Shiners, Uninc.

Date: Thu, 1 Oct 1992 14:42:40 GMT
Message-Id: <1992Oct1.144620.27731@cas.org>
Newsgroups: comp.lang.tcl,comp.windows.open-look,comp.sys.sun.apps,comp.windows.x


Okay.  Here is my current setup - but note that this has been going on
for a year or more.

Sun SPARCstation 1+, SunOS 4.1.2, OW 3.0, olvwm 3.2
Tk 2.3, Tcl 6.4, Extended Tcl 6.4b.

What I am seeing at least 60% of the time is the following error:

olvwm: Warning, X Error: BadValue (integer parameter out of range for operation)
  Request Major code: 12
  Request Minor code: 0
  ResourceId 0x0

What I would to find out is

a) what is the fix for this

if no one knows that one then,

b) what is the best approach for locating the problem here

Thanks!
-- 
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: graham@cs.man.ac.uk (Graham Gough)
Newsgroups: fj.mail-lists.x-window
Subject: Clipboard vs Cut Buffer
Date: 3 Oct 92 07:31:25 GMT
Distribution: fj
Organization: Department of Computer Science, University of Manchester

Date: 2 Oct 92 13:53:51 GMT
Message-Id: <GRAHAM.92Oct2145351@r8e.cs.man.ac.uk>
Newsgroups: comp.windows.x


     Does anyone out there know of any magic whereby X applications
which read and write from the X cut buffer (like emacs), using
XStoreBytes and XFetchBytes,  can exchange things with Xview apps
(like commandtools) which use the clipboard? While on this subject, is
there an explanation somewhere of why there is need for two
mechanisms, or am I just missing something obvious?

Graham

(This could well be a FAQ, in which case apologies, but I couldn't
find it in any FAQ file)
From: carter@EuroPARC.Xerox.COM (Kathleen Carter)
Newsgroups: fj.mail-lists.x-window
Subject: X extension for Wacom (or any) tablet
Date: 2 Oct 92 17:15:29 GMT
Distribution: fj
Organization: Rank Xerox EuroPARC, Cambridge, UK

Date: 30 Sep 92 15:44:33 GMT
Message-Id: <1992Sep30.154433.14001@parc.xerox.com>
Newsgroups: comp.windows.x

Has anyone written an X extension for a Wacom tablet? Or for
any other kind of tablet?

Please don't post replies - send direct to me.

Kathy Carter
carter@EuroPARC.Xerox.COM
From: gary@sci34hub.sci.com (Gary Heston)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xterminal-Server ratio wanted
Date: 2 Oct 92 01:51:22 GMT
Distribution: fj
Organization: SCI Systems, Inc., Huntsville, Al.

Date: Tue, 29 Sep 1992 16:52:18 GMT
Message-Id: <1992Sep29.165218.13429@sci34hub.sci.com>
Newsgroups: comp.unix.admin,comp.windows.x

In article <1992Sep28.225626.15772@odin.corp.sgi.com> mikey@sgi.com writes:
=In article <BuoGGA.ACp@solbourne.com>, cy@solbourne.com (Cy Foughty) writes:
=|> >Hmmm. We have a lot of satisfied customers using HP 9000/7xx hosts and 700/RX
=|> >terminals. Solbourne wouldn't happen to make SYMMETRIC MULTIPROCESSOR SERVERS,
=|> >would they :-) ?
=|> Why I think they do! ;->
=
=I think SYMMETRIC MULTIPROCESSOR SERVERS are a good idea, too.  :-)
=
=|> >I keep seeing "SYMMETRIC MULTIPROCESSOR SERVERS" (all caps); is this some sort 
=|> >of registered trademark of Solbourne Computers :-) ?
=|> Hey, what a great idea! ;-)
=
=Sorry, but Solbourne can't claim such things all for themselves..

I volunteer to do an extended burn-in test and evaluation of any
Unix-based SYMMETRIC MULTIPROCESSOR SERVERS that Solbourne or SGI 
wish to provide. Think 5 years would be long enough?


-- 

Gary Heston    SCI Systems, Inc.  gary@sci34hub.sci.com   site admin
The Chairman of the Board and the CFO speak for SCI. I'm neither.
"...I looked out my window, and saw Kyle Pettys' car upside down, then I
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Question Regarding XtMainLoop()
Date: 5 Oct 92 22:27:46 GMT
Distribution: fj
Organization: CS Department, Dortmund University, Germany

Date: 5 Oct 92 14:48:28 GMT
Message-Id: <1apkjsINNq5m@fbi-news.Informatik.Uni-Dortmund.DE>
Newsgroups: comp.windows.x

In article <1992Oct02.135443.13597@bnr.ca>, herrage@crchh451.bnr.ca (Robert
Herrage) writes:
|> I'm currently encountering a problem that I'm guessing is caused by 
|> XtMainLoop().  First of all, does XtMainLoop() look for events based
|> on the order in which things have "registered" to be monitored by it?
|> Let me give you an example.
|> 
|> I have a dialog that I'm wanting to popup.  I've also used
|> XtAppAddInput()
|> to monitor a socket (this is done way before the dialog is requested to
|> be
|> popped up).  What ends up happening is that there is a case where my
|> appli-
|> cation gets a burst of data on the socket.  These all seem to be
|> handled
|> BEFORE the dialog ever gets popped up -- even though I called
|> XtPopupDialog()
|> BEFORE the burst begins.
|> 
|> Is this due to the fact that XtAddAppInput() has some entry in some
|> array
|> that XtMainLoop() looks at so that it sees the socket-related events for
|> it 
|> BEFORE it ever processes any event(s) for the dialog?  If this is the
|> case, 
|> how can I prioritize the order in which things get processed?
|> 
|> What I want to have happen is that as soon as the function, that made
|> the 
|> call to XtPopupDialog(), returns, I want to see my dialog on the screen
|> (not just a box, but all of the subwidgets within it).  Then as each
|> block
|> of data comes on the socket, I want to update the contents of the
|> dialog. 

The behavior you observed is due to the way of working of XtAppMainLoop: In
an endless loop it calls XtAppNextEvent, which delivers an X event, and
processes this X event with the XtDispatchEvent function. Please note:
XtAppNextEvent return only when there actually is an X event! Other input
sources or timers are handled inside XtAppNextEvent - it doesn't return. So
calling XtPopupDialog upon receiving the first bits of socket input does
not help because there is so much else to receive, and the X events
resulting from the XtPopupDialog call have to wait.

A solution could be to get rid of XtAppMainLoop and write a private main
loop using XtAppPeekEvent. This function returns whenever some input is
available, being it an X event or input from an input source registered
with XtAppAddInput. Only timers are handled inside. You could even query
which type or types of input are available (XtAppPending) and selectivly
process the one which you think should be processed first
(XtAppProcessEvent).

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
From: der@ctron.com (Bill Der)
Newsgroups: fj.mail-lists.x-window
Subject: cannot restart X
Date: 7 Oct 92 00:27:34 GMT
Distribution: fj
Organization: Cabletron Systems Inc

Date: 3 Oct 92 15:43:50 GMT
Message-Id: <5367@balrog.ctron.com>
Newsgroups: comp.windows.x


I must admit that I am a novice on X. I am in a situation in which
I cannot restart X. Whenever I type xinit, I get the
message "Waiting for X Server to Shut Down". I suspect there is
a lock file somewhere, but can't find it. Re-booting doesn't help.
Help!
From: barmar@think.com (Barry Margolin)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X11R5/OLIT Run Time Problem
Date: 26 Sep 92 10:02:42 GMT
Distribution: fj
Organization: Thinking Machines Corporation, Cambridge MA, USA

Date: 23 Sep 1992 20:32:07 GMT
Message-Id: <19qk87INNan9@early-bird.think.com>
Newsgroups: comp.windows.open-look,comp.windows.x

In article <1992Sep22.151455.14047@udel.edu> walsky@wizard.asel.udel.edu (Ted Walsky) writes:
>I am have some problems running X11R5 and programs that use the
>OLIT widget set.  It compiles fine, but when it is run, I get:
>
>ld.so: Undefined symbol: _XtQString

This is a bug in the OLIT.  _XtQString was an external symbol that existed
in X11R4 (upon which OW 3.0's libXt is based).  It wasn't documented, and
was removed in X11R5 (MIT's guarantee of upward compatibility between the
R4 and R5 libraries only applied to the documented interface).  OLIT should
never have been using it, and now OLIT users are paying the consequences.

I liked someone's script that temporarily sets LD_LIBRARY_PATH while
executing programs that need the non-default version of the library.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar