HDTenEightyP/NetNews huggingface dataset:
From: oj@miki.pictel.com (Oliver Jones)
Subject: Re: Focus event weirdness
Keywords: detail
Organization: PictureTel Corporation
Date: Wed, 19 Aug 1992 21:34:35 GMT

In article <BRENNAN.92Aug18164915@yosemite.hal.com> brennan@hal.com (Dave Brennan) writes:
>Whilst writing a widget I noticed that in some cases when I move the
>pointer into my window (using a WM with focus follows pointer) some
>times I get one FocusIn event, and other times I get FocusOut events
>followed by FocusIn events (one each for the toplevel window and
>widget window).

>Can anyone tell me what's going on here? 

Yes, you have to look at the detail member of the Focus{In|Out} events
to figure this out.

>          ..............EVENT: FocusOut
>                       detail: Pointer
>              sequence number: 0ec4
>                        event: WIN 04800014
>                         mode: Normal

This event gets delivered to your widget.  It's telling your
widget that it is a pointer-containing inferior of the window which
is actually losing the focus.

>          ..............EVENT: FocusOut
>                       detail: Pointer
>              sequence number: 0ec4
>                        event: WIN 04800013
>                         mode: Normal

This event gets delivered to your toplevel.   ditto.

The window actually losing the focus is the WM's wrapper, I guess.

>         ..............EVENT: FocusIn
>                      detail: Nonlinear
>             sequence number: 0ec4
>                       event: WIN 04800013
>                        mode: Normal
This event gets delivered to your toplevel.  This one tells your toplevel
that it has actually received the focus.

>         ..............EVENT: FocusIn
>                      detail: Pointer
>             sequence number: 0ec4
>                       event: WIN 04800014
>                        mode: Normal

This event gets delivered to your widget, and tells it that one of its
ancestor windows received the focus WHILE the pointer was inside your
widget's window.    You're in a race with something ... probably the
window manager ... to see whether the pointer or the focus can get there
first.

If your widget is monitoring whether it's going to receive KeyPress
events or not (that is, if you're highlighting a data-entry field 
or something similar), you need also to monitor EnterNotify and 
LeaveNotify events. 

I don't usually do book plugs on usenet, but in this case I suggest
you borrow a copy of Introduction to the X Window System
(Prentice-Hall) from your local library and look at pp378 - 384.

Oliver Jones
Newsgroups: comp.windows.x
From: rfrench@Xenon.Stanford.EDU (Robert S. French)
Subject: Questions about Internationalization with R5
Organization: Computer Science Department, Stanford University.
Date: Thu, 20 Aug 1992 20:29:17 GMT

I am using freshly compiled X11R5 and Motif 1.2, and need to
internationalize an existing application on a Sparc.  I have the Sun
Western Europe locale package installed (French, German, etc.) but
have encountered several problems.  For example, the names of the
locales used by the Sun package are things like "fr" and "de", while
the locales used by R5 NLS are things like "lt_LN.bit8".  And no
matter what I use, I can't get the Compose key to do anything
reasonable.  If you've had any experience with this, please send me mail.

			Rob
			rfrench@cs.stanford.edu
From: nariani@zen.cc.nd.edu (Sunil Nariani)
Newsgroups: comp.windows.x
Subject: XVT Design Inteface Builder
Date: 14 Aug 92 21:37:04 GMT
Reply-To: nariani@zen.cc.nd.edu (Sunil Nariani)
Organization: University of Notre Dame, Notre Dame

I am evaluating XVT Design inteface builder for Motif on Sun platfoms.
I would like your comments and experiences with it if you have
used it.

Thanks 

Sunil Nariani
Newsgroups: comp.windows.x
From: NIEBRES_CAROLINE_P@LILLY.COM
Subject: Training sites/classes/seminars
Organization: The Internet
Date: Fri, 21 Aug 1992 12:26:21 GMT


Hi all!

I need some information on classes for people new to X Windows and event
programming.  I also need to cover both Motif and Open Look toolkits.

This question I know may not quite fit in this mailing list, but I do
not know where to post it.

