HDTenEightyP/NetNews huggingface dataset:
From: mla@enea.se (Mats L|fstr|m)
Newsgroups: comp.windows.x
Subject: Getting foreground/background colors of a window.
Date: 2 Sep 92 13:27:46 GMT
Reply-To: mla@enea.se (Mats L|fstr|m)
Organization: Enea Data AB, Sweden
Uucp-Path: mcvax!kth!sunic!enea.se!mla


This must be an RTFM, but I can't find the answer anywhere, so here
goes:

For reasons of my own, I want to know the foreground and background
colors used in a window. But the window isn't created by my
application, but rather by any other application. Is there any way of
getting this information?

	mla
Newsgroups: comp.windows.x
From: schwartz@latour.cs.colorado.edu (Michael Schwartz)
Subject: binding keys to character strings
Originator: schwartz@latour.cs.colorado.edu
Reply-To: schwartz@latour.cs.colorado.edu (Michael Schwartz)
Organization: University of Colorado, Boulder
Distribution: cu
Date: Mon, 31 Aug 1992 21:08:21 GMT

Can someone tell me how to bind a key to a character string - e.g., so
when I press "R11" it outputs "ls -lR", independent of which X client is
running?  Seems like an obvious thing to want to do, but I can't find it
anywhere in the manpages.  Please send your response via email to me, rather
than posting a followup.  Thanks
 - Mike Schwartz
   Dept. of Computer Science
   Univ. of Colorado - Boulder
   schwartz@cs.colorado.edu
Newsgroups: comp.windows.x
From: wijkstra@fwi.uva.nl (Marcel Wijkstra (AIO))
Subject: MPEG player wanted
Organization: FWI, University of Amsterdam
Date: Tue, 1 Sep 1992 10:51:11 GMT

The subject says is all:
Is there an X MPEG player? I know it's there for MS-DOS (both with and
without windows).
BTW. I'm running X11R5 on a Sun4 or SPARC (SunOS 4.1.1), and
X11R3 on an RS/6000 (AIX 3.1.5).

Thanks for reading,
Marcel.
-- 
 X	   Marcel Wijkstra   AIO   (wijkstra@fwi.uva.nl)
|X|	     Faculty of Mathematics and Computer Science	
 X	       University of Amsterdam   The Netherlands
======Life stinks. Fortunately, I've got a cold.========
From: mbo@dde.dk (Morten Bonde)
Newsgroups: comp.windows.x
Subject: Re: mwm man pages
Date: 27 Aug 92 11:01:16 GMT
Organization: Dansk Data Elektronik A/S

oliva@julian.uwo.ca (Chris Oliva) writes:


>  Can someone out there send me or tell me where to get the
>  postscript or nroff version of the mwm man pages.
>  
>Thanx, Chris.

Please tell me too..

-- 
Morten Bonde                 Voice:  Int. +45 42 84 50 11
Dansk Data Elektronik A/S    Fax:    Int. +45 42 84 52 20
Central Government           Email:  mbo@dde.dk
DK-2730 Herlev, Denmark      uucp:   ...!uunet!mcsun!sunic!dkuug!dde!mbo
Newsgroups: comp.windows.x
From: dfl@virgo.math.tau.ac.il (David Frenkiel)
Subject: x fonts->postscript
Organization: School of Math & CS - Tel Aviv University , Tel Aviv , ISRAEL.
Date: Tue, 1 Sep 1992 08:26:02 GMT

Hi

I have a program which displays text in various fonts.  The next
development step is to add printing capability.  I would appreciate
pointers to source code which produces postscript files from data
which includes x font descriptions and text.

		thanx

			dfl
--
+-------------------------------------------------------+
|   The white zone is 4 loading and unloading only.     |
| If you want to load or unload, go to the white zone.  |
+-------------------------------------------------------+
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: c i t lo i
Date: 4 Sep 92 09:27:16 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <9208311955.AA15417@cgise>, espiritu@cgi.com (Rex Espiritu) writes:

