HDTenEightyP/NetNews huggingface dataset:
From: Peter_Imants_Buttuls@mts.ucs.ualberta.ca
Subject: Problem with Xlib
Organization: The Internet
Date: Tue, 15 Sep 1992 15:43:52 GMT

I'm suddenly into XLIB programming. I'm getting a simple 
graph out, but I would like to control the size of the window
by a statement like *Xlib*Geometry: 300x300+0+0 in my
.Xdefaults file . I would like this to override the WIDTH and
HEIGHT values I supply in the XCreateSimpleWindow call, but this
is not happening when I print out the values of width, height
returned by XGetGeometry. Instead the values returned are what
I specify in my XCreateSimpleWindow call. What do I need to do
to have the window size specified in the .Xdefaults file
override that in the program.  I don't think there is a
mistake in my .Xdefaults file, the name of the application is
Xlib as specified in a call to XSetStandardProperties. I'm 
using Openwindows 3. THANKS.
 
Peter Buttuls, University of Alberta, Edmonton, Canada 
e-mail:(userpib@mts.ucs.ualberta.ca) 
Newsgroups: comp.windows.x,comp.human-factors,alt.religion.computers,comp.editors
From: peter@ferranti.com (peter da silva)
Subject: Re: GUIs Considered Harmful
Organization: Xenix Support, FICC
Distribution: usa
Date: Mon, 14 Sep 1992 16:31:57 GMT

In article <YANDROS.92Sep13021857@hodge.MIT.EDU> yandros@Athena.MIT.EDU (Chad Phillip Brown) writes:
> These both seem like things that could have been added to the base of
> the OS, but weren't for reasons that are entirely unclear to me.  Can
> someone help me with this?

64K of ROM and 128K of RAM.

I've *got* a thin Mac. It's amazing what it can do with nothing. Bit of a
dancing bear (my son uses it to play with MacPaint), but it *does* work.
-- 
Peter da Silva                                               `-_-'
Ferranti Intl. Ctls. Corp.                                    'U` 
Sugar Land, TX  77487-5012
+1 713 274 5180                                   Har du kramat din varg idag?
From: Timo.Vendelin@vtt.fi (Timo Vendelin)
Newsgroups: comp.windows.x
Subject: OpenWindow and PostScript file ?
Date: 15 Sep 1992 12:54:37 GMT
Organization: Technical Research Centre of Finland
Distribution: world
Reply-To: Timo.Vendelin@vtt.fi (Timo Vendelin)
NNTP-Posting-Host: bluecube.gra.vtt.fi
Keywords: openwindow, postscript, sun

Hello,

I looked FAQ. No hints.

QUESTION:
	
	How can I display in OpenWindow (Sun) 
	a PostScript file in my OWN window ?

I can display PostScript file in "root" window, but that is not what I  
want. 

Could you email me and I will summarize them.
I think this could be also in FAQ list ?

Thank you in advance,

	Timo Vendelin