Anyway, I want information on classes for SUN and HP/Apollo system
administration.  I already have some experience with some administration
for the SUN.  I little more advanced information like network tuning, etc.
The person who will be doing the HP/Apollo systems has very limited 
experience with UNIX.

Any information is greatly appreciated!

Caroline Niebres
Cardiac Pacemakers, Inc.
St. Paul, MN
NIEBRES_CAROLINE_P@LILLY.COM

From: NIEBRES CAROLINE P            (CPIVAX::NIEBRES)

To:   VMS MAIL ADDRESSEE            (IN::"xpert@expo.lcs.mit.edu")
From: manu@hpsrv.biotoul.fr (Emmanuel Courcelle)
Newsgroups: comp.windows.x
Subject: Domain public X-servers for PCs or Macs
Date: 13 Aug 92 11:38:51 GMT
Reply-To: manu@ibcg.biotoul.fr
Organization: Institut de Biologie et Genetique Cellulaire (IBCG/CNRS, Toulouse)

Hello.
Does anyone know an ftp site where we could retrieve a FREE X-server
for PCs and Macs ?
Thanks,


-- 
------------------------------------------------------------------------------
Emmanuel COURCELLE		
CNRS/IBCG (ex-CRBGC)		Tel (33) 61 33 58 66
118 route de Narbonne		Fax (33) 61 33 58 86 
31062 TOULOUSE Cedex		e-mail   manu@ibcg.biotoul.fr
France		
------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: iscooibc@nuscc.nus.sg (Beng Chin)
Subject: Actions not found error!
Organization: National University of Singapore
Date: Fri, 21 Aug 1992 10:18:11 GMT


Hi,

I would like to add a translation (actually to overide) which
would cause a widget to activate a callback when selected.

However, when I run the program, it always give me a run-time
error of

Warning: Actions not found: selectCallback.

This is how I use the WidgetAction:

action = new WidgetAction();
action->addTranslate( <a widget> );

I am using C++ with Motif. Appreciate help
of any kind. Thanks!

KC Phua
National U. of Singapore

---------------------- cut here ------------------------

WidgetAction Class
------------------
:
:
:
void WidgetAction::selectCallback( Widget w, XEvent *event,
	XtPointer clientData ) {
	WidgetAction *obj = (WidgetAction *) clientData; 
	obj->select( w, event );
}

void WidgetAction::select( Widget w, XEvent *event ) {
	...................
}

void WidgetAction::addTranslate( Widget w ) {
	static char defaultTranslations[] = 
	"None<Btn1Down>: selectCallback()";
    static XtActionsRec actionsTable[] = {
	{ "select", (XtActionProc) &WidgetAction::selectCallback },
	};
    XtTranslations trans_table;
    XtAddActions(actionsTable, XtNumber(actionsTable));
	trans_table = XtParseTranslationTable(defaultTranslations);
	XtVaSetValues( w,
				   XmNtranslations, trans_table,
				   NULL );
	XtOverrideTranslations(w, trans_table);
}

Newsgroups: comp.windows.x,comp.os.vms
From: Dag.H.Wanvik@kvatro.no (Dag H. Wanvik)
Subject: VAXstation: How to install new fonts?
Reply-To: dag@kvatro.no
Organization: Kvatro A/S, Trondheim, Norway
Date: 13 Aug 92 22:06:10


Hi netters!

I am using my VAXstation with DECWindows (VMS) as an X server for many
UNIX X based programs.

I have a set of bdf fonts. Can anyone please tell how I can extend my
X server with the new fonts under VMS?

Dag

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dag H. Wanvik  ,   Senior Systems Engineer
Mailing address:   KVATRO AS, Pirsenteret, N-7005 Trondheim, NORWAY
Telephone      :   +47 7 520090
Fax            :   +47 7 520140
Internet e-mail:   wanvik@kvatro.no OR dag@kvatro.no
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: gms@hpcvxrc.cv.hp.COM (George Sachs)
Newsgroups: comp.windows.x
Subject: Source code for HP R5 X server available
Date: 13 Aug 92 20:41:05 GMT
Organization: The Internet