> The following message appears while in an xterm process: 'c i t lo i:'.

This looks very suspiciously like a parity problem: "c?i?t lo?i?:",
where the ? marks are characters of odd parity (all of c,i,t,l,o,: are
even parity).  I would guess that the machine's hostname matches c?i?t,
where the ? marks are drawn from the odd parity characters

	 #%&)*,/12478;=>@CEFIJLOQRTWX[]^abdghkmnpsuvyz|

and that the "lo?i?:" part is "login:".

> Anything typed after receiving this message exits the process.

This is hardly surprising.  login or getty or whoever's printing the
login: message has undoubtedly done something to the stty settings that
whatever's running in the window doesn't like....

Of course, this ignores the *real* question: why is it happening?  I
have no easy answers to this.  It looks to me as though login/getty and
xterm disagree over ownership of the pseudo-tty.  Check with ps when
this happens and see if maybe you can see some clues....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: Jamie Zawinski <jwz@lucid.com>
Subject: Re: Attention Earthlings -- Cross-Vendor X11 Server Mess!
Organization: Lucid, Inc., Menlo Park, CA
	<BZS.92Sep1230158@ussr.std.com>
Date: Wed, 2 Sep 92 19:18:40 GMT

In article <BZS.92Sep1230158@ussr.std.com> bzs@ussr.std.com (Barry Shein) wrote:
> 
>> if one keyboard calls it "Enter" and another calls it "Return", then this
>> should be transparent to the application.
> 
> Oh, I don't know, the application might choose to call them the same
> thing, but as we reach for a lower and lower level of user it might be
> useful to be able to prompt with exactly what is on the key we want
> ("Type ENTER to continue" vs "Type RETURN to continue".)

Good point!  But one might look at this as a case where what you want to
print at the user is the keyCAP, regardless of what the keySYM is.  I see
keySYMs as a way for the user to say things like "I want all applications
to transpose the behavior of backspace and delete."  Of course, users
aren't actually going to transpose the physical switch covers, but it
seems to be the Party Line that they should (see ICCCM section 6.5).

> What are your thoughts on the possibility of writing a program which
> can be run at X server startup which maps all the keys to a standard
> (i.e. a description file is supplied for each keyboard, analogous to
> what you've done in xkeycaps), and I suppose a standard resource or
> Atom can be provided which identifies the keyboard as a string?

I think there's a real need for such a thing, especially a way to find out
the type of the keyboard in use, but I don't think it would be very useful
unless *everyone* did it (that is, it was a part of the standard.)  When
you need it, you need it, and unless you can depend on it being there, you
aren't winning anything over the current system.

	-- Jamie
Newsgroups: comp.windows.x
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: want generic resource to override specific application resource
Organization: The Internet
Date: Tue, 1 Sep 1992 16:09:45 GMT

#
#  i have the following in my .Xresource (that i load with xrdb):
#
#	*vt100.translations:#override Meta<KeyPress>: string(0x1b) insert()
#
#  however, while this works on the dec, it doesn't work on the hp
#  unless i place a leading "xterm" on the line.  on the hp,
#  /usr/lib/X11/app-defaults/XTerm has:
#
#	XTerm*VT100.Translations:#override Meta<KeyPress>: insert-seven-bit()
#
#  what do i need to do to get the translations listed initially to work on
#  the hp?  i appreciate your taking a moment to answer.
#

report the bug to hp.  Their Xrm routines are broken.  There is basically
no difference between the two resource lines except that the latter refers
to the class resource and not the instance.  However, the top one should
work on the hp.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
Newsgroups: comp.windows.x
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: X interface to tar?
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Fri, 4 Sep 1992 07:48:46 GMT

In article <1992Sep3.224106.10842@ncmicro.lonestar.org>, ltf@ncmicro.lonestar.org (Lance Franklin) writes:
|> Has anybody seen an Xtool that frontends tar?
|> 
|> That's all....thanks.

It isn't straight X, it's xview but ftptool has this facility.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.windows.x
From: marbru@auto-trol.com (Martin Brunecky)
Subject: Re: Small program illustrating Xaw dialog problem...
Organization: Auto-trol Technology Corporation
Date: Fri, 4 Sep 1992 00:12:40 GMT

In article <9209012204.AA00508@excess.lcs.mit.edu> converse@expo.lcs.mit.EDU (Donna Converse) writes:
>
>When the widgets are realized, a geometry negotiation takes place.
>I've found that the paper "Geometry Management with Xt: Advice for Widget
>Authors" from the proceedings of Xhibition 1991, by Kee Hinkley and Andrew
>Schulert, is valuable to read.  From that paper:
>
   It is important to keep on mind that most existing widget sets
   have their Achilles Heel right where it comes to geometry
   management. Bugs, misbehavior, Xt convention/protocol vialoations,
   mostly caused by the fact the Xt rules are not clearly understood.
   Both Motif (1.1) and OLIT include numerous sinns.

   So you have to take the layout management with a grain of salt.
   It *should* behave like described in Xt spec or Ralph Swick's book,
   but do not be surprized if some less typical configuration of
   widgets MISBEHAVES - it simply has not been tested :-).
   
   Typically the phase 1 - collecting geometry preferences up to the root
   works fine. But if the top-down pass tries to impose something different,
   all those sinns come up.

