HDTenEightyP/NetNews huggingface dataset:
From: siegel@mcclb0.med.nyu.edu
Newsgroups: fj.mail-lists.x-window
Subject: HELP getting 2 toplevel shells on 2 displays to function simultaneously
Date: 31 Jul 92 08:48:08 GMT
Distribution: fj
Organization: NYU Medical Center, New York, NY 10016, USA

Date: 30 Jul 92 20:46:11 GMT
Message-Id: <1992Jul30.154611.1@mcclb0.med.nyu.edu>
Newsgroups: comp.windows.x

I have been trying to write a small program to create an Application
Shell on one display and a TopLevel Shell on another display, and then
define some widgets in each. Strangely enough, I can do one of two
things without getting a Segmentation Fault:
a) XtAppInitialize on Display1, XtOpenDisplay on Display2, then do
a whole application on Display1 as long as I don't try to
XtAppCreateShell on Display2 (that causes Segmentation Fault); or
b) XtAppInitialize on Display1, XtOpenDisplay on Display2, then do a
whole application on Display2 as long as I don't define any widgets on
Display1 (that causes Segmentation Fault).

What's wrong? Do I need two Application Contexts? I tried this once
and it didn't seem to have any effect. Two application shells appears
to be illegal. Am I going to have to fork a new process to get the
second toplevel shell working? That sounds unnecessary to me.

I would appreciate any suggestions.
Chris Siegel
NYU School of Medicine
NEW email: chris@mchip01.med.nyu.edu
From: dbl@osf.org
Newsgroups: fj.mail-lists.x-window
Subject: Re: One program - two displays - two cursors
Date: 27 Jul 92 22:14:06 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Mon, 27 Jul 92 13:59:22 -0400
Message-Id: <9207271759.AA02205@loan2.osf.org>


|> How can one program be displayed on the screens of two networked
|> machines at the same time with two cursors active? Both cursors
|> independently operated; one by one user and one by the other?

Depending on what you actually need, one of the "procotol multiplexers" below
may solve your problems. Ollie Jones's excellent article about multiple-display
Xt applications in the current X Resource may also help.

----------------------------------------------------------------------
Subject:  86)! How can I "tee" an X program identically to several displays?

	There are several protocol multiplexer tools which provide for the 
simultaneous display of X clients on any number of machines.
	XMX (an X Protocol Multiplexor) is available from wilma.cs.brown.edu 
(128.148.31.66) as pub/xmx.tar.Z It works independently of the server and does
not affect the application being shared; it was developed for use in the
electronic classroom.
	XTV is a conference program which can be used to duplicate the
"chalkboard" on several displays.
	SHX from Michael Altenhofen of Digital Equipment GmbH CEC Karlsruhe 
also does this; it is a "WYSIWIS" (What You See Is What I See) package in the 
context of a computer-based learning/training tool to provide online help from
remote tutors but is also useful for general window sharing. Information: 
shX@nestvx.enet.dec.com.  SHX can be found on export and 
		gatekeeper.dec.com:/pub/X11/contrib/shX.tar.Z, 
		crl.dec.com:/pub/X11/contrib/shX.tar.Z 
	XTrap is implemented as a server/library extension. It is available as:
		gatekeeper.dec.com      pub/X11/contrib/XTrap_v31.tar.Z
		export.lcs.mit.edu      contrib/XTrap_v31.tar.Z

Also:
        Hewlett-Packard Co. has a commercial product, "HP SharedX" which works
under HP-UX currently on their 300, 400, and 700 series workstations and their
HP 700/RX X Stations.  Machines receiving shared windows can be any X server.
HP SharedX consists of a server extensions and a Motif based user interface
process.  Contact your local HP sales rep. for more information.
	IBM offers a commercial product.

[Thanks in part to scott@spectra.com (Tim Scott),5/91]

----------------------------------------------------------------------