Hewlett-Packard is pleased to make available a release of device-
dependent graphics and input device code to allow the X11 R5 sample
server implementation to be built for the following HP 9000 Series 700
workstation platforms:

   Model 705 (1280x1024 grayscale graphics)
   Model 710L (1024x768 color graphics)
   Model 710C (1280x1024 color graphics)
   Model 710G (1280x1024 grayscale graphics)
   Model 720, 730, or 750 with:
      A1659A CRX 1280x1024 color graphics
      A1924A GRX 1280x1024 grayscale graphics
      A2269A Dual CRX 1280x1024 color graphics (two displays)

The code is being released in source and object forms for building and/or
execution on the above platforms when running either the HP-UX 8.05 or 8.07 
operating system.  

This software is intended for demonstration, experimentation, or research
purposes only.  It is not Hewlett-Packard product code and carries with it
no guarantee of functionality, performance, maintenance, or support.

This software is provided without any express or implied warranty with 
regard to merchantability or fitness.  In no event shall Hewlett-Packard 
be liable for any special, indirect, or consequential damages, or any 
damages whatsoever, resulting from loss of use, data, or profits, whether 
in an action of contract, negligence or other tortious action, arising out
of, or in connection with, the use or performance of this software.

The softare may be obtained by anonymous ftp from export.lcs.mit.edu.  The
files reside in the directory ~ftp/contrib/R5.HP.SRV.  Please note that
only HP-specific device dependent files and other files with HP-specific
changes are included.  You will need the X11 R5 sample implementation in
order to build an X server.  The sample implementation is available from
the X Consortium and the HP InterWorks Users Group.

Refer to the README file included with the release for more information.

This software will also be made available through the HP InterWorks Users
Group.
Newsgroups: comp.windows.x
From: spencer@cgrg.ohio-state.edu (Stephen N. Spencer)
Subject: re: Annoying <ctrl-D> problem when exiting X.
Organization: OSU Advanced Computing Center for the Arts and Design
Distribution: usa
Date: Fri, 21 Aug 1992 13:11:09 GMT

Thanks to: 

	Jerry Whelan <guru@stasi.bradley.edu>
	Dale Moore <moore@moore.fac.cs.cmu.edu>

for their speedy replies to my question.  The problem is that of timing in
"xinit".  The solution that Dale forwarded is to create a file in my home
area called ".xserverrc" which contains the line "exec X".

-- 
Stephen N. Spencer, Graphics Research Specialist           ,__o      ,__o
spencer@cgrg.ohio-state.edu  (or spencer@siggraph.org)   _-\_<,    _-\_<, 
(614) 292-3416                                          (*)/'(*)  (*)/'(*)
Newsgroups: comp.windows.x
From: dvanderr@oracle.com (Danny Vanderryn)
Subject: Re: Compose key in MIT sample server
Organization: Oracle Corporation.  Redwood City, CA
Date: Fri, 14 Aug 1992 01:23:36 GMT
X-Disclaimer: This message was written by an unauthenticated user
              at Oracle Corporation.  The opinions expressed are those
              of the user and not necessarily those of Oracle.

In article <1992Aug3.165952.28115@PA.dec.com> klee@wsl.dec.com (Ken
Lee) writes: 

   |> Has anybody looked at implementing a Compose Key function a'la
    OpenWindows, 
   |> or DecWindows into the sample server ? I feel this would be a
    big win in 
   |> making X multinational. Does anybody have good knowledge of
    where a person 
   |> would have too hack to implement it ?

   This is done in Xlib, not the X server.  You could do it in XLookupString()
   or use the i18n input methods in X11R5.

   -- 
   Ken Lee
   DEC Western Software Laboratory, Palo Alto, Calif.
   Internet: klee@wsl.dec.com
   uucp: uunet!decwrl!klee


in R3 i saw some contrib stuff that actually did do it in the server,
where it was much more efficient.  i looked at putting it into my R4
server, but the server had changed so much that i couldn't figure out
how to move the changes from R3.  so i gave up and settled with the
Xlib solution (i use the Openwindows implementation).
--
This opinion will self destruct in 5 seconds.
danny vanderryn--dvanderr@oracle.com   || Take my advice ---
{uunet,hplabs,apple}!oracle!dvanderr   || *I'm* certainly not using it.
(415) 506-3142                         ||
From: mccoy@gothamcity.jsc.nasa.gov (Daniel J. McCoy)
Newsgroups: comp.windows.x
Subject: Re: X Windows on Non-UNIX systems
Date: 18 Aug 92 15:50:33 GMT
Reply-To: mccoy@gothamcity.jsc.nasa.gov
Organization: Loral Space Information Systems