>Maybe you could do without constraining the shell window to be a
>particular size?
>
   This would be also my advice: pass 2 won't really happen. But then, 
   what if the innocent user tries to resize the shell ?



-- 
=*= Opinions presented here are solely of my own, not those of my employer =*=
Martin Brunecky           marbru@auto-trol.com                  (303) 252-2499
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: raising a tty...
Date: 3 Sep 92 23:28:16 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <9208311800.AA17838@louvre.wbst147.xerox.com>, leisner@eso.mc.xerox.com (Marty Leisner 311/? x?) writes:

> This is what I want to do...

> I run w to find the tty the process I want is at...

> I want to run a hypothetical tool called "xraise tty" which raises
> this tty to the top of the screen so I can see it...

Suppose it's on another display?  Suppose it's not an X window at all?

Even aside from that, this can't really be done.  The connection goes
through too many things, most of which are too thoroughly isolated from
the putative xraise process:

- From ttyp0 (say) to ptyp0.  This connection is trivial.
- From ptyp0 to the xterm process.  Finding the appropriate process is
   difficult; it generally means groveling through /dev/kmem.
- From the xterm process to the window.  This means extracting the
   window ID somehow from the xterm process, then chasing the X network
   connection to locate the appropriate X server...or alternatively,
   following the X network connection more closely and identifying the
   appropriate client in the server internals.

This is so hard it's not even worth trying.

If you really really want this, it would be better to hack on xterm so
there's a magic escape sequence that will cause xterm to request that
its window be raised, then just echo that sequence to the tty in
question when you want.  This avoids all the ugliness above, at the
price of depending on a nonstandard terminal emulator.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: dburke@donald.WichitaKS.NCR.COM (Doug Burke)
Newsgroups: comp.windows.x
Subject: X windows reference books
Date: 28 Aug 92 12:26:40 GMT
Reply-To: dburke@donald.WichitaKS.NCR.COM (Doug Burke)
Distribution: na
Organization: NCR Corporation Wichita, KS


	I'm relatively new to X windows so I'm looking for a good reference
	book on the subject.  I'm not looking to program with X windows yet,
	I'm just looking for some help in getting my windows and X applications
	to look the way I want (through the .Xdefaults, etc. files).

	Would I need a different reference book depending on what type of
	window manager I'm running or would something general work?  We 
	have not settled on either openlook, motif, or the Solbourne window
	manager yet.

	Finally, do you know of any courses you could recommend to someone
	new to X--either on video tape or one I could attend in person?

							Thanks,
							Doug
-- 

                                                Doug Burke
                                        email:  doug.burke@WichitaKS.NCR.COM
                                        phone:  316-636-8762
Newsgroups: comp.windows.x
From: mahan@TGV.COM (Patrick L. Mahan)
Subject: RE: want generic resource to override specific application resource
Organization: The Internet
Date: Tue, 1 Sep 1992 18:42:03 GMT

#
#  i have the following in my .Xresource (that i load with xrdb):
#
#	*vt100.translations:#override Meta<KeyPress>: string(0x1b) insert()
#
#  however, while this works on the dec, it doesn't work on the hp
#  unless i place a leading "xterm" on the line.  on the hp,
#  /usr/lib/X11/app-defaults/XTerm has:
#
#	XTerm*VT100.Translations:#override Meta<KeyPress>: insert-seven-bit()
#
#  what do i need to do to get the translations listed initially to work on
#  the hp?  i appreciate your taking a moment to answer.
#

Bill, let me correct my last reply to you.  The above works correctly since
it fullfills the first matching rull on resources.  XTerm*VT100... is more
specific than *vt100.  To override it you will need to change your resource
to xterm*vt100.translations:... so that the second rule will then take effect
which means that instances overrides class resources.

This was pointed out to me by Donnna Converse.  Thanks to her for the 
correction.

Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
Newsgroups: comp.windows.x
From: xia@molbio.ethz.ch (Xia Tai-he)
Subject: How can I modify the default font in my program?
Keywords: Modify the default font!
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Fri, 28 Aug 1992 16:41:50 GMT

I have a program written with Motif. If I run the program on SGI and
on SUN, I got different fonts, therefore, the layouts on the two
computers are different. Even I start my program with option -fn
fontname, the situation didn't change, while the program simply
ignore this option! How can I modify the default font in my 
program in order to have consistent layout?

Your suggestions will be greately appreciated!

Xia

Newsgroups: comp.windows.x
From: rvloon@cv.ruu.nl (Ronald van Loon)
Subject: Re: Xnlock -- bug -- where's its author?
Originator: rvloon@triton.cv.ruu.nl
Date: Mon, 31 Aug 1992 06:48:26 GMT
Organization: University of Utrecht, 3D Computer Vision Research Group

In <21301@optima.cs.arizona.edu> azhao@cs.arizona.edu (Qiang Alex Zhao) writes:

|"> On Aug 28,  1:59pm, "Qiang Alex Zhao" wrote:
|"> |"I met some serious problem in using xnlock -- but my email to the
|"> |"author, "Dan Heller" <argv@sun.com>, bounced back.
|"
|"Whoa -- old address.. I'm at argv@z-code.com
|"
|"> XnLock is not written properly; it queues up all events (proof: start a XClock
|"> start xnlock, wait 2 mins or so, unlock, see the clock speed up) Your server
|"> crashes because it runs out of memory. Use xlock instead.
|"> -- 
|"> Ronald van Loon (rvloon@cv.ruu.nl) 3DCV Group, Utrecht, The Netherlands.
|"
|"xnlock does a server grab so that no other application can pop up a
|"window on top of it.  It just so happens that when you do a server
|"grab, events queue up on the server (not in the app).  If an X server
|"runs out of memory because it can't deliver events, who's at fault?
|"I don't see how it can be xnlock's fault.  If you want to use xnlock
|"and don't want the grabs, just comment out those two lines in the
|"source.

Hmmm - I am not blaming anyone, I am just stating that xlock works (who also
happens to grab the server) and that servers don't crash when using xlock, and
do when using xnlock for the reason stated (clients usually have more memory
then X-servers).

PS: for some reason, your article showed the name of the original author of
the article!
-- 
Ronald van Loon (rvloon@cv.ruu.nl) 3DCV Group, Utrecht, The Netherlands.

"I believe the word you are looking for is "AAAAAAAAAARRRRRRRRRRGGGGGHHHH!"
    - The Penguin (Batman ][)
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: comp.windows.x
Subject: XRN test
Date: 28 Aug 92 19:08:24 GMT
Followup-To: comp.windows.x
Organization: Computer Science Dept, Univ of Arizona, Tucson

Please ignore.

-- 
= Qiang Alex Zhao		   Computer Science Department
  azhao@cs.arizona.edu             University of Arizona
  (602) 621-1815                   Tucson, AZ 85721
Newsgroups: comp.windows.x,comp.unix.aix
From: tmcconne@sedona.intel.com (Tom McConnell)
Subject: Re: tvtwm fails with X11.5 on rs6000 (AIX 3.1.6)
Originator: tmcconne@sedona
Organization: Intel Corporation
Date: Tue, 1 Sep 1992 18:14:08 GMT


In article <1992Aug31.220433.15663@murdoch.acc.Virginia.EDU>, scl@sasha.acc.Virginia.EDU (Steve Losen) writes:
> I built X11.5 on a rs6000 running 3.1.6.  I got the latest source
> for tvtwm (patchlevel 7) and compiled it, but it doesn't work right.
> 
> I was running a MIT X11.4 server on a Sun sparc, but running tvtwm
> and all the other clients on the rs6000.
> 
> Symptom:  tvtwm decorates the windows with titlebars, but I don't
> get any menus when I click on the root window.  Nor does the panner
> appear.  I can iconify/uniconify windows, move them and resize them
> using the titlebar, so I know tvtwm is running.  I got no syntax errors
> from the .tvtwmrc file.  An older version of tvtwm (patchlevel 4)
> compiled under X11.4 runs fine on the rs6000 with this .tvtwmrc.
> I tried compiling both with and without the xpm library (which I
> have built under X11.5).  Neither version worked.
> 
> Has anyone seen this problem and/or have some idea what's wrong?
> I am trying to put together an X11.5 environment for our rs6000
> users, many of whom consider tvtwm essential.
> 
> --
> Steve Losen                     scl@virginia.edu
> 
> University of Virginia Academic Computing Center

  I run tvtwm, patch level 7, with X11R5, patch level [12-16], and it works
fine. I run on: IBM RS/6000's (AIX 3.1.6, AIX 3.2); DEC VAXstation 3100 (ultrix
3.1, ultrix 4.2); Sun SPARC (SunOS 4.1, SunOS 4.1.2); Sun 386i (SunOS 4.0.2);
NCR 3350 (SVR4). Suffice to say there does not appear to be an operating system
dependancy :)

  As of version 7, tvtwm runs the .tvtwmrc file through m4. It may be that the
.tvtwmrc file you have is not compatible with m4. Two common complaints that m4
has are:

    1. An m4 keyword appears out of (m4) context in the .tvtwmrc file. For
      instance, "include" is an m4 keyword.

    2. You use backquotes somewhere in the .tvtwmrc. One of the default "quote"
      characters for m4 is the backquote.

  You can check to see if m4 is breaking by running a little test:

    1. Start tvtwm with the "-k" option. This will generate an include file for
      m4. The file will be called /tmp/twmrc$$ ($$ is variable).

    2. Copy your .tvtwmrc file to a new file, call it fred :)

    3. Inlcude the /tmp/twmrc$$ file at the beginning of fred.

    4. Run m4 on fred, and capture the output:

        % m4 fred >& fred.out

    5. Make sure that m4 does not generate any errors.

    6. "diff" fred.out with fred and make sure the differences make sense.

  If this doesn't fix it, let me know.

    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: mlee@cs.arizona.edu (Michael (Yuk-Wo) Lee)
Newsgroups: comp.windows.x
Subject: OpenLook font problem
Date: 31 Aug 92 00:09:22 GMT
Distribution: usa
Organization: U of Arizona CS Dept, Tucson

