HDTenEightyP/NetNews huggingface dataset:
From: generous@sti.nasa.gov (Curtis Generous)
Subject: X Font problem in x3270
Keywords: X11R5, Fonts, Suns
Organization: Goddard Space Flight Center
Date: Sat, 25 Jul 1992 12:46:30 GMT


I am getting the error: 'Warning: Cannot convert string "3270" to type FontStruct' when
running x3270.  No characters appear on the window.  The procedure used to install the
3270 font was (taken from the Makefile):

	    bdftosnf -t 3270.bdf >3270.snf
	    for i in 3270.snf; do\
		    (set -x; install -c  $i /usr/lib/X11/fonts/misc);;\
	    done
	    mkfontdir /usr/lib/X11/fonts/misc

The fonts.dir file was properly updated, and all permissions look okay.  Any ideas?

--curtis
--
Curtis C. Generous
NASA STI
generous@nova.sti.nasa.gov
Newsgroups: comp.windows.x
From: ldawes@uahcs2.cs.uah.EDU (Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville)
Subject: Technical Conference
Organization: The Internet
Date: Tue, 28 Jul 1992 13:56:25 GMT

Isnt there an X-Window technical conference being held by MIT early next year?
If so, does it include tutorials? If anyone has any information, please let me
know.

Thanks
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Changing Colormap RGB values...
Keywords: colormap RGB XView
Date: 25 Jul 92 11:01:30 GMT
Organization: McGill Research Centre for Intelligent Machines

> Distribution: comp.windows.x

Please don't misuse newsgroup names as distributions.

In article <549@usafa.af.mil>, hewitt@usafa.af.mil (Joe Hewitt) writes:

> Problem:    How to dynamically change the RGB values in a colormap
>             entry so that all objects using that colormap index
>             automatically change to the new color (in XView or Xlib).

Briefly, XStoreColor() / XStoreColors().  The only point that's likely
to trip you up is that you have to allocate the colormap entries
read/write, with XAllocColorCells (or XAllocColorPlanes, but if you
understand X color well enough to use XAllocColorPlanes and get it
right, you almost certainly wouldn't be asking what you did).

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: emurphy@cs.uno.edu (Edward Murphy)
Newsgroups: comp.windows.x
Subject: (?) compiling x11r5 for different machines
Date: 31 Jul 92 16:55:55 GMT
Organization: University of New Orleans


i have been charged with the task of retrieving x11r5 and compiling it on  
a sun and a NeXT system. are there any special considerations for the  
NeXTs? i ask only because my search for x11r5 sources came up with a  
specific tar file named x11r5-NeXT.tar.

ed
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.windows.x
Subject: Re: set uid bit for xterm?
Date: 23 Jul 1992 05:17:15 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: gandalf.think.com

In article <1992Jul22.135044.16457@verdix.com> grega@verdix.com (Greg Alonso) writes:
>If that is the case, why can I delete an xterm process after it is
>spawned?  Isn't it owned by root when it is running?

After it does the stuff that needs root access (changing the pty ownership,
filling in /etc/utmp) it calls setuid(2) to revert to the invoker's uid.
When it does this, you can kill it.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
From: wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius)
Newsgroups: comp.windows.x
Subject: Xt/Motif and Visuals
Date: 27 Jul 92 22:51:48 GMT
Organization: Lawrence Livermore Nat'l Lab.


Using the X-toolkit or Motif, is there a way I can create a
widget and window and specify the visual being used?  This seem
trivial with X since the visual is an argument to the XCreateWindow
call, but I'm hunting for the incantation for Xt and Motif and,
obviously, have not found it yet.  Any help would be greatly
appreciated.

Please respond via email.  And many thanks.
  Dave Wiltzius
  Lawrence Livermore Nat'l Lab
  wiltzius@llnl.gov
From: weinri@athena.cs.uga.edu (Kevin Weinrich)
Newsgroups: comp.windows.x
Subject: Problems building R5 on Sun (make World)
Summary: Is "make: Warning: Target `all' not remade because of errors" serious?
Date: 23 Jul 92 19:52:52 GMT
Organization: University of Georgia, Athens