--

            name: 	Timo Vendelin
			Research Scientist
      UNIX-email: 	Timo.Vendelin@vtt.fi 
			(Email can have NeXT attachments.)
     X.400-email: 	C=FI,ADMD=MAILNET,PRMD=VTT,PN=Timo Vendelin
  office_address: 	VTT, Technical Research Centre of Finland, 
			Graphic Arts Laboratory
			It{tuulentie 2 B, PL 160, 
			SF-02101 ESPOO, FINLAND
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: Questions regarding TVTWM
Date: 11 Sep 92 02:03:03 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <RJC.92Sep8193624@daiches.cogsci.ed.ac.uk>, rjc@cogsci.ed.ac.uk (Richard Caley) writes:
> In article <amoss.715949819@falafel>, Amos Shapira (as) writes:

>> What I would really like to have in tvtwm is that it wouldn't
>> obscure the real root [...]
> If the virtual root was created with the relevant backing pixmap
> setting (ParentRelative?) this will happen I think.

Unfortunately not.  This will work fine as far as updating the
background when doing something like moving a window goes, but if you
run a root-window-changer, it will set the root's background and then
clear the *real* root, not the pseudo-root.  Since the real root is not
visible, nothing will happen.  (If somehow the pseudo-root gets
cleared, it will then redraw correctly....)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Xref: sparky comp.windows.x:16692 comp.windows.x.motif:6209
From: buzz@toxicavenger.bear.com (Buzz Moschetti)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Re: Unable to get double Click Events
Date: 15 Sep 92 18:02:25 GMT
Reply-To: buzz@fsrg.bear.com (Buzz Moschetti)
Organization: Bear, Stearns & Co. Inc.
In-reply-to: mohit@bristol.com's message of 14 Sep 92 23:02:09 GMT

In article <1992Sep14.230209.8752@bristol.com> mohit@bristol.com (Mohit Sharma) writes:

	[...deleted...]
   fine with me. The problem I have is that at a single click I want to 
   Popup a menu but at the double click want to perform some other 
   functions.

Use different buttons.  I suggest the OpenWin convention of:
Left button - SELECT
Middle button - ADJUST
Right button - MENU

Don't try to overload too much functionality on a single button.
Newsgroups: comp.windows.x
From: aardvark@nt1l.krl.com (Donald Koch)
Subject: Re: strange ordering of fonts in the R5 font server...
Keywords: font server
Organization: Koch Research Labs
Date: Thu, 10 Sep 1992 17:07:45 GMT

In article <1992Sep9.071607.3471@cs.ucla.edu>, william@lanai.cs.ucla.edu (William Cheng) writes:
[...reported font ordering problem...]
> I tried the -u option, and got the following result:
> 
> -bitstream-courier-medium-r-normal--18-0-0-0-m-0-iso8859-1
> -adobe-courier-medium-r-normal--18-0-75-75-m-0-iso8859-1
> -adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1
> -adobe-courier-medium-r-normal--18-0-100-100-m-0-iso8859-1
> 
> The 75dpi (good) fonts still appear in the middle!  Any clues?

This is probably because you have Speedo in front of 75dpi in your font
path, which is where the bitstream-courier fonts are.  See what xset -q reports.
You can always force the "good" fonts to be chosen by stuffing adobe in the
second field.

-- 
Don Koch
aardvark@nt1l.krl.com
From: ndd@bal1 (Ned Danieley)
Newsgroups: comp.windows.x
Subject: Re: colormap problems on Sun 4/280? (X11R5, gcc 2.1)
Date: 11 Sep 92 15:22:46 GMT
X-Newsreader: Tin 1.1 PL5

Ned Danieley (ndd@sunbar.mc.duke.edu) wrote:
: I finally got around to updating R5 with the current fixes and
: compiling with gcc 2.1; it works fine on my color SS1s and IPCs,
: but not on my 4/280. bringing up xcolors shows that almost no
: color names match the displayed colors. all the sun4s are using
: the same binaries and libraries; the only difference that I can
: think of is that the 4/280 is a cgtwo, and the others are cgthrees.
: any suggestions?



the only response that I got was to try recompiling sunCG2C.c
without optimization. that didn't help, but recompiling it with
cc instead of gcc did.


--
Ned Danieley (ndd@sunbar.mc.duke.edu)
Basic Arrhythmia Laboratory
Box 3140, Duke University Medical Center
Durham, NC  27710   (919) 660-5111 or 660-5100
From: heiko@uwesa.hanse.de (Heiko Weber)
Newsgroups: comp.windows.x
Subject: Searching for a Greek X11R4 (or 5) font
Date: 11 Sep 92 16:06:16 GMT

Hello !

With the normal X distribution only comes grk-s25 and grk-s30, does
someone have a smaller one ? 

PLEASE respond by EMail, because I don't get this group on my system !

Heiko
-- 
| Heiko Weber jun. | heiko@uwesa.hanse.de | carrier: 049-4169-448 |
| D-2151 Sauensiek | Loehe 5 |  Germany   | voice:  049-4169-1366 | 
+------------------+----------------------+-----------------------+
Newsgroups: comp.windows.x,comp.windows.x.motif
From: usenet@inesc.pt (USENET News System)
Subject: Scrolling in a list using buttons !HELP!
Organization: INESC - Inst. Eng. Sistemas e Computadores, LISBOA, PORTUGAL
Date: Tue, 15 Sep 1992 15:28:14 GMT

	Hi... This is my 2nd posting about this,and I would appreciate 
any help.

	I have a form widget with 3 children, a scrolled-list and 2 buttons, 
and I want to have the same funcionality in the buttons that I have
with the vertical scroll bar. I have/am trying action procedures (ListPrevItem,
ListNextItem), but it's nor working. 
	The program now runs without run-time warnings, but I can click them 
as much as I want, and nothing happens...

	I would really appreciate any help, 'cause this is already bothering
me 4 some time.

----
 joao Pedro Martins, Lisboa, Portugal - jota@tutor.inesc.pt
 
 "Carpe Diem, she muttered, and laughed. We seize the day.	
  Well, sometimes, the day seizes back !" (Psychodrome) 
Newsgroups: comp.windows.x,comp.windows.misc,comp.human-factors
From: qpliu@ernie.princeton.edu (q.p.liu)
Subject: Re: GUIs Considered Harmful
Originator: qpliu@ernie.Princeton.EDU
Keywords: n
Reply-To: qpliu@princeton.edu
Organization: Princeton University
Date: Tue, 8 Sep 1992 07:14:19 GMT

In article <1992Sep7.143449.27785@jarvis.csri.toronto.edu> ematias@dgp.toronto.edu (Edgar Matias) writes:
>In article <1992Sep3.204645.25303@jarvis.csri.toronto.edu>, ematias@dgp.toronto.edu (Edg
>ar Matias) writes:
>> In article <1992Sep3.224317.8523@Princeton.EDU>
>> qpliu@ernie.princeton.edu (q.p.liu) writes:

>>> The problem with the mouse is that it disrupts the use of the
>>> keyboard.
>> This is a very keyboard-centric view of things.  You could very
>> easily say that "the problem with the keyboard is that it disrupts
>> the use of the mouse".

Actually, I was trying to say that in situations where a pointer device
is more appropriate than a keyboard, something that doesn't disrupt the
use of the keyboard would be better than a mouse.

In situations where a keyboard is very rarely used, a mouse would be
fine.  However:
>In article <1992Sep6.075748.17935@thunder.mcrcim.mcgill.edu>,
>mouse@thunder.mcrcim.mcgill.edu (der Mouse) replies:
>]Yes - except that there are very few applications that could be
>]implemented to never use the keyboard.

....

[wrt the one-handed keyboard]
>]What about people like me, that don't use the strict "proper" fingers?
>](My index and middle fingers tend to crowd out the rest of my hands.)

>We modify the layout to get as close to the way you type as possible.
>I did this recently for a customer who had a nonstandard typing technique.

What about heavy emacs/readline control/meta users like me?

I would like to see a left-handers version, though, so that making light
use of the keyboard won't disrupt writing things down.
That is one advantage when using a mouse---the left hand is free to do
other things.

>This point is that
>you no longer have to move one hand between typing and scrolling (be it
>a mouse or cursor keys).

I don't use arrow keys or function keys or those other auxiliary keys
for that reason.  They are almost as disruptive to using the main keyboard
as using a mouse.
-- 
qpliu@princeton.edu           Standard opinion: Opinions are delta-correlated.
From: geremia@legolas (Peter P. Geremia)
Newsgroups: comp.windows.x
Subject: TVTWM
Date: 15 Sep 92 13:31:51 GMT
Reply-To: geremia@ctron.com
Organization: None whatsoever


Hello,

	Could someone please direct me to the FTP site where
TVTWM can be located.  

				Thanks....

				Peter Geremia

***************************************************************************
Peter P. Geremia		            Email: geremia@ctron.com
Cabletron Systems, Inc.			    (603) 332-9400 Extension: X1728 
Spectrum Developers Toolkit Testing

Office: Building 36, cube near the right most door to the QA lab. 
***************************************************************************
From: nilesh@wupost.wustl.edu (Nilesh L. Jain)
Newsgroups: comp.windows.x
Subject: Drag-drop in Viewport widget
Date: 14 Sep 1992 15:21:52 -0500
Organization: Washington University in Saint Louis, MO USA
Distribution: world
NNTP-Posting-Host: informatics.wustl.edu
Summary: Drag and drop inside Athena's Viewport Widget
Keywords: Drag-drop, Viewport, Athena

I am developing an application for use by radiation oncologists using the
Athena widget set.  In the top right hand corner of the display, I have to
present about 10-15 columns of data, each column consisting of 5 command
widgets.  Since it is physically impossible to fit all the data into the
available space, I am using the Viewport widget.  It allows me to see about
4 columns at a time, and I can use the horizontal scrollbar to see the rest.

The physicians using the system want the ability to move a column of data in
order to rearrange the column order.  They want to be able to click on a
column, drag it over to the column they want it to occupy, and drop it there
shifting the intervening columns.  I was planning on using the middle mouse
button for this purpose -  BtnDn to select the column, BtnMotion for the
drag and BtnUp for the drop.  However, when the destination column is not
visible, I need to scroll the data.  But I have not been able to do this as
the Viewport widget controls the scrolling of the data directly.

Has anyone else experienced this? If so, how have you gotten around it?  I
would appreciate pointers from people who have implemented such a feature in
their application.  Please e-mail.  I will summarize the response.  Thanks.


Nilesh L Jain                                Division of Medical Informatics
nilesh@informatics.wustl.edu        Washington University School of Medicine
                                                         St Louis  MO  63110
Newsgroups: comp.windows.x
From: vernon@zycad.com (Vernon Lee - MP)
Subject: IPX refresh problem: solution
Organization: Zycad Corporation,  Menlo Park, CA
Distribution: na
Date: Tue, 8 Sep 1992 23:52:43 GMT

A while back I posted a question about a problem I was having with
my new IPX in X.  The problem was that when I moved windows around
under X with twm or mwm, their contents were not getting redrawn,
both in opaque and transparent move.

I got two replies.  The first suggested there was an X patch that
I needed for the IPX display to work.  We got all the patches for
X11R5 and recompiled (using gcc) and still had the problem.

The other reply I received said he had experienced the same problem
and recompiling with a higher revision of gcc solved the problem.
(we were using gcc 1.4).  After recompiling with the Sun cc, the
problem went away!  Things work fine now (so far :-)  We are going
to try gcc 2.1 eventually.

Thanks for all the replies I got.  Maybe this should be put in the
FAQ.


-- 
---
Vernon Lee
Internet: vernon@zycad.com		Uucp: ...!sun!zycad!vernon
Newsgroups: comp.windows.x
From: mark@flood.com (Mark Karmelich)
Subject: Fonts in Mandarin
Organization: The Flood Group, Inc.  Torrance, Ca.
Date: Fri, 11 Sep 92 22:57:52 GMT

Hi!  I'm looking for Mandarin Chinise fonts for X-windows.
(I have some Taiwanese clients that I need to impress.)

Does anyone know where these fonts are available?

Thanks in advance.

Mark
-- 
Mark F. Karmelich                *****
Internet: mark@flood.com         *****      grep $WIT /etc/quotes
UUCP: ...!uunet!flood!mark       *****
Newsgroups: comp.windows.x,comp.windows.x.apps
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: Attention Earthlings -- Cross-Vendor X11 Server Mess!
Organization: McGill Research Centre for Intelligent Machines
Date: Tue, 8 Sep 92 22:02:44 GMT

In article <BZS.92Sep7182835@ussr.std.com>, bzs@ussr.std.com (Barry Shein) writes:
> From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
>> The keyboard doesn't generate both a and A.  It generates events for
>> the shift key and events for the A key.  It is the client's job,
>> typically via XLookupString, to convert A-key-with-shift-down into
>> an "A" character and A-key-with-shift-up into an "a" character.