In article 5700@osc.COM, george@osc.COM (George Baggott) writes:
|>
|>There are now a number of products which implement an X server for PCs
|>and Macs.  They allow you to run an X windows application on a UNIX
|>machine and display it on a PC or Mac.  Does anyone know of a product
|>which allows you to develop a PC or Mac based X *client*?  Such a
|>product would allow you to develop a PC or Mac based X windows application
|>which could be displayed on a UNIX machine, PC, or Mac running an
|>X server.
|>
|>Any info would be greatly appreciated.

I have heard of two for the Mac and one for the PC.  The Macs are:
	xport available from Qualix 1-800-245-UNIX, $495
	xgator ??? demo may be available by anonymous ftp
The one for the sun is sunpc

I have never use any of these and have no other info.

---
Daniel J. McCoy           |=| Loral Space Information Systems
NASA Mail Code PT4        |=| TEL: (713)483-0950
NASA/Johnson Space Center |=| FAX: (713)244-5698
Houston, Texas 77058      |=| mccoy@gothamcity.jsc.nasa.gov
From: george@osc.COM (George Baggott)
Newsgroups: comp.windows.x,comp.windows.ms,comp.sys.ibm.pc,comp.os.os2,comp.sys.mac,comp.windows.misc
Subject: X Windows on Non-UNIX systems
Date: 17 Aug 92 17:06:44 GMT
Reply-To: george@osc.com
Followup-To: comp.windows.x
Organization: Versant Object Technology, Menlo Park, CA


There are now a number of products which implement an X server for PCs
and Macs.  They allow you to run an X windows application on a UNIX
machine and display it on a PC or Mac.  Does anyone know of a product
which allows you to develop a PC or Mac based X *client*?  Such a
product would allow you to develop a PC or Mac based X windows application
which could be displayed on a UNIX machine, PC, or Mac running an
X server.

Any info would be greatly appreciated.


George
george@osc.com
Newsgroups: comp.windows.x
From: liuxu@vuse.vanderbilt.edu (Xudong Liu)
Subject: xfig file -- Postscipt??
Originator: liuxu@secfs
Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
Distribution: usa
Date: Fri, 21 Aug 1992 21:08:15 GMT

Anybody can tell me where to get a package named "transfig"?
I need it for transfering xfig file to Postscript file.

Thank you in advance.
Newsgroups: comp.windows.x
From: raney@teal.csn.org (Scott Raney)
Subject: Re: Communication between Motif apps using properties
Organization: Colorado SuperNet, Inc.
Date: Fri, 14 Aug 1992 03:27:43 GMT

deveau@oceanroutes.ns.ca (Terry J. Deveau) writes:

>Meir Zaid (meir@tfs.com) writes:
>> 
>> I am writing a user interface that part of its job is to display
>> error messages received from other applications running on the same
>> machine.  The other apps communicating the messages to the user
>> interface using properties/atoms.  My problem is that all apps have
>> to share a widget because properties are associated with widgets.
>> I guess the most reasonable widget to use is the text widget in
>> which the errors are to be displayed.  But how can the other apps
>> know the widget ID of that window?
>> 
>Use shmget(2) and shmop(2).  See "Advanced Unix Programming" by Marc
>J. Rochkind, Section 7.7 (or any number of similar books) for a
>tutorial on how to use them.

This will work if the apps a running on the same machine, but is
probably not a good design for the future.

A better solution is to put a property on the root window advertising
the window id.  Just be sure to give it a big ugly name so that you
don't conflict with any of the other atoms in the root window property
soup.
  Scott
-- 
***********************************************************************
* Scott Raney  303-447-3936            Remember: the better you look, *
* raney@metacard.com                   the more you'll see -- Lidia   *
***********************************************************************
Newsgroups: comp.windows.x
From: brown@zen.wes.army.MIL (Paul Brown)
Subject: Needed,  PC keyboard mapping for vt330 using mterm.
Organization: The Internet
Date: Fri, 14 Aug 1992 13:30:12 GMT