-- 
David B. Lewis  	Temporarily at and certainly not speaking for OSF.
by day: dbl@osf.org			by night: david%craft@uunet.uu.net
From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: fj.mail-lists.x-window
Subject: Question about resources
Date: 29 Jul 92 12:30:55 GMT
Distribution: fj
Organization: Ecole Polytechnique Federale de Lausanne

Date: 29 Jul 92 07:38:34 GMT
Message-Id: <3805@sicsun.epfl.ch>
Newsgroups: comp.windows.x


    What i would like to do is to specify the resources of a widget using
multiple path, by path, i mean the dotted string in the resource file. I'm
writing a window manager widget and would like to allow the user to specify
resources using the Class, name, or title of a client using the natural syntax :

wmw*XTerm.xterm.this_xterm.title.background: black

   But i don't want to create the unnecessary widgets XTerm, xterm and this_xterm
that are just stubs for specifying resources. I had 2 ideas :

    1 - use gadgets instead of widgets because they consume less resources,
but as far as i know gadgets cannot have children.

    2 - Use XtGetApplicationResources to get the resources and set them 
manually on the title, buttons, borders, corners, etc... But it is not
that easy and i just duplicate the job of Xt as title, etc... are real
widgets.

  I even try to have the widget name contains dots and stars but Xt doesn't
seem to handle this gracefully.

   Anybody around the worls has a better idea ?

Thanks in advance.

-- 


                    Claude Lecommandeur
                    Service Informatique Central
                    Ecole Polytechnique Federale de Lausanne
                    1015 LAUSANNE (SWITZERLAND)
                    E-Mail : lecom@sic.epfl.ch
                    Tel : (41 21) 693-22-97
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: fj.mail-lists.x-window
Subject: Re: Screen capture retaining pointe
Date: 25 Jul 92 07:14:13 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 18 Jul 92 00:58:00 GMT
Message-Id: <1992Jul17.145859.28956@thunder.m>
Newsgroups: comp.windows.x


In article <1992Jul13.105243.2408@pictel.com>, oj@pictel.com (Oliver Jones) writes:
> In article <1992Jul10.123748.26945@PA.dec.com>, neideck@kaputt.enet.dec.com (Burkhard Neidecker-Lutz) writes:
>> In article <1992Jul10.002907.20496@ccu.umanitoba.ca> rafiq@silver.cs.umanitoba.ca (Salik Rafiq) writes:
>>> I'm looking for a program to perform a screen capture but retain
>>> the mouse pointer, [...].
>> This is *impossible* to do on machines with hardware cursors (i.e.
>> each and every machine made by Digital) .
> It's not impossible, just hard and kludgey.  (Tt's almost impossible
> for something to be impossible in X :-)

Unfortunately it is impossible within X, *regardless* of whether the
machine uses a hardware cursor or not.  (Unless of course the server
contains an extension designed for this, which as far as I know does
not exist.)

> So, copy the window's contents to a pixmap, then query the cursor
> position and render the cursor into the pixmap,

But this can't be done, because there is no way to find out what the
cursor looks like.  There isn't even any way to find out what cursor is
being used for a given window, since there may be no XID for it any
longer.

You're probably better off looking for some system-dependent mechanism,
like screendump on a Sun....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: tmcconne@sedona.intel.com (Tom McConnell)
Newsgroups: fj.mail-lists.x-window
Subject: Xw for X11R5 on RS/6000?
Date: 31 Jul 92 02:49:22 GMT
Distribution: fj
Organization: Intel Corporation

Date: 30 Jul 92 17:14:44 GMT
Message-Id: <12601@inews.intel.com>
Newsgroups: comp.windows.x


  Howdy.

  I have been trying to get the Xw library up on X11R5p12 for the RS/6000. I got
Xw.tar.Z from export, made some cosmetic changes for the location of the include
files, and modified Xw.h so that #defines do not clash with StringDefs.h from
Xt.

  Now I am stuck on this error:

            bsdcc -c -O  -I.. -I../.  -I/stor/x11dev/R5/aix/include  -DSYSV
