HDTenEightyP/NetNews huggingface dataset:
From: samborn@mtkgc.COM (Kevin Samborn)
Subject: Re: Programming resource management
Organization: The Internet
Date: Fri, 20 Nov 1992 14:40:24 GMT

> The X window system resource management software is very appealing for use
> in designing configuration management information.  I am wondering what
> packages , commercial or otherwise, are available for managing resources
> in a similar manner exist.  The base software will primarily be C or C++.
> The software which needs to be configured would all be 'home-grown' so that
> integrating the details into vendor software will be a lower priority.
> 
> Dependance on an X server in existance is not desired.  Obviously some sort
> of database management software will be needed, as well as software to
> update, override , handle classes, document, etc.
> 
> Is there a better group of which to ask this question?

It is interesting that you mentioned this.  I feel it is a oversight on
the part of the X Consortium for not handing out the resource manager
as a separate module.  This is one of my biggest gripes right now.

Especially with the advent of other "Workstation Control" servers, like
audio, agent-style daemons, etc.  There will often be "$DISPLAY"
oriented processes that do not use X.  As you mentioned, it is
unreasonable to expect them to make use of the X resource manager.
However, it is also unfortunate to replicate code.

What I would personally prefer is that the X server, and Xlib have
"plug and play" modules (via dynamic linking and hooks?) for things
like resource management.  How does CLX and other alternative language
bindings handle resource management?  Are they wrappers around Xrm?

Another thing is the dependency on the DISPLAY environment variable to
find out where a user is sitting.  Are audio-only daemons supposed to
use the DISPLAY variable to find out the "input devices/output devices"
combination?

One last thing: people tend to start their X server as the last thing
when they log in.  This kind of makes the X server the "most important"
process.  By terminating the X server, the X IO error handlers kill X
processes that are still hanging around.  So this path follows:

Login -> shell -> X server { clients } -> logout

What about the audio servers?  If people exec the X server, how does
one terminate the audio server if it is not an X client?

I think we need a "Workstation Control Server" that starts and
maintains all the daemons/servers for a particular user at a particular
"output devices/input devices" station.  Kind of like an inetd for
X/audio/etc.

kevin samborn
--
kevin samborn
sakura global capital
samborn@mtkgc.com

Newsgroups: comp.windows.x
From: fau@csfb1.uucp (Frederick W. Au)
Subject: compiling X11R3 src (xgen) on R4 platform (sun4 4.1.2)
Organization: First Boston Corporation
Date: Thu, 19 Nov 1992 01:59:04 GMT


i have got the src code of xgen from uunet archive, it was 
written for X11r3.  and when i try to compile it under sun4
4.1.2 for X11r4, first i get the error messages that
get_wmShellWidgetClass and get_wmApplicationWidgetClass.

then some one suggest to do static binding, with the flag -Bstatic
when i link to create the binary executable.  however, it still
doesn't work fine.  now when i run the executable, i have a 
segmentation fault in the fcn create_msgboard() in the file
create_msgboard.c, near the end, when it calls 
XtCreateManagedWidget().  the fcn is defined extern in 
Intrinsic.h, but when i do an nm(1) on all the library
files i have at the usual places, i either get that
name as undefined or as text segments, or as debugger
symbol table entries.

have any one heard of a newer release of xgen?  or
is there any general ways to work around that?  i have read
the faq's "comp.windows.x FAQ" and "The X toolkit intrinsics"
but there don't appear anything about it.

thanx,

PS: will summarize if there are interested parties.

-- 

				FRed Au
				...!uunet!csfb1!dbadmin4!fau
From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
Subject: Re: [XFree86] xterm keysym mapping
Organization: AT&T
Date: Mon, 23 Nov 1992 15:52:54 GMT