I am trying to build X11R5 off a CD-ROM (from PDQ) on a Sun 4/330 running
OS 4.1.1.  I customized site.def and sun.cf minimally.  HasGcc is set on,
since I loaded gcc from the CD-ROM the other day.

I get the following messages (among many others of dubious importance)
when I grep for ":" in the make.world file that is created as a result of
doing the initial "make World" a long ways (3 hrs.+) into the process.
Any explanations of what's going wrong, what I can safely ignore, what I
should do to fix the problem, or "You dummy, you forgot to ..." are
quite appreciated:

/usr/include/pixrect/cg12_var.h:62: field `wid_dbl_info' has incomplete type
In file included from /usr/include/pixrect/pixrect_hs.h:28, from sun.h:42, from sunKeyMap.c:29:
/usr/include/pixrect/cg12_var.h:62: field `wid_dbl_info' has incomplete type
make: Warning: Target `all' not remade because of errors
make: Warning: Don't know how to make target `ddx/sun/sunInit.o'
make: Warning: Don't know how to make target `ddx/sun/libsun.a'
make: Warning: Don't know how to make target `ddx/sun/sunInitMono.o'
make: Warning: Don't know how to make target `ddx/sun/libsun.a'
make: Warning: Target `all' not remade because of errors
/usr/include/stdio.h:25: warning: NULL redefined
/usr/include/stdio.h:25: warning: NULL redefined
/usr/include/stdio.h:25: warning: NULL redefined
/usr/include/stdio.h:25: warning: NULL redefined
/usr/include/stdio.h:25: warning: NULL redefined
/usr/include/stdio.h:25: warning: NULL redefined
bmtoa.c: In function copy_stdin:
bmtoa.c:51: warning: comparison between pointer and integer

-------------------------------------------------------------
-Kevin Weinrich
weinri@athena.cs.uga.edu
Newsgroups: comp.windows.x,comp.windows.open-look
From: brandon@gaia.msfc.nasa.gov (Brandon S. Dewberry)
Subject: OLIT programming error: arc and size files missing
Summary: Compiled program can not open .arc or .sz description files
Keywords: OLIT arc, size
Organization: NASA/MSFC
Date: 30 Jul 92 18:03:03 GMT

Hi,  I just started programming with OLIT on our Sparcstation II with
SunOS 4.1.2 and OW3.  My simple test program, which consists of a bulletin
board with a stub widgea and oblong button (for drawing and generating
the draw event, respectively) compiles okay, but shows up blank and generates
these warning messages:

  OPEN LOOK Toolkit Warning in application "test2": Could not open arc description file:  87x87.12.arc
  OPEN LOOK Toolkit Warning in application "test2": Could not open size description file:  87x87.12.sz

Is this a client or server error?  Where are these files?  Is there some type
of path environment variable set wrong?

Thanks,

Brandon
Newsgroups: comp.windows.x
From: bambi@bu.oz.au (David J. Hughes)
Subject: Re: X and MIME based mail readers?
Organization: ITS, Bond University
Date: Thu, 23 Jul 1992 05:28:18 GMT

vaisanen@joyds2.joensuu.fi writes:

>What are the public domain X Window based mail readers that can handle MIME?
>The platforms I'm interested in are SunOS 4.x (also Solbourne) and ULTRIX 4.x.

I've heard that the next release of XMail will support MIME.
Unfortunatley, I have not been able to confirm this.


   ___                                 David J. Hughes     bambi@bu.oz.au
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)
Newsgroups: comp.windows.x,comp.windows.x.motif
From: andrew@sparky.uwaterloo.ca (Andrew MacLean)
Subject: Help with Copying Colormaps
Originator: andrew@sparky.waterloo.edu
Organization: University of Waterloo
Distribution: na
Date: Mon, 27 Jul 1992 13:46:09 GMT


I am creating a Motif program that allocates a variable number of 
colors in the root window colormap. (I am loading color images,
which have a condensed colormap table.) I would like to use a command
similar to XCopyColormapAndFree so that I can create a SECOND
colormap with all of the Motif colors and my image colors
copied to the new colormap.

The problem is that I do NOT want the colors to be freed from the 
root window colormap. (ie. I do not want to have my program 
window borders change colors when I move from one image window
to another image window.)

Summary of desires:

    1) A copy of the Root window colormap that contains ONLY
       those color cells that were allocated by my program.

    2) The color cells in the root window MUST NOT be freed.

    3) The copy of the root window colormap CANNOT have any
       colors allocated that are not a part of my program
       as I will be using those extra colors later.

One way to approach this problem is to go through the root
window colormap and decide whether my program has allocated
this color or not. My question is how can I tell which colors
were allocated by me, and which were allocated by another
program? How can I tell which colors were allocated by the
Motif part of my program? 


Thanks in advance.
Andrew
-- 
------------------=========================================------------------
 Andrew MacLean                           email:  andrew@sparky.uwaterloo.ca
 Civil Engineering                        phone:  (519)885-1211 x3862
 University of Waterloo                   "You want me to document WHAT?!?!"
Newsgroups: comp.windows.x
From: cgp@Arco.COM (Chris Phillips  (214) 754-6419)
Subject: faking xlock with kill -STOP <X server PID>
Organization: ARCO Oil and Gas Company
Distribution: usa
Date: Tue, 21 Jul 1992 14:36:41 GMT

Unfortunately xlock doesn't just sleep; it does hinder the
execution of other processes.  But if the X server is
SIGSTOPped, won't this have the same effect?  The only drawback
I see is that you will need to login somewhere else and send it
a SIGCONT.

Of course, keystrokes are not ignored and you should do something
like
	$ sleep 5; kill -STOP <X server PID>

Then move the pointer to the root window.
Are there any security problems with this?

Chris
Newsgroups: comp.windows.x
From: andyc@is.morgan.com (Andrew Coad)
Subject: Wanted - digital clock
Organization: Morgan Stanley - IS
Date: Thu, 30 Jul 1992 19:22:10 GMT

Does anyone know of a simple X digital clock?
I used to have a thing called dclock that i think came with X11R4 but i've
changed jobs and lost it.

Preference is public domain with source code so that i can add some special
stuff for operation with HP-VUE.

I need this for internal use within Morgan Stanley only. No resale.

Andrew Coad
Morgan Stanley
New York
(212) 703-2379

Newsgroups: comp.windows.x
From: kk@cs.tu-berlin.de (Kolja Kaehler)
Subject: Xaw & colormaps
Organization: Techn. University of Berlin, Germany
Date: Mon, 27 Jul 1992 23:01:01 GMT

Can anyone *please* tell me,  why Xt always ignores my attempts to set the
XtNcolormap resource for a widget ? The colormap itself works,
I can use it with 'normal' windows, but with widgets (I used athena labels)...
I tried setting the colormap resource before and after creating/managing the
widget, I even set it in the parent widget (hoped the child would inherit it);
No Luck. Is there something special about it ?

Any hints appreciated!

	Kolja
-- 
------------------------------------------------------------------------------
Kolja Kaehler                                            <kk@cs.tu-berlin.de>
Newsgroups: comp.windows.x
From: srpxpert@godiva.ssw.COM (Selene R. Platt)
Subject: X Journals
Organization: The Internet
Date: Mon, 27 Jul 1992 17:16:30 GMT


> Where can I get the "X Journals" from ?
> They don't seem to be getting them in the libraries around this place.
> And how much does each issue cost ?

The "X Journal" is published by:
	SIGS Publications
	588 Broadway
	New York City, New York  10012
	(212) 274-0640

We send our subscription payments to:
	The X Journal
	Subscriber Services, Dept. XXX
	P.O. Box 3000
	Denville, NJ  07834-3000

but you should probably contact the previous agency first.

It costs $39 for six bi-monthly issues, or $6.50 per issue.

Cheers,

Selene Platt

	{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
	{ Selene Platt                  (215) 651-5305           }
	{ Soft*Switch Inc.                                       }
	{ 640 Lee Rd.                   srp@godiva.ssw.com       }
	{ Wayne, PA  19087                                       }
	 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.windows.x
From: debbieg@mathworks.COM (Debbie)
Subject: problem with clipmasks
Organization: The Internet
Date: Fri, 24 Jul 1992 18:37:53 GMT

Hi,

I'm having a problem with clipmasks and blitting.
Here's the situation:


		+-------------------------------------------+
		|                                           |
		|                ............               |
		|                .          .               |
		|                .          .               |
		|                .          .               |
		|                .          .               |
		|                .          .               |
		|                .          .               |
		|                .          .               |
		|                .      +-------+           |
		|                .      |   .   |           |
		|                .      |   .   |           |
		|                .      +-------+           |
		|                .          .               |
		|                ............               |
		|                                           |
		|                                           |
		+-------------------------------------------+

The outer box is my window.  The dotted ('.') box is the current
GC clipmask.  The small box is the area where I want to blit
an image.

The image could look something like this:

	+--------+
	|xxx/\xxx|
	|xx/  \xx|
	|x/    \x|
	|/      \|
	|\      /|
	|x\    /x|
	|xx\  /xx|
	|xxx\/xxx|
	+--------+

Where x is unknown and the blank part is filled with what I want
to be displayed on the screen.
I also have a clipmask set up to look just like the image except
that the x's are 0's and the blank part is filled with 1's.

How do I blit the image through my clipmask through the GC's
clipmask onto the screen?  I've tried a lot of things and none of
them seems to work.
Here is the final way I tried:
1) Create a 1 bit blank pixmap and a Screen Depth blank pixmap.
2) Create the clipmask image and the data image.
3) Do an XPutImage using the window's gc to put the clipmask
   image into the Screen Depth blank pixmap.
4) Create a 1 bit gc (its drawable is the 1 bit pixmap)
   with foreground 1 and background 0.
5) XCopyPlane the Screen Depth pixmap to the 1 bit blank pixmap.
6) Set the window's gc's clipmask to the 1 bit pixmap.
7) Set the window's gc's cliporigin to where the image is going
   in the window.
8) XPutImage the image into the window.

Somehow, after step 3, the Screen Depth pixmap is still blank (and doesn't
contain the clipmask ANDed with the window's gc's clipmask like it should)
no matter what I try setting the clip origin to.  When I set the window's
gc's clipmask to None though, the Screen Depth pixmap contains the whole
clipmask image.
How can I get the Screen Depth pixmap to contain the clipmask image ANDed
with the window's gc's clipmask?????
Or can anyone tell me a better way to do this whole thing?


-------------------------------------------------------
debbieg@mathworks.com                508/653.1415  x328
the mathworks, inc, 24 prime park way, natick, ma 01760
-------------------------------------------------------
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
Date: 17 Jul 92 18:55 MDT
Subject: Re: X display problems with xmaple 
Nf-ID: #N:1992Jul17.145536.28766@thunder.m:-1725896170:001:1022
Nf-From: thunder.mcrcim.mcgill.edu!mouse    Jul 17 18:55:00 1992


In article <1992Jul13.022154.1466@lugb.latrobe.edu.au>, ccvj@misty.latrobe.edu.au (Vicki Jordan) writes:

> /u/ccvj> xmaple
> /u/ccvj> X Error:  BadName
>   Request Major code 45 ()
>   Request Minor code 0
>   ResourceID 0x2400039
>   Error Serial #101
>   Current Serial #102

Major code 45 is OpenFont.  (Your Xlib is set up wrong, or this would
be printed in the parentheses.)  A BadName error from an OpenFont
request indicates that the font does not exist.  Most likely xmaple is
asking the server for a font that just isn't there.  If the xmaple
documentation doesn't say what fonts it requires, you could run it
under control of a protocol spy like xscope and see what it's asking
for.

This is rather odd, though, as BadName errors from OpenFont requests
are normally caught by Xlib and passed back through the procedural
interface.  Your Xlib must be doing something very peculiar, or else
xmaple is being ill-behaved and doing something behind Xlib's back.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: valdis@vttcf.cc.vt.edu (Valdis Kletnieks)
Newsgroups: comp.windows.x
Subject: IBM RS/6000, AIX 3.2, X11R5 clients, X11R4 server
Date: 29 Jul 92 22:15:40 GMT
Organization: Virginia Tech, Blacksburg, VA

Back in April, Charles Hannum posted a fix to get X11R5 on
AIX 3.2 to work with TCP connections.  He included the following
comment:

> The Unix-domain socket patch recently posted was nice, but definitely
> not the whole picture.  The following makes TCP connections work:

Does anybody have the 'domain socket patch' handy?

				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech
Newsgroups: comp.windows.x
From: Mathias.Koerber@sniap.mchp.sni.de (Mathias Koerber)
Subject: sc spreadsheet for X?
Reply-To: Mathias.Koerber@sniap.mchp.sni.de (Mathias Koerber) 
Organization: Siemens Nixdorf Informationssysteme, AP 114 
Disclaimer: Nobody understands what I'm saying, so I speak only for myself
Date: Thu, 23 Jul 92 18:13:46 GMT

Has anyone ported sc to be run under X or Motif?

I'd be very interested...

Thx alot

----
Mathias Koerber    | Tel: +49/89/636-45685 | Mathias.Koerber@sniap.mchp.sni.de
SNI AP 114         | Fax: +49/89/636-45860 | koerber.muc@sni.de
MchP/LZ Rm:L1562   | X.400:  C=DE/A=DBP/P=SNI-SMTP/O=de/OU1=sni/OU2=mchp/
Carl-Wery-Str. 22  |         OU3=sniap/S=Koerber/G=Mathias
D-8000 Muenchen 83 | X.400:  C=DE/A=DBP/P=SNI/O=SIEMENS NIXDORF/OU1=MUENCHEN/
(United!) Germany  |         OU2=P4/OU3=D5/OU4=AP11/S=KOERBER/G=MATHIAS
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht was Leiden schafft *
From: dougf@mdavcr.mda.ca (Douglas Floer)
Newsgroups: comp.windows.x
Subject: snftopcf wanted
Keywords: snftopcf font conversion
Date: 27 Jul 92 22:45:09 GMT

Does anyone have or know the whereabouts of a font converter that will
do a snf to pcf conversion?  Please e-mail responses.

Thanks,
Doug
-- 
Doug Floer                        Voice: (604) 278-3411
MacDonald Dettwiler               Fax:   (604) 278-3786
13800 Commerce Parkway
Richmond, BC, Canada  V6V 2J3     {dougf@mda.ca | ..!uunet!van-bc!mdavcr!dougf}
Newsgroups: comp.windows.x
From: CHIAROTT@IRMIAS.BITNET
Subject: Please, answer with e-mail addr. (I'm X-user)
X-Unparsable-Date: Tue, 21 Jul 92 13: 44:37 ITA
Organization: The Internet
Date: Tue, 21 Jul 1992 18:44:38 GMT

Date: 21 July 1992, 13:43:37 ITA
From: CHIAROTT at IRMIAS
To:   xpert    at athena.mit.edu

Newsgroups: comp.windows.x
From: rsilvers@powwow.nynexst.com (Rob Silvers)
Subject: Help!  Cannot move or resize windows by sending events.
Originator: rsilvers@powwow
Organization: Nynex Science and Technology
Date: Thu, 30 Jul 92 20:29:24 GMT




	I am writing a mouse driver that uses XWarpPointer to move the pointer
and XSendEvent to send ButtonPress and ButtonRelease Events (to the lowest child
window under the pointer).  It works for pushing MOTIF buttons, opening and closing
windows, and even for drawing with the mouse in a drawing program.  When I try to
move or resize a window with either olwm or twm it does not work.  For move in twm,
it can usually move the window up and down, ans SOMETIMES left and right.  In olwm
it cannot move them at all.  For resize, when I send a ButtonPress to the resize
widget, it just freezes.  Am I supposed to be sending other events?  If so, to what window?

						Thanks,
						--Rob.
Newsgroups: comp.windows.x
From: ess@hal.COM (Eric Swildens)
Newsgroups: comp.windows.x
Subject: Re: Double Click in a window (Motif Drawing Area)
Keywords: Mouse Events, double click, drawing area, ButtonPress
Date: 27 Jul 92 15:12:13 GMT
Organization: HaL Computer Systems, Inc.

In article <1992Jul24.183723.583@thunder.mcrcim.mcgill.edu>
   mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>In article <50599@dime.cs.umass.edu>,
   nikoulis@venice.pilgrim.umass.edu (Panos Nikoulis) writes:
>> Is there a way to detect a double click mouse event in a window
>Not reliably.  The protocol does not contain enough support to allow
>this to be done right.  (It needs some sort of timeout event.)
>
>> Currently, I am using time functions to make it "wait" for a time
>> equal to the double click interval and detect a second ButtonPress
>> after the first one (inside the Drawing Area callback).
>Some toolkits/widget sets contain code that does this for you.  It'll
>work as well as your code does, presumably, but will suffer from the
>same basic problem: it can lose big in the presence of network hiccups
>(it can fail both ways: it can mistake a double click for two single
>clicks, and it can mistake two single clicks for a double click).

The protocol does contain support for this, but whether you can do
this correctly is X server dependent.  If the device driver for the
mouse puts timestamps on the events when it receives them raw,
the X server can get timestamps for the events correctly, which it
will send on down the pipe for your application to receive and these
timestamps wont be affected by network/server delays.  You can
check for double-click events without problems in this case:
get a mouse down/up, check the next mouse down/up whenever it comes,
check the delta between the two event timestamps in your application.

If you are running on an X server which doesnt have a friendly device
driver and which puts timestamps on the events itself, you are
in trouble.  If the server reads the first mouse down/up, draws some
huge primitive which takes 10 seconds, reads the second mouse down/up
and puts the current time as a timestamp you probably arent going to
see that double-click in your application.

ESS
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Kills from Window Manager
Organization: McGill Research Centre for Intelligent Machines
Date: Thu, 30 Jul 92 00:45:40 GMT

In article <14ptagINNrdo@early-bird.think.com>, barmar@think.com (Barry Margolin) writes:
> In article <1992Jul24.182031.29532@thunder.mcrcim.mcgill.edu> mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>> In article <14b03iINN1kn@early-bird.think.com>, barmar@think.com (Barry Margolin) writes:
>>> When I use f.delete on windows of clients that don't implement the
>>> protocol, twm beeps at me.
>> In that case, then you need to fix twm or your menus: [...] or your
>> menus, if f.delete is supposed to be "send WM_DELETE_WINDOW if
>> requested" (because that's not the operation you want).
> The twm man page [says that the latter is the case].

> I wasn't complaining about the beep; I think it's the right thing.  I
> don't know about you, but I don't want my window manager
> automatically upgrading an attempt to delete a single window into an
> operation that will probably crash the application

Why not?  If the application doesn't participate in WM_DELETE_WINDOW,
it is telling the window manager that it's perfectly willing to be
XKillClient()ed.  (Remember, we were talking about simple apps that
have only one top-level window and need to do no particular cleanup
when dying.  An application that does multiple top-level windows but
still doesn't do WM_DELETE_WINDOW is IMO broken badly enough that I'm
willing to ignore its existence.)

None of this affects, as far as I can see, my point that there is no
need for a simple application (as defined in my parenthetical note last
paragraph) to participate in WM_DELETE_WINDOW.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu