HDTenEightyP/NetNews huggingface dataset:
From: mouse@thunder.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
Date: 17 Jul 92 18:58 MDT
Subject: Re: Screen capture retaining pointe
Nf-ID: #N:1992Jul17.145859.28956@thunder.m:2046495462:001:1343
Nf-From: thunder.mcrcim.mcgill.edu!mouse    Jul 17 18:58:00 1992


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

Newsgroups: comp.windows.x
From: steve@ecf.toronto.edu (Steve Kotsopoulos)
Subject: Re: NCD Terminals und access-control problems
Organization: University of Toronto, Engineering Computing Facility
Date: Thu, 23 Jul 1992 19:48:24 GMT

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: lecom@slhp1.epfl.ch (Claude Lecommandeur)
Newsgroups: comp.windows.x
Subject: Question about resources
Date: 29 Jul 92 07:38:34 GMT
Organization: Ecole Polytechnique Federale de Lausanne


    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
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Changing keymappings on a per-application basis
Organization: McGill Research Centre for Intelligent Machines
Distribution: na
Date: Sat, 25 Jul 92 10:51:11 GMT

In article <FMRCO!MSOMMER.92Jul21101441@ampere.uunet.uu.net>, fmrco!msommer@uunet.uu.net (Mark Sommer) writes:

> I would like to run a terminal-based application, requiring special
> keyboard keypad mappings, inside an xterm.

> Is there a way to change the keyboard mappings -- and later restore
> them -- for a single xterm?  I would like to be able to do this from
> a script, but would settle for doing it from a program.  It would
> also be reasonable to dedicate a particular xterm to running this
> application -- as opposed to an arbitrary xterm -- if that makes the
> problem tractable.

You might look at the Translations mechanism for xterm, and load up
your dedicated xterm with lots of translations to get the effect you
want.

As for doing it for an arbitrary xterm, if you don't use translations
for anything else, you may be able to do something useful with keymaps.
I don't know much about them, just that I've seen them mentioned on the
net as something interesting to do with changing translations.

If you're really determined to change the mapping in the xmodmap sense,
you want to either use xmodmap and the sed/awk/whatever script you
hinted at, if you're doing it from a shell script, or the
XGetKeyboardMapping and XChangeKeyboardMapping calls, if you're doing
it from a program.  (Deciding when to do it will probably not be
simple, unless you hack on xterm to do it when it thinks it has focus.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: zdxh0a@trc.amoco.COM (Douglas Horn)
Subject: using X11R5 under the X11R4 server.....
Organization: The Internet
Date: Thu, 30 Jul 1992 18:26:51 GMT


I was wonder if I can run X11R5 executable (link to the X11R5
libraries) under the X11R4 server (assuming I don't use any
of the PEX stuff)? 


Douglas Horn
Newsgroups: comp.windows.x
From: larry@ducktales.med.ge.com (Larry Landwehr)
Subject: One program - two displays - two cursors
Organization: GE Medical Systems, Magnetic Resonance
Distribution: na
Date: Mon, 27 Jul 92 14:30:27 GMT


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?
From: aw@jello.bae.bellcore.com
Newsgroups: comp.windows.x
Date: 18 Jul 92 01:42 MDT
Subject: Re: Changing resources on the fly
Nf-ID: #N:1992Jul17.214256.8724@walter.bel:-544859360:001:1143
Nf-From: jello.bae.bellcore.com!aw    Jul 18 01:42:00 1992


In article <1992Jul14.081127.12984@newshost.anu.edu.au>, Hugh.Fisher@anu.edu.au (Hugh Fisher) writes:
> 
>   How can an X application be notified that its resources have been
>   changed and it should therefore reconfigure itself to match?

The OLIT toolkit provides support for this.  It selects for
PropertyNotify on the RESOURCE_MANAGER property (set by xrdb).
Widgets can register callbacks (see OlRegisterDynamicCallback(3))
to be called when this property changes so they can update their
state.

>   What I would like to do is have a nice graphical resource editor,
>   which as it works sends protocol requests / ICCCM properties /
>   X events to the application(s) affected, in response to which they
>   change themselves to match the new values

All your editor should need to do is pass your edited resources
to xrdb, and OLIT applications will update themselves
appropriately.

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw

Xref: sparky comp.windows.x:14197 comp.windows.x.apps:597
From: mef@ehsl.mitre.org (Marc E. Fiucznski)
Newsgroups: mitre.windows.x,comp.windows.x,comp.windows.x.apps
Subject: x_soundtool or mixview question!
Date: 22 Jul 92 21:19:58 GMT
Distribution: comp
Organization: Electronic Hardware Standards Laboratory, MITRE Corporation,
	Reston, VA.

Hi,

Just wondering if there exists an application with an oscilloscope
display that can take standard PCM data from a socket and display
it in 'realtime.'  

Basically, has someone hacked x_soundtool or mixview to take its sound
data provided from a socket rather than from the audio device.
Basically, I have an application similar to netfone/vtalk or whatever
and I would like to see the data in a scope display similar to the one
from either x_soundtool or mixview.

Thanks,

Marc
Newsgroups: comp.windows.x
From: Peter_Imants_Buttuls@mts.ucs.ualberta.ca
Subject: (none)
Organization: The Internet
Date: Tue, 28 Jul 1992 15:20:40 GMT

I'm supposed to be evaluating a program to be installed that "uses 
Openwindows". It will be running on a Sparcstation to which I have access
from my workstation running X. The only reason that I can see that I may
not be able to run the program from my workstation is if the program puts
out DISPLAY POSTSCRIPT. Is there any other reason? Is there any way around
potential problems I might encounter, like sticking in a black box that 
converts commands my X-server might not understand to ones it does. My
machine is an SGI Personal Iris running Release 3.3 of IRIX. THANKS.
.
 
Peter Buttuls, University of Alberta, Edmonton, Canada
e-mail:(userpib@mts.ucs.ualberta.ca
From: lwv26@cas.org (Larry W. Virden)
Newsgroups: comp.windows.x
Subject: xterm and mouse question
Date: 31 Jul 92 15:14:30 GMT
Article-I.D.: cas.1992Jul31.151657.610
Reply-To: lvirden@cas.org (Larry W. Virden)
Followup-To: comp.windows.x
Organization: Nedriv Software and Shoe Shiners, Uninc.


Can anyone out there explain to me the two or 3 different Mouse
options available in xterm?  In the ctlseqs.ms file, there is
some stuff about Track Mouse, Send MIT Mouse Row/Column, send VT220 mouse row
and column, and Send VT200 Hilite Mouse Row and Column.

What I would like to find is some info on what the differences are, and
perhaps find some code which would send the sequence and then interpret
the results.  Anyone have anything like this?
-- 
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
Newsgroups: comp.windows.x
From: gwf@sapphire.bellcore.com (George W. Fleming)
Subject: Undefined Symbol:  _XtAppInitialize ???
Organization: Bellcore, Livingston, NJ
Date: 22 Jul 92 17:58:37 GMT
Summary: Why do I get this???
Keywords: What does it mean

Does anyone know why I get the following error when I try to start up X:

	ld.so:  Undefined Symbol:  _XtAppInitialize

This error is usually repeated 3 times when I run startx.  

I only get this problem right after I do a 'make everything' or just
'make' on the X source tree.  If I do 'make World', then this problem
seems to go away.

I am running X11R5 patchlevel 13 on a Sun Sparc, with the Sun numlock
patch installed.  It just seems that after every X patch release, I have
to do a 'make World' in order to start up correctly.  Does anyone understand
why?  Does it have something to do with the numlock patch?  This problem
started at about the same time that I put in the numlock patch.

If anyone could provide me with an answer, I'd appreciate greatly.

-- 
-------------------------
George W. Fleming
gwf@sapphire.bellcore.com
-------------------------
Newsgroups: comp.windows.x,comp.windows.x.motif
From: mahesh@widget.evb.com (B.G. Mahesh)
Subject: How to create a window which cannot be overlapped ?
Reply-To: mahesh@evb.com
Organization: SETT Inc.
Affiliate-Of: EVB Software Engineering, Inc.
Distribution: usa
Date: Tue, 28 Jul 1992 13:31:00 GMT


How can I create a window which is at the top of the stack
of all windows on the screen ? I should be able to move it but
no windows should be allowed to overlap this window. Please
respond by email.

thanks


-- 

Mahesh
mahesh@evb.com
From: drand@spinner.osf.org (Douglas Rand)
Subject: Re: X11R5 and Motif Compatibility
Organization: Open Software Foundation
Date: 29 Jul 92 11:54:39

In article <1992Jul29.090509.29357@discus.technion.ac.il> draz@tochna.technion.ac.il (David Raz) writes:

   In article <1400@seqp4.sequoia.com>, mikeq@seqp4.sequoia.com (Michael Quicquaro) writes:
   |> Sorry if this has been discussed already on this newsgroup,
   |> but I would like to know if X11R5 is compatible with Motif 1.1 ?
   |> 
   |> If it is not compatible programming-wise, can I use Motif 1.1 as
   |> a window manager while using X11R5 windows ?
   |> 
   |> Thanks for the help.

   RTFF (Read The F-word FAQ)

Not a nice way to react.  The original questioner is a little 
clueless.  So what.  Where you brought into this world knowing
everything?

   As Motif 1.1 has it's own Xt library it is not "compatible  
   programming-wise", as you must use it's Xt functions. However,
   I use X11R5 other libraries with it and it compiles fine.
   (I sometimes need the X11 R4 library too, but only on the DECs 
   where my Xm library is built that way.)

Wrongo.  You don't win the prize.  Motif 1.0 had it's own version
of the toolkit.  This was merged into X11r4 and Motif 1.1 and 1.2
use the r4 toolkit.  

   However, as my vague memory tells me, there is a Motif version
   that supports X11R5. Just read the FAQ.

Motif 1.2 is based on r5.

   About the second question , I don't see why not. The window manager
   does'nt know how the program was built.....

Probably OK.  No guarantees from me. 

Lighten up.  You can always ignore the questions.

--
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
Newsgroups: comp.windows.x
From: fmrco!msommer@uunet.uu.net (Mark Sommer)
Subject: Changing keymappings on a per-application basis
Organization: Fidelity Management & Research Co.
Distribution: usa
Date: Tue, 21 Jul 1992 15:14:41 GMT

I would like to run a terminal-based application, requiring special
keyboard keypad mappings, inside an xterm. (The application is
actually running on a VMS Vax, talking to my Sun workstation via Kermit.
My workstation is running mwm.)

Is there a way to change the keyboard mappings -- and later restore
them -- for a single xterm? I would like to be able to do this from a
script, but would settle for doing it from a program. It would also be
reasonable to dedicate a particular xterm to running this application
-- as opposed to an arbitrary xterm -- if that makes the problem
tractable. If I can't do this, can I change/restore the mappings for all
xterms? 

If none of these are options, does anyone have a script
that will turn the output of xmodmap (using one of the -px switches)
into a form xmodmap understands, so I can use the output to restore
the old mappings later? I realize this is a bad idea, but it might be
the only solution, and one our users might tolerate.

Thanks for any insights.

mark

--
fmrco!msommer@uunet.uu.net 
From: hares@hpcc01.corp.hp.com (Steve Hares)
Date: Fri, 24 Jul 1992 21:08:10 GMT
Subject: How do I get an XWD into a label ?
Organization: the HP Corporate notes server
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: synchem@sbcs.sunysb.edu (Synchem proj acct)
Newsgroups: comp.windows.x
Subject: problem installing X on a SUN
Date: 28 Jul 92 01:11:01 GMT
Organization: State University of New York at Stony Brook


Hello, all,

I'm installing X11R5p13 on a SUN 4/75 running SunOS 4.1.1 in Taiwan,
but run into a problem that's probably more related to the configuration 
of my machine. When compiling various files, I got the message:
============================================================
s4-75g.2 cd clients/xterm
s4-75g.3 make
rm -f charproc.o
cc -c -O -pipe   -I../../.       charproc.c

/: write failed, file system is full
compiler(iropt) error:	write_irfile: No space left on device
 
*** Error code 1
make: Fatal error: Command failed for target `charproc.o'
============================================================

Note that the file system containing the X11R5 is not really full.  As
a matter of fact, it has around 400MByte left.  But it says the root
file system is full.  This makes me wonder if it's some /temp area
that is filled up.  Anyboby who can help?

These are the only files that are causing the problem:

    xterm - charproc.c
    extensions/server/PEX/dipex/swap - convReq.c
    server/ddx/mi - miarc.c mibstore.c
    server/dix - window.c events.c dispatch.c
    extensions/lib/PEX/c_binding - cb_inp.c cb_ws.c cb_wst.c
    lib/Xaw - Text.c
    lib/Xau - Xrm.c

-Synchem
 synchem@cs.sunysb.edu
------------------------------------------------
Newsgroups: comp.windows.x
From: jncoco@jumbo.read.tasc.COM (Joe Coco)
Subject: Re:  Double Click in a window (Motif Drawing Area)
Organization: The Internet
Date: Mon, 20 Jul 1992 21:11:24 GMT

> Is there a way to detect a double click mouse event in a window (I need it 
> inside a Motif Drawing Area, but it shouldn't make a difference).  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).  There's gotta be an easier way !
> 
> --Panos Nikoulis
>   Project Pilgrim
>   UMass, Amherst

Sure is, use the Xt Translation mechanism and Action procedures.  This
works in Widgets, not Windows, but it seems like it is what you want 
to do.  The translation you will probably want to use is <Btn?Up>(2+), 
where "?" is 1, 2, 3, etc.  Refer to the O'Reilly Xt Programming Manual,
Volume 4.

Joseph Coco
TASC
Newsgroups: comp.windows.x
From: ware@cis.ohio-state.EDU (Peter Ware)
Subject: X11R5 public fix #14 now available
Organization: The Internet
Date: Mon, 27 Jul 1992 22:42:26 GMT

Sorry for being nosy, but could you explain a little more  what the 
	Xt: geometry requests with SetValues 
patch to SetValues.c(XtSetValues) changes/fixes?  I'm always nervous
about how my geometry managers work.

Is the
	    if (geoReq.request_mode !=
		(CWX | CWY | CWWidth | CWHeight | CWBorderWidth)) {

just an optimization incase all the flags are set?

Thanks,
--pete
From: bordin@itsictp.bitnet (Bordin Marcos)
Newsgroups: comp.windows.x
Subject: no subject (file transmission)
Date: 24 Jul 92 15:10:50 GMT
X-Unparsable-Date: Fri, 24 Jul 92 17:09:11 MET DST

Newsgroups: comp.windows.x
From: bordin@ictpsp2.NoSubdomain.NoDomain (Bordin Marcos)
Distribution: world
Followup-To: 
Organization: 
Subject: I can not start X11R5 on my DECstation using xinit (HELP!)
Keywords: xinit 


Hello,


I have just built the X11R5 for our DECstations. I plan to start X11 or
DECwindows depending on users preference, so I am trying to contruct
.logins/.cshrc that can start one or another...

I succeed in running "xdm", but I cannot start X using xinit. This is
what I got:


  No screens...

  cannot open display...


Does someone has ideas about what is going on.

Many thanks in advance,


  Marcos F. Bordin

  IAEA/ICTP ( bordin@ictp.trieste.it )
Newsgroups: comp.windows.x,comp.sys.sun.admin
From: darby@andersen.co.uk (Dave Darby)
Newsgroups: comp.windows.x
Subject: X11r3 clients with X11r4 server.
Summary: Can I run X11r3 clients with X11r4 servers?
Date: 29 Jul 92 07:55:43 GMT
Organization: Andersen Consulting (UK Practice)

I need to run an X11 release 3 client with an X11r4 server and
wonder if anyone knows of any potential problems that this may
cause ?

The client was compiled under AIX 3.1 with motif 1.0 and X11r3, the 
X11, Xt and Xm libraries were statically linked.

The client will run under AIX 3.2 with motif 1.1 and X11r4 although these
versions will not be picked up by the client as the X libraries were 
bound statically.  The server will however be X11r4.

Thanks in advance for any help or advice.

Dave Darby.
.
:
Xref: sparky comp.windows.x:14567 comp.windows.x.motif:5296
From: pwickman@cerebus.cc.edu (Paul J. Wickman)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Keymap Translations on Motif-RS/6000
Date: 29 Jul 92 16:52:42 GMT
Article-I.D.: carroll1.3257
Reply-To: pwickman@cerebus.cc.edu (Paul J. Wickman)
Followup-To: comp.windows.x
Organization: Carroll College-Waukesha, WI


	I'm trying to remap the function keys on my RS/6000 running Motif.
I'm trying to redefine them in the .Xdefaults file like so:

-----  .Xdefaults file -----
*aixterm.Translations: <Key>F1: string(0x1b) string(0x4f) string(0x50) \n\
        <Key>F2: string(0x1b) string(0x4f) string(0x51) \n\
        <Key>F3: string(0x1b) string(0x4f) string(0x52) \n\
        <Key>F4: string(0x1b) string(0x4f) string(0x53) \n\
        <Key>F5: string(0x1b) string(0x5b) string(0x33) string(0x31) string(0x7e
) \n\
	Shift<Key>F1: string(0x1b) string(0x5b) string(0x32) string(0x34) string
(0x7e)
---------------------------

This almost works, except the Shifted keys never get remapped.  A Shifted F1 
in this case will generate the same code as the new F1.

What am I doing wrong?


This 
--
Paul J. Wickman - Analyst/Programmer
Harnischfeger Corporation
Internet: pwickman@carroll1.cc.edu	Phone: 414-671-7778
From: weingart@inf.ethz.ch (Tobias Weingartner)
Newsgroups: comp.windows.x
Subject: Xterm and string()...
Keywords: xterm, string()
Date: 31 Jul 92 14:27:55 GMT
Reply-To: weingart@inf.ethz.ch
Followup-To: weingart@inf.ethz.ch
Organization: ETH - Switzerland

Can some X hacker (well, X resource hacker) help me with this
one.

I need to insert some control, and 8-bit chars into an xterm.
I have added an translation to the following effect.

XTerm*VT100.translations:	#override \n\
	Meta<Key>a: string(0xe4)

Which should give me an umlaut-a when I press <Meta>-a.  However,
the 8-bit seems to get stripped, and all I get is a 'd' ;-(.

Does anyone have a solution to this, short of redefining the whole
keymap?

--Toby.
Newsgroups: comp.windows.x