In article <By1AvE.H8B@space.physics.uiowa.edu> ljg@space.physics.uiowa.edu (Larry Granroth) writes:
> 
> I'm running XFree86 on 386BSD and was trying to create an .Xdefaults
> file that would provide VT200 application keypad emulation under xterm.
> The file I created (attached below) almost works except that the Num_Lock
> key on my 101-key keyboard toggles the behavior of the keypad such that
> in one state, for example, KP_8 behaves as expected, but after using
> Num_Lock (as a VT200 PF1) the KP_8 behaves like Up (until Num_Lock is
> hit again).  Also, I've discovered through trial-and-error that this
> Num_Lock/KP_8/Up is recognized separately from the Up arrow in the
> 4-key arrow group (i.e., remapping <Key>Up doesn't affect Num_Lock/KP_8/Up).
> 
> If I knew how to specify the keysym for Num_Lock/KP_8/Up, I could remap
> it just like ~Num_Lock/KP_8 and my problem would be solved.
> 
> Below, I've added the modifier "Num_Lock" in front of the problem keypad
> keys, but this doesn't work.  Does anyone know the right way to do this?
> 
> Thanks in advance for any help.  I'll summarize if appropriate.
> 
> larry-granroth@uiowa.edu
> 
The way the NumLock handling is done in X386 (and hence XFree86) is
arcane, and breaks a lot of things that use translations (e.g. xterm,
xcalc, and anything using the Athena Text widget - try to get an '8'
from the keypad into an xedit buffer (it's not possible)).

The next public release will have a completely reworked numeric
keypad.  We are beta-testing it now; I'm not sure when the public
release will be (there are a bunch of other things we want to add).

Bottom line - I don't think there's any way to do what you want to do
with the current XFree86.

--
David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
AT&T Bell Laboratories, 200 Laurel Ave - 4B-421, Middletown, NJ  07748

"The meaning of life?  That's simple.  Try to be happy, try not to hurt
 other people, and hope to fall in love."  -- Mallory Keaton
Newsgroups: comp.windows.x
From: marcus@iiasa.ac.at (Marcus SCHNELL)
Subject: SUIT experiences wanted!
Organization: International Institute for Applied Systems Analysis
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 16 Nov 1992 15:33:07 GMT

I would like to repeat my call for anyone who as used the SUIT
interface builder to contact me for possibme information
exchange.

There must be somebody out there who was done some development
using SUIT.

If you have some experience with SUIT, PLEASE contact me.

Thanks,

Marcus

*****************************************
*    Marcus Schnell                     *
*    International Institute for        *
*    Applied Systems Analysis           *
*    A-2361 Laxenburg                   *
*    AUSTRIA                            *
*    Phone   : (+43 2236) 715 21 *487   *
*    FAX     : (+43 2236) 731 48        *
*    marcus@iiasa.ac.at                 *
*****************************************
From: sllkz@cc.usu.edu
Newsgroups: comp.windows.x
Subject: SOS on Font error!
Date: 17 Nov 92 20:16:23 MDT
Organization: Utah State University

Hi all,
	This is a repost of an earlier problem  I had which I could not clarify
at that time. I am running dxbook from a decstation with display on a hp. While
other applications dxterm,dxcalc,dxview,etc etc..work fine dxbook doesnt. I
have tried dxbook with the font option but it still DOES NOT  work. Please
help. Thanks in advance!!!!

Krishna
Utah State University
The error message is as follows:

X Toolkit Warning: Cannot convert string ""-*-*-medium-r-normal-*-*-120-*-*-p-*-iso8859-1" " to type FontList, using fixed font
X Error event received: BadName - font or color name does not exist
  Request Major op code 45
  Request Minor op code 0
  ResourceID 0x1c0001a 
  Serial number of request 75 
  Current serial number 76 
Can't open font -*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1
Newsgroups: comp.windows.x
From: cmchan@dcs.warwick.ac.uk (C M Chan)
Subject: Use C++ with Xt
Organization: Department of Computer Science, Warwick University, England
Date: Thu, 19 Nov 1992 21:11:26 GMT



Hi there,

I've got into trouble when I tries to compile my Xt program with
C++ compilers. Surprisingly, the C++ compilers work quite well with
Xlib.

I am wondering if I can program C++ with Xt. Are the X11R4/5 header
files compatible with C++? If yes, HOW can I make use of them in my
C++ program?


Thanks in advance for any response to this posting.




-- 
C M CHAN         cmchan@dcs.warwick.ac.uk
Newsgroups: comp.windows.x
Subject: Re: Scatter Plotting
From: villa@sparrow (Ferdinando Villa)
Date: 16 Nov 92 11:57:58 +0100
Organization: Ecologia Universita' di Parma
X-Newsreader: TIN [version 1.1 PL6]Lines: 17


  The most powerful program I know of is Xgobi, available through statlib
and a number of FTP sites. It is an analysis tool rather than a plotting 
program, and can do a great number of operations on multidimensional 
scatterplots. The problem is it has not yet very well expanded for producing
printed plots (I understand postscript output is not yet implemented) but
if you are involved in scattergrams it is a must, and you should at least
try it.



Ferdinando Villa, dr. 

Institute of Ecology                     Direct phone: +39-521-905615
University of Parma                               FAX: +39-521-905665
Viale delle Scienze                      e.mail: villa@sparrow.bio.unipr.it
43100 Parma, Italy                               villa@aida.eng.unipr.it
From: sdo@piccolo.East.Sun.COM (Scott Oaks - Sun Consulting NYC)
Newsgroups: comp.windows.x
Subject: Re: Anyone compile olvwm on SVR4?
Date: 16 Nov 1992 18:47:29 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: sdo@piccolo.East.Sun.COM
NNTP-Posting-Host: piccolo.east.sun.com

In article 25332@gcm.com, garyb@gcm.com (Gary Blumenstein) writes:
> If anyone has gotten olvwm to compile and run on SVR4, I'd like to 
> hear from you.  I made several attempts a while back but without success.
> I can't remember the exact errors, but I'd appreceiate any help or
> pointers if you can.

There will be patches for an SVR4 version of olvwm within a few weeks.

-sdo

---
----------
Scott Oaks
Sun Microsystems	(scott.oaks@sun.com)
From: charles@sunup.Sun.COM (Charles Ditzel - SE Sun Seattle 206-889-1328)
Newsgroups: comp.windows.x
Subject: Re: Session Manager
Date: 15 Nov 92 20:46:29 GMT
Organization: Sun Microsystems Inc., Seattle
NNTP-Posting-Host: sunup.west.sun.com


Public virtual workspace window managers include

	* Open Look Virtual Window Manager , enhanced olwm with navigator
	* tvtwm  twm with a virtual workspace navigator
	* ctwm is twm modified for virtual "rooms" workspaces 
	* xrooms 

All are available from export.lcs.mit.edu

Hope this helps,
charles
Newsgroups: comp.windows.x
From: marke@fsi-ssd.csg.ssd.fsi.com (Mark W. Easter)
Subject: How can I get button to resize after changing its label?
Date: Wed, 18 Nov 1992 19:13:51 GMT
Distribution: comp
Organization: FlightSafety-SSD, Tulsa, OK, USA

I'm sure this is an easy question, but I can't find the answer in the
volumes of X documentation that surround me.  I have a simple form
with a button on it.  As a result of user interaction, I change the
button's label text and now the button is no longer large enough to
contain it.  How do I get the button to expand based on the new label
size?

If you can, please respond via email to marke@fsi.com.

Thanks!
-- 
                                                                         
----------------------------------------------------------------    /|  -
Mark W. Easter            FlightSafety International               / | /|
Staff Engineer            Simulation Systems Division         -----------
Computer Systems Group    Broken Arrow, Oklahoma 74012    Flight   \ |   
marke@fsi.com             918-251-0500 x596                  Safety \|SSD
                   "You wreck 'em - we'll rack 'em"                       
----------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: gildea@expo.lcs.mit.edu (Stephen Gildea)
Subject: Re: Xdvi missing fonts???
Keywords: xdvi
Organization: X Consortium, MIT Laboratory for Computer Science
Date: Tue, 17 Nov 1992 18:05:34 GMT

    I tried running the latest version of Xdvi, but was unable to get it
    to run as it kept complaining that it couldn't find certain fonts. They
    are cmbx10, cmtt10, cmti10, and cmr10.

These are TeX fonts, not X fonts.  So you have probably been looking
in the wrong place.  Can you print your documents?  If so, you have
the necessary fonts, and it is only a question of configuring xdvi to
find them.

 < Stephen
   MIT X Consortium
Newsgroups: comp.windows.x,comp.windows.ms.programmer
From: jck@mercury.ncat.edu
Subject: Window update schemes
Organization: North Carolina A&T State University
Date: Tue, 17 Nov 1992 21:40:19 GMT

Ca va bien, mercy.  The phone number I gave you may have been incorrect.
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: comp.windows.x
Subject: Re: monitor on a Sun/IPC
Date: 22 Nov 92 04:36:18 GMT
Organization: U of Arizona CS Dept, Tucson


| From: Peter Ilieve <peter@memex.co.uk>
| Message-Id: <9211201311.AA05831@hq.memex.co.uk>
| To: azhao@cs.arizona.edu
| Subject: Re: Lost screen #1 on a Sun IPC
| In-Reply-To: <26119@optima.cs.arizona.edu>
| Organization: Memex Information Systems Ltd, East Kilbrde, Scotland
| 
| In article <26119@optima.cs.arizona.edu> you write:
| >On a color IPC, "xdpyinfo" tells me that I have two screens, and I have
| >a twm menu entry of
| >
| >	f.warptoscreen "next"
| >
| >But that menu entry doesn't work (can't take me to the other screen).
| >And if I move the cursor off one edge of screen #0, it comes out from
| >the other edge and still can't switch to screen #1 as it supposed to.
| 
| If nobody else has said so already:
| 
| The IPC has a bwtwo mono framebuffer on its motherboard.  Colour IPCs
| have an additional cgthree SBus board (or GX I suppose) for the colour
| monitor.  MIT X will use all the framebuffers it finds, so xdpyinfo
| reports two `screens' but if you only have one physical monitor you
| obviously only have one physical screen.  The IPC is not like the 4/110
| (I think), which had a mono overlay plane that could be displayed on
| the same monitor as the colour output.  Borrow a mono monitor from
| someone and plug it into the other video connector on the back of the
| IPC and all should become clear.
| 
| Peter Ilieve		peter@memex.co.uk

-- 
= Qiang Alex Zhao                 ___       .             ______
  Computer Science Dept          /   )     /|   )          __//  )
  University of Arizona         /   /     /_|  / _        //    /_  _. ._
  azhao@cs.arizona.edu         (__)(_o   /  (_(_(-'_)(   ((____/ (_(_(_(_)
Newsgroups: comp.windows.x
From: kerm@mercury.ncat.edu (Cary Burnette)
Subject: Test
Organization: North Carolina A&T State University
Date: Tue, 17 Nov 1992 21:51:52 GMT

Sorry, but this is a test

-- 
 Dept. of Electrical Engineering            | kerm@garfield.ncat.edu
 McNair Hall                                | 
 North Carolina A&T State University        | Phone: (919)334-7648 
 Greensboro, NC   27411                     | FAX:   (919)334-7662
Newsgroups: comp.windows.x
From: rroux@betelgeuse.sdd.trw.com (Ray Roux)
Subject: X11 performance over a serial line
Summary: what is the performance over a serial line?
Keywords: SLIP, PPP, X-terminals
Organization: TRW Inc., Redondo Beach, CA
Distribution: usa
Date: Mon, 16 Nov 92 05:01:50 GMT

I just got a request from management to find out what the throughput
would be like if we provide access to our Motif based application via
a modem.  It looks like (correct me if I'm wrong) we have these choices:

        1. use an X-Window terminal that can hooked via the serial line.
           Graphon and HDS are two vendors that I know of, are there any
           others?

        2. have a workstation at the remote site and use SLIP, CSLIP, or
           PPP to network to our workstation and pass info between them.

One of the major tasks of our application is to display plots of satellite
telemetry data.  The number of points plotted can range from 2 to millions.
The drawing is done using XDrawSegments.

I'd appreciate hearing from anyone who runs (or has tried to run) X11
applications through a modem.  Is the speed tolerable?  Management wants
to use a 9600 baud modem, my guess is that it's too slow, what is really
a practical baud?

If the connection is over a standard voice line, how reliable is it?  Users
probably won't putup with too many line drops before they declare the
application as unusable.

Thanks,
   Ray Roux
   rroux@betelgeuse.sdd.trw.com

-- 
  Ray Roux
    rroux@betelgeuse.sdd.trw.com
From: hugh@rschp1.anu.edu.au (Hugh Fisher)
Newsgroups: comp.windows.x
Subject: How to tell if display is idle?
Date: 20 Nov 1992 04:37:41 GMT
Organization: Research School of Chemistry, ANU
Distribution: world
NNTP-Posting-Host: 150.203.35.20


  I want to modify a program which checks for idle terminals
  to handle X displays as well. There are Xlib functions
  and protocol requests to set or retrieve the screen saver
  time out values, but there doesn't seem to be any way to
  check if the screen saver is currently active.

  The program will run on Unix machines with mostly X11R4.
  The best I can think of is getting the pointer motion buffer
  for the last n seconds and seeing if it is empty or not. Can
  anyone suggest a better way?

	Hugh Fisher
From: bruce@maypo.ai.mit.edu (Bruce Walton)
Newsgroups: comp.windows.x
Subject: xterm phantoms
Date: 17 Nov 1992 17:10:46 GMT
Organization: MIT Artificial Intelligence Lab
Distribution: world
NNTP-Posting-Host: maypo.ai.mit.edu

Looked for this in the FAQ, no dice...

Often some of our users run X clients on remote sparcstations, and
terminate their local X server without shutting it down properly.  The
effect is to leave pty's open on the sparc, making it look as though
they're still logged in.  This happens most often to owners of PC's
who run X servers (like MacX or whatever).

Does anyone know how to recognize these inactive X clients (xterms),
and clear out their utmp entries (without rebooting)?

thanks,				-bruce.

-----------

Bruce Walton	bruce@ai.mit.edu	MIT artificial intelligence lab
		617-253-9667		545 tech sq. cambridge, MA 02139
From: ama@metrix.UUCP (Alan Amaral)
Newsgroups: comp.windows.x
Subject: Re: Load pixmap into pixmap
Date: 17 Nov 92 19:30:42 GMT
Reply-To: ama@metrix.UUCP (Alan Amaral)
Organization: Metrix Network Systems Inc.

In article <1992Nov16.184809.2642@lsl.co.uk> snail@lsl.co.uk writes:
>In article <1992Nov7.142104.23123@alf.uib.no>, singg@alf.uib.no (Kurt George Gjerde) writes:
>> I use the following code for loading a pixmap and drawing it inside
>> another pixmap:
>> Are there any faster ways to do this?? 
>[deleted...]
>>                 if (XGetGeometry(dpy,userpixmap, &d_root, &d_x, &d_y, &width,
>>                              &height, &d_border_width, &d_depth)) {
>> 
>>                    image  = XGetImage(dpy, userpixmap, 0,0, width, height,
>>                                        1, XYPixmap);
>> 
>>                    XPutImage(dpy,win, gc,image,0,0,posX,
>>                              posY,image->width, image->height);
>>                    XPutImage(dpy,pixmap, gc,image,0,0,posX,
>>                              posY,image->width, image->height);
>
>swap the second XPutImage with an XCopyArea from the 'win' to the 'pixmap'.
>as follows:-
>                     XCopyArea(dpy, win, pixmap, gc,
>                               0, 0, image->width, image->height,
>                               PosX, PosY);
>> 
>>                    XFree(image);
>>                 }
>-- 

What you have suggested is NOT guaranteed to work, as the window may be
unmapped, or partially or totally obscured, and backing store may not be
available.  Thus the copy that you get (if you get anything) in the pixmap
may not be what you expect.

Doing the XPutImage to the pixmap FIRST, and then copying from the pixmap to
the window will work in any case...

So, the code would look more like this:

				...

                   XPutImage(dpy,pixmap, gc,image,0,0,posX,
                             posY,image->width, image->height);

                   XCopyArea(dpy, pixmap, win, gc,
                             0, 0, image->width, image->height,
                             PosX, PosY);

				...



Alan Amaral             |  Email: ama@metrix.COM
Metrix Network Systems  |  Voice: (603) 888-7000
-- 
Alan Amaral             |  Email: ama@metrix.COM
Metrix Network Systems  |  Voice: (603) 888-7000
Xref: sparky comp.windows.x:19253 comp.text.tex:13227
From: wls@astro.umd.edu (William L. Sebok)
Newsgroups: comp.windows.x,comp.text.tex
Subject: bdf to pk
Date: 17 Nov 92 22:18:00 GMT
Organization: U. of Maryland @ College Park, Astronomy

Are there any programs to convert from X window's bdf format to TeX's pk (or gf)
format.  I haven't seen this in the FAQ's, or if it is I missed it.  I am aware
of programs to go the other way, from pk to bdf but not from bdf to pk.

-- 
Bill Sebok      Univ. of Maryland, Astronomy    Internet: wls@astro.umd.edu
Newsgroups: comp.windows.x,comp.windows.x.motif
From: dec@alex.com (Doug Clinton)
Subject: Re: Getting pointer to resource database
Organization: Alex Technologies Ltd
Apparently-To: mail2news@gate.demon.co.uk
Date: Fri, 20 Nov 1992 11:49:43 +0000

In article <1992Nov19.153930.14273@elegant.com>, drk@elegant.com (David King) writes:
|> I need to get a pointer to the resource table used in an
|> application which can be passed to XrmParseCommand().
|> XtDatabase returns the database whereas XrmParseCommand()
|> requires a pointer to it.
|> 

XrmParseCommand() only requires a pointer so that it can pass back a
newly created database if the database you pass in contains NULL.

The database returned from XtDatabase() should not be NULL so
XrmParseCommand() should not create a new one.

The following should work ok:

db = XtDatabase(display);
XrmParseCommand(&db, ...);


-- 
---------------------------------------------------------------
Doug Clinton				Alex Technologies Ltd
dec@alex.com				CP House,
					97-107 Uxbridge Road,
					Ealing, London, W5 5TL
---------------------------------------------------------------
"Just because someone famous said it doesn't make it true."
				- Douglas E. Clinton
---------------------------------------------------------------