I tried adding the openwin font directory to the font path by doing:

xset +fp /usr/openwin/lib/fonts/


The result is:

X Error of failed request:  BadValue (integer parameter out of range for operati
on)
  Major opcode of failed request:  51 (X_SetFontPath)
  Value in failed request:  0x0
  Serial number of failed request:  4
  Current serial number in output stream:  6


Is there any reason why that happened?


Michael
--
Michael Lee
Newsgroups: comp.windows.x
From: aardvark@nt1l.krl.com (Donald Koch)
Subject: Re: Sun Widget Set
Organization: Koch Research Labs
Date: Sat, 29 Aug 1992 06:59:05 GMT

In article <9208281250.AA28212@expo.lcs.mit.edu>, HART@uv2.Eglin.AF.MIL ("DENNIS L HART") writes:
[...]
> Does anyone know of a "widget set" for Sun workstations that is layered upon
> Xlib and Xt?  We are looking at developing an interactive data visualization
> tool tailored to some special-purpose analysis requirements, and a "widget set"
> would reduce development time.  

Something wrong with the Athena widget set (Xaw) that comes with X?  (Of course,
there's also Motif, Xview and countable others.)

-- 
Don Koch
aardvark@nt1l.krl.com
Xref: sparky comp.windows.x:16106 comp.windows.x.motif:5987
From: raney@teal.csn.org (Scott Raney)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: i18n standard for keyboard entry of extended characters
Summary: How do I generate accents and umlauts from US keyboards?
Date: 3 Sep 92 18:05:55 GMT
Organization: Colorado SuperNet, Inc.


  My application (MetaCard) needs to support entering extended (high
bit set) characters from US standard keyboards.  Is there a standard
for this?  Using X11R5/Motif 1.2 is not an option, but using the
standard key sequences is.  Sun's deskset uses one set of two key
sequences, Framemaker uses another, Macintosh apps use a third.
  If there is no standard, has anyone developed a system that only
requires pressing a single key (in combination with a modifier key)?
I've had requests *not* to use two key sequences for this as they are
slower and usually no more mnemonic than a single key solution would
be.
  I look forward to getting references to the solution to this problem,
     Scott

-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
From: rme@msi.com (Richard Emberson)
Subject: Widget and Gadget sizes
Keywords:  Gadget Widget size
Organization: Molecular Simulations, Inc.
Date: Thu, 27 Aug 1992 15:24:02 GMT

I do not currently have access to s Motif library.  Could someone
please email to me estimates of the size (number of bytes) of the smallest
Motif Gadget and Motif Widget. Also the sizes of a Motif Label Gadget and
a Motif Label Widget.

Thanks.

Smallest Gadget size:		bytes
Smallest Widget size:		bytes
Label Gadget size:		bytes
Label Widget size:		bytes


    Richard Emberson
    rme@msi.com
-- 
Molecular Simulations, Inc.             mail: rme@msi.com
796 N. Pastoria Avenue                  uucp: uunet!msi!rme
Sunnyvale, California 94086             phone: 408/522-9233
From: susskind@tyranosaur.cis.ohio-state.edu (sara susskind)
Newsgroups: comp.windows.x.motif
Subject: how to display selection dialog without displaying parent window?
Keywords: dialog parent display HELP
Date: 3 Sep 92 17:34:00 GMT
Article-I.D.: cis.1992Sep3.173400.9669
Organization: The Ohio State University Dept. of Computer and Info. Science

I am trying to write an application that uses several selection dialogs.
I want the dialog windows to pop up in sequence ie: after the user 
selects the first thing, the first window goes away and the next 
dialog appears.
I DON'T want a parent window at all (or if I must use one, it
shouldn't appear)..

Thanks,
Sara
Xref: sparky comp.windows.x.motif:5962 comp.windows.x:16061