-DAIXV3     Panel.c
       86 | static XtActionsRec actionsList[] = 0;
            ..................................a...
a - 1506-168: (S) Initializer must be enclosed in braces.
    1506-131: (S) Explicit extent specification or initializer required for an
auto  or static array.
      235 | WidgetClass XwpanelWidgetClass = (WidgetClass)&XwpanelClassRec;
            ...............................a...............................
a - 1506-026: (S) Number of initializers cannot be greater than the number of
aggregate members.
make: 1254-004 The error code from the last command is 1.


  So tell me: has anyone built Xw under X11R5? I want it for some clients I got
from vernam.cs.uwm.edu from the soft-eng directory.

    Cheers,

    Tom McConnell
-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
From: wpm@is.morgan.com (W. Phillip Moore)
Newsgroups: fj.mail-lists.x-window
Subject: Time Management tool for X11
Date: 27 Jul 92 10:22:29 GMT
Distribution: fj
Organization: Informations Services Dept., Morgan Stanley Japan

Date: Mon, 27 Jul 1992 21:35:22 GMT
Message-Id: <WPM.92Jul27163522@exile.is.morgan.com>
Newsgroups: comp.windows.x


Several months ago, someone posted an interesting X11 utility which I
ignored at the time, and now would find incredibly useful.  Basically, this
tool allowed you to create a list of current tasks, and by clicking on the
task which is active, you could effectively determine how many hours a day
were spent on each task.  Rather like a multi-player chess clock (does such
a beast exist??)

I recently switched employers, and my new job requires me to write daily
time sheets, a task which is proving to be very cumbersome and inaccurate.
Such a tool as described above would be great.

Problem is, I do not remember the name, and can't find anything obvious on
export.lcs.mit.edu.

Can someone (maybe the author) point me at an archive site for this
utility??

Thanks.

W. Phillip Moore	   				Phone: 81-3-3286-9359
Information Services Department                           FAX: 81-3-3286-9040
Morgan Stanley Japan Ltd.  Tokyo Branch             E-mail: wpm@is.morgan.com
	Ote Center Bldg. 3F, 1-1-3 Otemachi, Chiyoda-ku, Tokyo 100
From: shpark@cosmos.kaist.ac.kr
Newsgroups: fj.mail-lists.x-window
Subject: Need information on Serial X Termin
Date: 23 Jul 92 11:11:59 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 18 Jul 92 20:36:00 GMT
Message-Id: <1992Jul18.103643.29464@kum.kaist>
Newsgroups: comp.windows.x



Hi,

I am sorry, if it was discussed already. I haven't followed this newsgroup
lately.

I am developing a database for personal records with pictures on X. I hope
I can browse each record of this database by X terminal connected through
9600 Baud serial line. The record of this database is text only except the
label with pixmap for picture(100x100). So the traffic won't be that high. 
At the terminal, I will only use this application and xterm.

I found some discussion on LBX(Low Bandwidth X) in FAQ of X. But it doesn't
have product information on market. Could anyone help me ?

The best solution I am looking for is finding a serial X server on  PC
and using my 386 as X terminal.

Any help will be greatly appreciated.

Sunghun Park
Dept of Business Administration
Sung Kyun Kwan University
Seoul, Korea
e-mail : shpark@cosmos.kaist.ac.kr
From: ccgwt@trentu.ca (Grant Totten)
Newsgroups: fj.mail-lists.x-window
Subject: Where is the FAQ
Date: 24 Jul 92 02:26:15 GMT
Distribution: fj
Organization: Trent University

Date: Thu, 23 Jul 1992 15:41:25 GMT
Message-Id: <1992Jul23.154125.4242@trentu.ca>
Newsgroups: comp.windows.x