> From xev tracing (RS6000):

> KeyRelease event, serial 15, synthetic NO, window 0x1000001,
>     root 0x8006b, subw 0x0, time 2939252975, (7,71), root:(18,105),
>     state 0x0, keycode 39 (keysym 0x61, a), same_screen YES,
>     XLookupString gives 1 characters:  "a"

> KeyPress event, serial 15, synthetic NO, window 0x1000001,
>     root 0x8006b, subw 0x0, time 2939255405, (7,71), root:(18,105),
>     state 0x1, keycode 39 (keysym 0x41, A), same_screen YES,
>     XLookupString gives 1 characters:  "A"

> Notice that although LookupString() returns "a" and "A" respectively,
> as you predicted, and the shift key is noted (state 0x0 vs 0x1) it
> still thought that the KeySym needed to be changed for each event for
> the same keycode (0x61 vs 0x41.)

The KeySym is not carried in the event.  It is returned by
XLookupString, and xev is printing it in a somewhat confusing place, as
if it were part of the event.  The Xlib definition of a KeyPress or
KeyRelease event contains (besides boilerplate members that all events
contain):

- The root window of the screen
- The child of the event window that contains the source window, if any
- The pointer position relative to the event window
- The pointer position relative to the root
- The modifier state
- The keycode
- A flag indicating whether two of the windows are on the same screen

Notice that there are no KeySyms.  The KeySym is one of the things
returned by XLookupString.  (Check out the protocol document's
definition of the event, too, and you'll see that there really aren't
any KeySyms around.)

> It's not "do I get a reasonable response when I push this key", it's
> "can I anticipate what I will get when keys are pressed".

Unless the "I" is different, I don't see much difference.

> If you're still having trouble with the distinction, imagine that
> what your application is trying to do is set the XLookupString() for
> all the possible keysyms (e.g. change the type-in font.)