Using mterm, I would like to remap my keyboard (PC layout) to a vt330.  I
saw the recent discussion regarding the vt100 keyboard mappings and I suspect that I need to do something similar.  Could someone please post the needed
translations.  Thanks.

-----------------------------------------------------------------------------
 Paul Brown                     | Girls go to college to get more knowledge.
 brown@zen.wes.army.mil         | Boys go to Jupiter to get more stupider.
-----------------------------------------------------------------------------
From: azhao@cs.arizona.edu (Qiang Alex Zhao)
Newsgroups: comp.windows.x
Subject: Summery: How to write a pixmap to a file?
Date: 18 Aug 92 01:34:06 GMT
Organization: Computer Science Dept, Univ of Arizona, Tucson

In article <20623@optima.cs.arizona.edu>, azhao@cs.arizona.edu (Qiang Alex Zhao) writes:
|> 
|> Hi,
|> 
|> I need to store color pixmaps to files. Do I have to convert the
|> pixmaps to images? How to do that?
|> 
|> Is there any public domain source code to save a image to a file in a
|> widely-used format?
|> 

Thanks to those people who gave me the advice of using XPM:
	John N. Calley		jnc@csl.biosci.arizona.edu
	Rainer Sinkwitz		sinkwitz@ifi.unizh.ch
	Arnaud Le Hors		arnaud.lehors@sophia.inria.fr

________________________________________________________________
= Qiang Alex Zhao		   Computer Science Department
  azhao@cs.arizona.edu             University of Arizona
  (602) 621-2759                   Tucson, AZ 85721
From: deveau@oceanroutes.ns.ca ("Terry J. Deveau")
Newsgroups: comp.windows.x
Subject: Help! I'm being buried alive!
Date: 18 Aug 92 18:09:14 GMT
Organization: Oceanroutes Canada Inc.

I began a subscription to the xpert and motif mail lists about 10 days
ago (we don't get the newsgroups here).  There's lots of "good stuff"
going by, and I've already been able to solve several problems in my
X11 and Motif applications, thanks to you-all.

But I'm being practically buried alive in the volume of messages 
(typically 50 to 60 per day, over 120 on Monday).  Do the rest of
you also have this problem?  Do you old-timers have any tips on how
to deal with it?  Would things be any easier if I came in via Usenet?

I've been accumulating what appear to me to be potentially useful
messages for future reference in files like "answersX" and "answersMotif".
Do others do this also?  Does someone do this officially and make
it ftp-able?  I know about the FAQs of course, but is it safe to 
assume that all "interesting" and "important" stuff will end up there?

What about all the "good stuff" that went by before I joined?  Is there
an xpert or a motif archive somewhere?

Just out of curiosity, does anyone have an idea how many people follow
this newsgroup or mail list?  How many post to it?  Does anyone care
about such trivia? :)