Hello all,

	I'm having a hard time tracking down the comp.windows.x FAQ list.
Can anybody point me to an FTP site that has the most recent version?
Who maintains it?  How often is it posted?  Obviously, it's been expired at
our site.

Thanks in advance.


Grant Totten, Programmer/Analyst      |     THIS SPACE FOR RENT
Trent University, Peterborough Ontario| 
GTotten@TrentU.CA                     |
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GXcopy and GXxor
Date: 30 Jul 92 08:02:45 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: Thu, 30 Jul 92 00:08:39 GMT
Message-Id: <1992Jul30.000839.5722@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <xia.711911424@odin>, xia@molbio.ethz.ch (Xia Tai-he) writes:

> I have created a GC with function GXcopy and another GC with GXxor
> for drawing rubber-band lines,

> I also set the foreground colors for the two GCs.

What did you set them to?  Getting the foreground pixel value wrong is
the commonest problem with GXxor.

> However, the lines drawn with the second GC don't have the color I
> have set, whose colors differ depending on the objects alreay
> existing on the screen.

That's the way GXxor works: it XORs the foreground value in the GC with
the value that's already there.  It's up to you to make sure that the
result is what you want.  (XOR is useful for rubber-band lines because
it's easy to invert - it's self-inverse.  But of necessity, this means
that different pixel values underneath the rubber-band end up being
different pixel values when rubber-banded over.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: shpark@cosmos.kaist.ac.kr (Sunghun Park)
Newsgroups: fj.mail-lists.x-window
Subject: Need information on Serial X Terminal
Date: 23 Jul 92 07:57:35 GMT
Distribution: fj
Organization: KAIST

Date: Sat, 18 Jul 92 10:36:43 GMT
Message-Id: <1992Jul18.103643.29464@kum.kaist.ac.kr>
Newsgroups: comp.windows.x


Hi,

I am sorry, if it was discussed already. I haven't followed this newsgroup
lately.

I am developing a database for personal records with pictures on X. I hope
I can browse each record of this database by X terminal connected through
9600 Baud serial line. The record of this database is text only except the
label with pixmap for picture(100x100). So the traffic won't be that high. 
At the terminal, I will only use this application and xterm.

I found some discussion on LBX(Low Bandwidth X) in FAQ of X. But it doesn't
have product information on market. Could anyone help me ?

The best solution I am looking for is finding a serial X server on  PC
and using my 386 as X terminal.

Any help will be greatly appreciated.

Sunghun Park
Dept of Business Administration
Sung Kyun Kwan University
Seoul, Korea
e-mail : shpark@cosmos.kaist.ac.kr
From: steve@ecf.toronto.edu (Steve Kotsopoulos)
Newsgroups: fj.mail-lists.x-window
Subject: Re: NCD Terminals und access-control problems
Date: 24 Jul 92 12:33:46 GMT
Distribution: fj
Organization: University of Toronto, Engineering Computing Facility

Date: Thu, 23 Jul 1992 19:48:24 GMT
Message-Id: <Bruxop.EH5@ecf.toronto.edu>
Newsgroups: comp.windows.x

In article <1992Jul22.080334.18116@wega.rz.uni-ulm.de> gaissmai@rzmain.rz.uni-ulm.de (Karl Gaissmaier) writes:
>Hello
>
>i have an NCD19c X-terminal and i'm not able to set the access
>control so that _NO_ host after startup has the possibility to write
>on my xterm. the xdm-host has at Session-startup always the
>right, and that is not fine. After login over xdm you has
>always to disallow the xdm-host with xhost explicit.
>
>Configuration:
>
>NCD19c with 2.4.Q beta #2024 10/05/91 server-software
>BootMonitor V.2.3.1
>
>(xdm from X11R5pl12, running on a DecStation 5000/200 Ultrix 4.1A)
>
>but that's a problem from NCD, i'm sure.
>
>xdm-config-File:
>================
>#
>DisplayManager.xterm4_0.authorize:              true
>DisplayManager.xterm4_0.authName:               MIT-MAGIC-COOKIE-1
>#
>
>xterm-configuration-File:
>=========================
># Access control
>xhosts = default                                # defaults to nohost
>tcp-ip-access-control = on                      # {off, on}
>ncdnet-access-control = on                      # {default, off, on}

I just added the following line to xdm-config:
> DisplayManager*setup:           /local/X11R5/lib/X11/xdm/setup

And then put the following in the setup file (change skule to be your xdm host):
> # disable access from skule.ecf
> # still not clear how skule got in the access list in the first place!
> xhost - skule.ecf > /dev/null 2>&1

Make sure you don't just put the 'xhost -' in the Xsession file,
or else the display will be 'open to trouble-makers' when nobody is logged in.
-- 
Steve Kotsopoulos                   mail:   steve@ecf.toronto.edu
Systems Analyst                     bitnet: steve@ecf.UTORONTO.BITNET
Engineering Computing Facility      uucp:   uunet!utai!ecf!steve
University of Toronto               phone:  (416) 978-5898
From: ccoprdg@prism.gatech.edu (Drew Gonczi)
Newsgroups: fj.mail-lists.x-window
Subject: X11R5 on RS/6000 (AIX 3.2)
Date: 31 Jul 92 10:30:17 GMT
Distribution: fj
Organization: Georgia Institute of Technology

Date: 30 Jul 92 23:13:50 GMT
Message-Id: <64716@hydra.gatech.EDU>
Newsgroups: comp.windows.x

I have X11R5 pl 11 running on a IBM RS 6000.  We are running AIX 3.2.

When I run startx (or xinit), the server starts, but nothing else 
happens.  After I kill the server (ctrl-atl-backspace), I see the message
that xinit cannot connect to server.

Any Ideas on what the problem is?


-- 
Drew Gonczi         
Operations Dept - Office of Information Technology
ccoprdg@prism.gatech.edu
From: donner!bucci1@bloom-beacon.mit.edu (25853-pastor)
Newsgroups: fj.mail-lists.x-window
Subject: Re: faking xlock with kill -STOP <X server PID>
Date: 23 Jul 92 13:44:31 GMT
Distribution: fj
Organization: Bellcore, Livingston, NJ

Date: 22 Jul 92 20:33:18 GMT
Message-Id: <1992Jul22.203318.24969@porthos.cc.bellcore.com>
Newsgroups: comp.windows.x

In article <1992Jul21.143641.20596@Arco.COM>, cgp@Arco.COM (Chris Phillips  (214) 754-6419) writes:
> 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

We were wondering exactly what you meant by "X server PID".  When we 
used the PID for the window manager, the applications still ran, but all
input was locked out.  If we stopped the original ksh, the window manager
still allowed the user to close the window of the original xterm (and thus 
terminate that display completely).

What we are looking for is a way to either hide that xterm icon, or to disable 
the close ability on it, but still allow users to work with the other 
applications with the touch screen.

Thanks

Robert Buccigrossi (bucci1@donner.cc.bellcore.com)
From: pchan@mdd.comm.mot.com (Pat Chan)
Newsgroups: fj.mail-lists.x-window
Subject: Re: What's "xnews: Warning:input queue lock broken"?
Date: 29 Jul 92 03:15:52 GMT
Distribution: fj
Organization: Motorola - Mobile Data Division; Richmond, BC

Date: 28 Jul 92 20:57:32 GMT
Message-Id: <1992Jul28.205732.2642@mdd.comm.mot.com>
Newsgroups: comp.graphics,comp.windows.open-look,comp.windows.x,alt.toolkits.xview

>> "xnews: Warning: input queue lock broken".
>> 1 Has anyone had a similar experience?
>
>I consistently suffer the same problem using FrameMaker on a similar system.  
>It usually occurs when performing multiple clicks with the mouse.  
>The system can hang for a considerable length of time but does eventually come back.

I always have this problem when I used OpenWin2 panel list. 
After I've deleted several items, multiple clicks on other
list items give the about warning and the application hangs.

-- 
Pat Chan                          Internet: pchan@mdd.comm.mot.com 
Motorola Mobile Data Division     Voice: (604) 241-6032
11411 Number Five Road            Fax: (604) 241-6042
Richmond, BC Canada V7A 4Z3
From: hares@hpcc01.corp.hp.com (Steve Hares)
Newsgroups: fj.mail-lists.x-window
Subject: How do I get an XWD into a label ?
Date: 26 Jul 92 01:02:55 GMT
Distribution: fj
Organization: the HP Corporate notes server

Date: Fri, 24 Jul 1992 21:08:10 GMT
Message-Id: <2750007@hpcc01.corp.hp.com>
Newsgroups: comp.windows.x

Hello,

Does anyone have a resource converter that would allow me to place an xwd or
gif file into a label ?  If so, would you be willing to part with it, or at
least give me some pointers on how to do it ?  As usual, any and all help will
be greatly appreciated.


Thanks,

Steve
From: mdpopham@babbage.waterloo.edu (Mike Popham)
Newsgroups: fj.mail-lists.x-window
Subject: How to capture screen?
Date: 29 Jul 92 04:18:20 GMT
Distribution: fj
Organization: University of Waterloo

Date: 28 Jul 1992 22:39:43 GMT
Message-Id: <Bs4Ey8.4qD@watserv1.uwaterloo.ca>
Newsgroups: comp.windows.x

First, thanks to everyone who responded to my request for help with
smooth scrolling.

My question now is how can I capture a screen shot (preferably PS)?
Is there any application that does this (I am working on Sparcs)?

Thanks,

mike
From: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Using the NonRectangular Window Shape Extension
Date: 25 Jul 92 04:31:47 GMT
Distribution: fj
Organization: Ecole Polytechnique Federale de Lausanne

Date: 24 Jul 92 07:01:02 GMT
Message-Id: <3352@sicsun.epfl.ch>
Newsgroups: comp.windows.x

In article <1992Jul23.163551.371@cine88.cineca.it>, marcello@deis16.cineca.it (Marcello Dalpasso) writes:
|> Hi netters,
|> 
|> I should implement an X application displaying a rectangular map divided in
|> many (actually about one hundred) nonrectangular zones.
|> 
|> The zone boundaries are non-orthogonal lines.
|> 
|> The application should get zone-enter/leave mouse event, and clicking.
|> 
|> The only solution I have figured out is to use the NonRectangular Window Shape
|> Extension provided by MIT X11R5.
|> 
|> Is it feasible?
|> Is it the unique solution?
|> 
|> Any help by skillful programmers?
|> 
|> Thanks in advance, please reply by e-mail and a summary will be posted.
|> 
|> -- 
|> 	Marcello Dalpasso (e-mail: marcello@deis16.cineca.it)
|> 	D.E.I.S. - Department of Electronics and Computer Science	
|> 	Viale Risorgimento 2, I-40136 Bologna, Italy			
|> 	Phone: +39-51-644-3015 (fax: +39-51-644-3073)

    It is perfectly feasible and pretty easy to do with the SHAPE
routines. Another solution is to just draw all the zones in the 
englobbing rectangular window an track the pointer motion events and
calculate manually in which zone the pointer is (to highlight it or
do whatever you want). You should probably try the first solution
first, but many X servers are a bit sluggish when dealing with
non-rectangular windows.

  Claude.

-- 


                    Claude Lecommandeur
                    Service Informatique Central
                    Ecole Polytechnique Federale de Lausanne
                    1015 LAUSANNE (SWITZERLAND)
                    E-Mail : lecom@sic.epfl.ch
                    Tel : (41 21) 693-22-97