Hm?  Fonts are a display issue.  All the way from the keyboard through
the returned values from XLookupString, fonts are completely
irrelevant.  (I'm also not sure what you mean by "set the
XLookupString()", especially since "all the possible keysyms" is an
enormous number; even if you stick to the Consortium-standard ones in
keysymdef.h, it's still a very large list.)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: deveau@oceanroutes.ns.ca ("Terry J. Deveau")
Subject: Keyboard considered useful?
Organization: Oceanroutes Canada Inc.
Date: Thu, 10 Sep 1992 13:54:36 GMT

> > >> (Does anyone know why there isn't a magic key sequence to get to the
> > >> menubar, for instance?)
> 
> > "get to"?  The menubar is not a keyboard-useful device, unless you want
> > to arrow-key step through everything.
> 
> Or unless you're running Microsft Windows. In which case you can step
> through the menus selecting the underlined letters with the ALT key
> depressed. It's amazingly handy. I wonder why nobody else has picked it
> up. Does Microsoft have a patent on it or something?

Or unless you're using Motif - or has all this "GUI's considered harmfull"
banter made you forget that this thread is for X topics.  The ordinary
use of menu-bar mnemonics under Motif is: hold down the Meta key and page
through the menus by pressing the underlined letters on the menu-bar.

... Terry
From: drand@spinner.osf.org (Douglas Rand)
Newsgroups: comp.windows.x
Subject: Re: Transparent windows
Date: 9 Sep 92 23:19:43 GMT
Organization: Open Software Foundation

In article <DRAND.92Sep9105634@spinner.osf.org> drand@spinner.osf.org (Douglas Rand) writes:

   In article <9209081631.AA04622@uahcs2.cs.uah.edu> ldawes@uahcs2.cs.uah.EDU (Lisa Dawes, Computer Science Dept., Univ. of Alabama-Huntsville) writes:

      How are transparent window backgrounds created and/or implemented.
      Is there a color index for transparent colors.  Where is a good 
      source of documentation concerning this?

   There aren't any in standard X (to the best of my knowledge).  A 
   window can have CopyFromParent as background,  but that isn't 
   transparency,  and the X color model has no such notion.  Most
   display hardware doesn't either.

I should point out that I'm responding to his presumed intend of
overlaying "transparent" graphics.  If you just want a fully
transparent window that can not be drawn into,  an Input only window
is dandy.
--
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
From: jonallen@acsu.buffalo.edu (Jon J. Allen)
Newsgroups: comp.windows.x
Subject: X Sources FTP. Where?
Date: 14 Sep 92 09:37:55 GMT
Organization: SUNY AT BUFFALO Computer Science

I just got DESQview/X and will be ordering the developers kit real soon.

It does not come with all kinds of fancy programs like ppm and ppmtops,
ppmtoascii, giftoppm, ppmtogif, ppmtog3fax, g3faxtoppm....ETC.

One of my first tasks is to set up a network FAX server, and I like
X much better than MS WINDOWS. (So the ppmtog3fax and g3faxtoppm would be
a real nice extra.)

Anyway, where is a good FTP address where I can find many standard
X sources.


-- 
--Jon-J-Allen--jonallen@acsu.buffalo.edu--Computer-Science--SUNY-@-Buffalo-NY--
"I'm the school bully!   The classroom cheat.
    The nastiest playfriend, You ever could meet. " - the Who
Newsgroups: comp.windows.x
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: spying on xrdb [followup, with a Subject:]
Organization: McGill Research Centre for Intelligent Machines
Date: Fri, 11 Sep 92 00:31:17 GMT

In article <9209081107.AA11744@vingmed.no>, oaf@vingmed.no (Ole Asbjorn Fadum) writes:

> Is it possible to listen to the information excanged between xrdb and
> an application?

Yes and no.  xrdb does not communicate directly with applications;
instead, both xrdb and the applications communicate with the X server.
It is possible to spy on this exchange (xscope or xmon or similar), but
given what you say I don't think it's what you want to do.

> My problem is that I want to customize a popup window in a given
> application but I don't know what the name is.

> My thought was that if you could see what resources the application
> requests it's easier (not easy) to find the resource responsible for
> the wanted popup.

Yes...except that spying on communication won't tell you that.  The way
this works is that the application queries the appropriate property
(properties, in some cases).  The server sends the property value,
which is the whole resource database.  The application then picks what
it wants out of this and ignores the rest.  So spying on the protocol
will tell you only what you can already find out with xrdb -query; it
won't tell you which parts of that any particular application is
interested in.  There is no good way to find out what you're after.  If
your application is dynamically linked, or you can relink it, you might
be able to do something useful by adding wrappers around the Xrm
routines, but that would be a bit of a mess...

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x
From: kbornhor@ovid.helios.nd.edu (keith bornhorst)
Subject: password in Xnlock-3 ??!!??
Reply-To: kbornhor@ovid.helios.nd.edu (keith bornhorst)
Organization: University of Notre Dame, Notre Dame
Date: Tue, 8 Sep 1992 20:52:59 GMT

I need to get Xnlock running for a bunch of computer consultants but I cannot find where to insert the password into the source code...

Can anyone help me?

- Keith

Newsgroups: comp.windows.x,comp.lang.postscript
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Subject: Re: GUIs Considered Harmful
Followup-To: comp.lang.postscript
Organization: McGill Research Centre for Intelligent Machines
Date: Sun, 6 Sep 92 06:33:53 GMT

In article <9209011422.AA16740@tmpcu.mdc.com>, curts@tmpcu.mdc.COM (Curt Schroeder) writes:

[...NeWS...]
> However, since it used an extension of Postscript (which is an
> extension of Forth),

PostScript is an extension of FORTH in about the sense in which C or
Pascal is an extension of ALGOL.  They are philosophically related, and
may trace some ancestry, but they're not really "extensions".  In
particular, PostScript does not contain FORTH as a subset, any more
than C contains ALGOL as a subset.  PostScript and FORTH are both
stack-based postfix languages, which is rare enough that that alone is
perhaps enough to give the impression you indicate, but beyond that
they don't have all that much in common.

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
Newsgroups: comp.windows.x