Speaking of hints, I have one: my mail program (elm) sorted incoming
mail by date-received (by default); after changing it to sort by
date-sent it has been a little easier to follow the disscusions.
(It kind'a throws you off when you read the answer before the question).

... Terry
Newsgroups: comp.windows.x
From: REISSEN@rzmain.rz.uni-ulm.de (REISSENAUER BERNHARD)
Subject: Problems with DEC-GKS and DECWindows workstation
Organization: University of Ulm, Germany
Date: Wed, 19 Aug 1992 18:09:33 GMT
X-News-Reader: VMS NEWS 1.23

Problems with DEC-GKS and DEC-WINDOWS workstation


I am writing a program using the DEC-GKS library.
I use the following software versions:

FORTRAN binding: creation date 7-OCT-1991
DEC-GKS: version 4.2-4, creation date 7-OCT-1991.

I want to use the DECWindows workstation (type 211) for output.


On DECstations with the DEC window manager everything works fine.

When I activate the output workstation with GACWK, a window
opens automatically and my picture appears.

But with other window managers (eg. twm or the NCD window manager)
only a icon appears, and I have to open the window manually with the
mouse.

I tried to use the Escape function POP WINDOW, but it only worked
with the original DEC window manager.


What's the matter with the DECWindows workstation? Is there a bug in
DEG-GKS? Or should I use Xlib functions to open the graphics window?


I would like to use GKS, because my programm should work with many
output devices, eg. TEK4014.
We have several X-Window terminals, so the program should work with
other terminals than DECstatations as well.


Thanks in advance

Bernhard Reissenauer

--------------------------------------------------------------------------------
Bernhard Reissenauer, Abt. Chemische Physik
Uni Ulm, Albert-Einstein-Allee 11, 7900 Ulm
Internet: reissen@rzmain.rz.uni-ulm.de
          reissen@laborix.mathematik.uni-ulm.de
EARN: reissen@dulruu51
--------------------------------------------------------------------------------
From: vreddy@pappus.uucp (Venkatesh Reddy)
Newsgroups: comp.windows.x
Subject: Re: X Windows on Non-UNIX systems
Date: 18 Aug 92 15:33:33 GMT
Organization: Aiken Computation Lab, Harvard University

In article <5700@osc.COM> george@osc.com writes:
>
>There are now a number of products which implement an X server for PCs
>and Macs.  They allow you to run an X windows application on a UNIX
>machine and display it on a PC or Mac.  Does anyone know of a product
>which allows you to develop a PC or Mac based X *client*?  Such a
>product would allow you to develop a PC or Mac based X windows application
>which could be displayed on a UNIX machine, PC, or Mac running an
>X server.
>
>Any info would be greatly appreciated.
>
>
>George
>george@osc.com

I am not sure if this is what you are referring to, but there is MacX.
This application is especially cool because most places have a site
license that will let you use it without actually buying it... I 
hope that helps...

-- Venk Reddy --
Newsgroups: comp.windows.x
From: Mathias.Koerber@sniap.mchp.sni.de (Mathias Koerber)
Subject: editres, how to use ?
Reply-To: Mathias.Koerber@sniap.mchp.sni.de
Organization: Siemens Nixdorf Informationssysteme, AP 114
Date: Thu, 13 Aug 92 10:21:22 GMT

How do I make my client understand the EDITRES protocol?

Are there any libraries/includes for it ?

Thx alot

----
Mathias Koerber    | Tel: +49/89/636-45685 | Mathias.Koerber@sniap.mchp.sni.de
SNI AP 114         | Fax: +49/89/636-45860 | koerber.muc@sni.de
MchP/LZ Rm:L1562   | X.400:  C=DE/A=DBP/P=SNI-SMTP/O=de/OU1=sni/OU2=mchp/
Carl-Wery-Str. 22  |         OU3=sniap/S=Koerber/G=Mathias
D-8000 Muenchen 83 | X.400:  C=DE/A=DBP/P=SNI/O=SIEMENS NIXDORF/OU1=MUENCHEN/
(United!) Germany  |         OU2=P4/OU3=D5/OU4=AP11/S=KOERBER/G=MATHIAS
* Eifersucht ist eine Leidenschaft, die mit Eifer sucht was Leiden schafft *
Newsgroups: comp.windows.x
From: hoswell@tramp.Colorado.EDU (Old Nick)
Subject: saving colormaps
Keywords: colormap save x motif
Organization: University of Colorado, Boulder
Date: Wed, 19 Aug 1992 18:42:32 GMT

Hi all.

Simple - my motif-GUI image processing program has a private 256 color
colormap.  I want to add an option to load/save so that users don't
have to go through the hassle of creating a specific colormap every time.

The only thing I've thought of is saving them the way SGI does in a 
'rather boring' 256 lines - of - r - g - b values...  I suppose this
is nice because a user can edit the file and change things easily,
but why not use my neat program? ;-)

Does anyone have a 'better' way - (i.e. space).

Mike
-- 
||      -=> Old Nick <=-	 |	  <<<<=- "Dial a cliche" -=>>>>      ||
||  hoswell@tramp.Colorado.EDU	 |   					     ||
|| or hoswell@yoda.hao.ucar.EDU	 |    A cynic knows the price of everything  ||
||       Think Clearly! 	 |          and the value of nothing.        ||
Xref: sparky comp.windows.x:15178 comp.windows.x.apps:767