HDTenEightyP/NetNews huggingface dataset:
From: thoth@beach.cis.ufl.edu (Robert Forsman)
Newsgroups: comp.windows.x
Subject: X regions: here's how to
Date: 8 Oct 92 16:14:14 GMT
	<1992Sep29.171244.2490@lsl.co.uk>
Organization: Church of Homogeneous Foods (Rev. Forsman founder)
In-reply-to: snail@lsl.co.uk's message of 29 Sep 92 16:12:44 GMT


  Well, in response to one request, here's sample code to accumulate X
events.  It is a derivative of the stuff I wrote for XConq5.5 and
there may be some subtleties I missed (mouse?) but it works fine in my
experience.

    Region	reg;
    XRectangle	rect;
    reg = XCreateRegion();

    do {
	rect.x = evt->xexpose.x;
	rect.y = evt->xexpose.y;
	rect.width = evt->xexpose.width;
	rect.height = evt->xexpose.height;
	XUnionRectWithRegion(&rect, reg, reg);
    } while (XCheckWindowEvent(dpy, evt->xexpose.window,
			      ExposureMask, evt));

    XSetRegion(dpy, pen, reg);
    XDestroyRegion(reg);

    /* now draw your goo */
--
Eat now this hot-dog with ketchup, flesh of his flesh, blood of his blood.
Supercalafragalisticextrasacreligious
I deal with Reality as you _don't_ understand it.
blah = realloc(blah, sizeof(*blah)*(blahsize*=2)); /* (TM) */
Newsgroups: comp.windows.x,comp.windows.x.motif
From: scott@asd.com (Scott Barman)
Subject: Re: Hourglass Pointer for multiple windows application.
Organization: American Software Development Corp., West Babylon, NY
Date: Mon, 12 Oct 1992 18:04:39 GMT

In article <13150@iwona> iwona@Software.Mitel.COM (Iwona Hawrylak) writes:
>P.S. We use UIM/X User Inteface Management System (Graphical UI Builder).
>     I was wondering how many of you are using it as well. If there
>     are many of us then maybe it would be worth to start a newsgroup
>     to exchange the information and share the problems.

It would be nice if there was at least a mailing list.  I know Visual
Edge is out there and reads the net.  Maybe....
(I would volunteer but we are a uucp-only site with limited disk space
to run a descent mailing list with archiving of messages, code fragments
and other items that wold come up).
-- 
scott barman			| <This space intentionally left blank>
scott@asd.com			|
 (I can barely speak for myself, you expect me to speak for my employer??)
Xref: sparky comp.windows.x:17629 comp.sys.dec:5359
From: mjr@hussar.dco.dec.com (Marcus J. "Buddy can you spare a clue?" Ranum)
Newsgroups: comp.windows.x,comp.sys.dec
Subject: Re: X Under Windows NT
Date: 8 Oct 92 15:30:30 GMT
Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center

todd@fred.dfrf.nasa.gov (Todd Vernon) writes:
>If NT isn't doing windowing with respect to a network model,
>(client/server) it really would not stand much a chance in the scientific
>community. [...]

	I agree. Now - ask yourself if Microsoft wants to win the scientific
community's love and respect, or if it wants to ship millions of copies of
NT to all the folks who are currently using PC LANS as fancy typewriters
and point of sale systems. I think you'll quickly understand the demographics
of the situation.

>You aren't another NT'r trying to save the world with vapor ware are you ?

	Not at all. I'm a die-hard UNIX hacker, watching the system he
knows and loved quickly paint itself into a corner.

	Laughing off NT because it doesn't solve the scientific community's
problems is an echo of all the hard-core VMSers who laughed off UNIX because
it wasn't "commercial quality". Don't make the mistake of evaluating NT in
terms of functionality. Evaluate it in terms of demographics.

mjr.
-- 
	It is important to focus on writing software that is "adequate."
Having one's software be "good" or even "excellent" is over-rated. If
"good" were necessary or even important, DOS would not be the de facto
standard operating system.                          -notebooks of a heretic
Newsgroups: comp.windows.x
From: muradia@bcarh1ed.bnr.ca (Rajiv Muradia)
Subject: Re: screen blankers/lockers
Reply-To: muradia@bnr.ca
Organization: Bell-Northern Research
Date: Wed, 14 Oct 1992 20:04:36 GMT

In article <DRMRES27.92Oct6152437@c54.usl.edu>, drmres27@c54.usl.edu (Mejia Pablo) writes:
> I am looking for a program which can call screen blankers when the
> user is idle.  I saw a post a while back about it, but I am unable to
> find any references to it.  The program that I am talking about came
> with some sample screen blankers.
> 
> Please send response by email, I will post a summary if there is
> enough interest.
> 
> Pablo Mejia
> drmres27@ucs.usl.edu

Check out xautolock. Here is a bit of the description:

      When xautolock is started, it monitors the user activity on the
      workstation. When no activity is detected within minutes minutes, the
      screen is automatically locked, using the screen locker specified with
      the -locker option. xautolock is capable of managing multiheaded
      displays.

It should be available on export.lcs.mit.edu else try ARCHIE.
-- 
..................................................................
. Rajiv Muradia,  Bell Northern Research, Ottawa, ONT, CANADA    .
. Internet: muradia@bnr.ca                                       .
..................................................................
Newsgroups: comp.windows.x
From:  vic@vic.ipmce.su (victor roitberg)
Subject: Win 3.1 under DesqView problem (weird)
Date: Fri, 9 Oct 1992 16:01:32 GMT
Reply-To: vic@vic.ipmce.su
Organization: ipmce

Strange problem with DESQVIEW/X --------------
 1. When starting winx (Windows 3.1 in x-windows) I get the "Incorrect DOS
version" reply (I use MSDOS 5.0)!!??
 2. When starting Windows under DESQVIEW/X I get
               -    Can't run Windows in Standard mode
               -    Some protected mode applications already running
      kind of error
   Interestingly enough there are no problems when running Windows without
DESQVIEW/X.

Thanks for your replies
-- 
=============================================
-Victor Roitberg    vic@vic.ipmce.su

Xref: sparky comp.windows.x:17595 comp.windows.x.motif:6681
From: tchal@tmchome.UUCP (Thomas M. Chalfant)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Re: set colors wo override user config colors?
Date: Tue, 06 Oct 92 21:02:40 EDT
Distribution: world
Organization: My house

chrisw@chopin.FtCollins.NCR.com (Chris Whitley) writes:

> I would like to set the colors of my application programmatically
> only if the user has not specified colors (on command line or
> in Xdefaults). I believe this should be easy, but am not sure how? 
> 

Chris,
Check out fallback resources parameter to XtAppInitialize() or
XtVaAppInitialize().  This will take care of resources not set through
application defaults files or other defaults files loaded by xrdb, and
are only used if not set in those places.  Command line parameters can
be handled as you parse them.

Tom
Newsgroups: comp.windows.x
From: black@westford.ccur.com (Samuel Black)
Subject: Re: Multiple XOpenDisplays on the same display
Organization: Concurrent Computer Corp.  Westford, MA
Date: Mon, 12 Oct 1992 13:59:41 GMT

>Multiple connections between one client and one server is well defined
>by the current X specifications.  This should be exactly the same as
>multiple independent clients connecting to the server.  It is
>expensive, however, as each connection is a new socket (or 2).

This assumes, of course, that your implementation uses sockets for connections.

		- sam black

-------------------------------------------------------------------------------
Once you remove the absurdity from human existence, there isn't much left.
		     __________
		    /  _______/__	...!{decvax,uunet}!masscomp!black
		   /__/______/  /	black@westford.ccur.com
	  Concurrent /_________/
	Computer Corporation
-------------------------------------------------------------------------------
Newsgroups: comp.windows.x
From: Gocek.Henr801C@Xerox.COM (Gary Gocek 76260 - UI Systems)
Subject: Re: Average width for text.
Reply-To: Gocek.Henr801C@Xerox.COM
Organization: Xerox Corp., Rochester, NY
Date: Wed, 7 Oct 1992 14:55:23 GMT


While I agree with der Mouse that the average width of characters in a font isn't generally
useful, the BDF standard specifies, and many BDF files contain, an AVERAGE_WIDTH property.
A particular system's font binaries may not carry this, but it's in the BDF files.

Gary
Gocek.Henr801C@Xerox.COM

Newsgroups: comp.windows.x,comp.sys.sun.admin,comp.sys.sun.wanted,comp.unix.questions
From: egger@slsvaat.sel.de (Jochen Egger Fa. SSW US/ESS B.60/1/15 #3578)
Subject: Help needed for Sun Type5 keyboard/X11R4
Keywords: keyboard, X11R4, SunOs4.1.2
Organization: SEL-Alcatel LTS Dept. US/ES
X-Newsreader: Tin 1.1 PL3
Date: Tue, 13 Oct 92 10:54:07 GMT

Hi there,
I want to make a German type 5 keyboard run together with the MIT Xserver.
Therefore, I want to apply maf@dtek.chalmers.se's sun keyboard patch. 
In the sunkbd.patch there is a reference to a file in the mit/include directory:
    ../../../include/Sunkeysym.h .
I can't find this file in that directory. Can anybody tell me, since which patchlevel
that file has existed? We've patchlevel 18, and this can be built without this file.
Who knows where I can get this file from?
Who knows another complete patch which solves the type 5 problems?
Any hint is appreciated.



Thanks a lot,
--------------------------+--------------------------------------------------
Jochen Egger              |
                         < >              intentionally left blank
egger@us-es.sel.de        |
--------------------------+--------------------------------------------------
Newsgroups: comp.windows.x
From: chris@wg.estec.esa.nl (Milquetoast)
Subject: Killing all clients on exit, on an X-terminal
Reply-To: chris@wg.estec.esa.nl
Organization: WG/Estec, Noordwijk, The Netherlands
Date: Thu, 8 Oct 92 15:28:31 GMT

We're using xdm on a DEC VXT2000 X-terminal (running VXT1.1, booted from
SunOS). The terminal will quite happily run the .Xsession file. However, when
the last client is exited, all the other clients stay active. Previously, when
I've used a workstation, if the last client was exited, all the other clients
died as well.

So, is it possible to get all the clients to die at once, and if so how?

Any help will be appreciated.

Regards,


Chris
------------------------------------------------------------------------------
Chris Rouch                                              chris@wg.estec.esa.nl
Serco Space Ltd                                            Tel: +31 1719 84672
ESTEC, The Netherlands                                     Fax: +31 1719 84192
------------------------------------------------------------------------------
I like your manifesto, put it to the test though
 
 

Newsgroups: comp.windows.x
From: jchang@eplrx7.es.duPont.com (Jason Chang)
Subject: Fail to build R5 under SunOS 4.1.3
Keywords: X11, R5, SunOS 4.1.3, cpp, Makefile, Make World 
Organization: DuPont Central Research & Development
Date: Fri, 9 Oct 1992 21:25:26 GMT

I am seeking advice on the net to determine if this is a real bug and would
like to know if others have experienced the same error in the same
environment.

The "Make World" failed when I try to build R5 patch-0 under SunOS 4.1.3.
The error was reproducable on both Sun Sparc 670MP and Sparc1 both resently
upgraded to SunOS 4.1.3.  The Make World failed when mit/Makefile was generated.
Further examination indicates that the error is due to cpp was not able to
replace the XCOMM in the mit/Makefile with the # as defined in the 
mit/config/Imake.tmpl.

The following are the error messages during make World and line 226 of Makefile:

**************************************************************************

make  -f Makefile.ini BOOTSTRAPCFLAGS="" World

Building Release 5 of the X Window System

##############################################################
# Did you remember to check the configuration parameters in  #
# the directory ./config and set BOOTSTRAPCFLAGS if needed?  #
##############################################################

Fri Oct  9 15:46:28 EDT 1992

cd ./config; make  -f Makefile.ini
BOOTSTRAPCFLAGS="" clean; make  -f
Makefile.ini BOOTSTRAPCFLAGS=""
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
making imake with BOOTSTRAPCFLAGS=
cc -o ccimake  -O -I../include ccimake.c
cc -c  -O -I../include `./ccimake` imake.c
cc -o imake imake.o
rm -f Makefile.bak; mv Makefile Makefile.bak
./config/imake -I./config  -DTOPDIR=. -DCURDIR=.
make  Makefiles
make: Fatal error in reader: Makefile, line 226: Extra `:', `::', or `:=' on
dependency line
Current working directory /usr/R5/mit
*** Error code 1
make: Fatal error: Command failed for target `World'
Current working directory /usr/R5/mit
*** Error code 1
make: Fatal error: Command failed for target `World'


**********************************************************************

Line 226 of Makefile:

XCOMM $XConsortium: Imakefile,v 1.105 91/07/27 14:13:23 rws Exp $

***********************************************************************


The line 226 of the Makefile really should be: 

# $XConsortium: Imakefile,v 1.105 91/07/27 14:13:23 rws Exp $



Thanks in advance!

Jason Chang
Newsgroups: comp.windows.x,uw.mfcf.questions
From: ecstsui@napier.uwaterloo.ca (Eddie Tsui)
Subject: Unix
Organization: University of Waterloo
Date: Fri, 9 Oct 1992 14:35:12 GMT

If I want to make my XWindows enviroment more facny (Changing the front, colorclock, backgroung, ) How can I do It?

I cannot run the olwm command alsso

Hope someone can help and tole me how can I discover this can of information?

Please mail me 
Thank you
From: pjh70@bluejay.amdahl.com (Patrick J Horgan)
Newsgroups: comp.windows.x
Subject: Re: comp.windows.x: Getting more performance out of X.  FAQ.
Date: 16 Oct 92 17:48:19 GMT

Just a question that's been bugging me for awhile...You can use XUSERFILESEARCHPATH or XAPPLRESDIR to tell X where you're app-defaults are.
What else do they do, and why is it better to use one than the other?

Patrick
Newsgroups: comp.windows.x
Subject: Where can I find the .h files in X11/Xmu directory?
From: syzhang@skyblu.ccit.arizona.edu (ZHANG, SHIYU)
Date: 14 Oct 1992 13:54 MST  
Distribution: world,local
Organization: University of Arizona
Keywords: X window, Xmu
News-Software: VAX/VMS VNEWS 1.41    

Hi, can some kind minds E-mail me the ".h" files under the X11/Xmu directory?
Thanks.

Shiyu
Newsgroups: comp.windows.x,comp.windows.x.apps
From: mdm@stegosaur.cis.ohio-state.edu (Michael Moore)
Subject: X based newsreader that DOESNT require an NNTP server?
Organization: The Ohio State University Dept. of Computer and Info. Science
Date: Wed, 14 Oct 1992 21:53:11 GMT



	Is there an X based news reader out there that will
work with a flat filesystem?  Our site does not have an NNTP
server but it does export the news filesystem.  However, the
only graphical news reader I have been able to find that will
work on the news file system itself is a next newsreader, which
I cannot use.

	Any help would be appreciated.  Thank you!


	-Michael 

-- 
|Michael Delbert Moore |  Home : (614) 471-1937  Office : (614) 292-7161  |
|OSU Student Programmer|--------------------------------------------------|
|Ohio State CIS Major  |     Calories consumed for a 150 pound person     |
|mdm@cis.ohio-state.edu|                Gardening : 220/hour              |
From: al@osf.org (Alastair Gourlay)
Newsgroups: comp.windows.x.motif
Subject: Re:pushbuttons reacting on input focus ?
Date: 12 Oct 92 14:31:11 GMT
Distribution: inet
Organization: The Internet


> A lot of our clients ask for pushbuttons which reverse their colors (bg /fg)
> when the cursor is moved on it. This without having to press any mouse key.
> This is particulary useful to detect immediately the active zones of an 
> interface without having to click on the button. As pushbuttons react only on
> arm, activate and disarm callbacks, does anybody have a good idea how this
> implement this additional feature bearing in mind that we have hundreds of
> applications to write ???

Would they be satisfied with just the traversal highlight showing up ?

It's not quite as effective as switching background, but it works, and
it's easy (assuming XmNkeyboardFocusPolicy: XmPOINTER):

"*highlightOnEnter: true"

This may also highlight some non-active widgets like XmLabel. If so, you
should set their highlightThickness to 0:

"*XmLabel.highlightThickness: 0"


If you really want the background/foreground to flip, you could try adding
event handlers for enter and leave events onto all active widgets, and then
use XtGetValues/XtSetValues on their foreground and background..

The first solution is supported, the second may not be as robust, may have
performance problems, and is a pain to do for a large number of complex
applications.


	Alastair.
Newsgroups: comp.windows.x.motif
From: wws@iscp.bellcore.com (Wayne Scott)
Subject: anyone using a DEC 5000 with osf1 & Session Manager?
Organization: Bellcore
Distribution: usa
Date: Mon, 12 Oct 92 16:25:10 GMT


I can't figure out where and how X & Session Manager are started on a DEC 5000
running osf1.  When the workstation is booted, it automatically comes up with
X/Motif and a Session Manager running.  I see no .xinitrc file and can't find
where an xinit is executed.  I'd like to override this start-up behavior.
Any ideas?

Thanks,
Wayne Scott
From: zi@edf.fr (Zixiong WANG)
Newsgroups: comp.windows.x.motif
Subject: Re: How to make multi-functions in the same callback?
Date: 7 Oct 92 13:05:29 GMT
Organization: EDF Direction des Etudes et Recherches
X-Newsreader: TIN [version 1.1 PL6]

Raymond Chui (rchui@nswc-wo.nswc.navy.mil) wrote:
: 
: 
: 	struct {
:  	 char   *name;
:  	 void   (*func)();
: }  command_info[] = {
:       "Line",             lines,
:       "Circle",           circles,
:       "Rectangle",        rectangles,
: }
: 
: 	drawing_a = XtVaCreateManagedWidget("drawing_a",
:         xmDrawingAreaWidgetClass, sw,
:    	XmNunitType, Xm1000TH_INCHES,
:         XmNwidth, 5000,
:         XmNheight, 5000,
:         NULL);
: 
: 	XtAddCallback(drawing_a, XmNinputCallback, /* draws */
: 		command_info[m].func, NULL);
: 
: ....
: ....
: ....
: 	Why I only get the 1st function "lines" works on drawing_a?
: 	event I change the value "m", but I never get 2nd and 3rd
: 	functions "circles" and rectangles" work. 

	Strange!

:	How can I make
: 	multi-functions in the same XtAddCallback? and also allow me
: 	select the void function?

	You can't do it. You can only add ONE function by each XtAddCallback,
so to add the three functions to the XmNinputCallback callback list, you must 
call three times XtAddCallback:

	m = 0;
	XtAddCallback(drawing_a, XmNinputCallback, command_info[m].func, NULL); m++;
	XtAddCallback(drawing_a, XmNinputCallback, command_info[m].func, NULL); m++;
	XtAddCallback(drawing_a, XmNinputCallback, command_info[m].func, NULL); m++;

	These functions will be called one after another.

    You can also add a list of callbacks by XtAddCallbacks().
                                                         ^

Zixiong WANG
zi@cli52na.edf.fr
From: t9014155@phillip.edu.au (T-BONE)
Newsgroups: comp.windows.x.motif
Subject: Help Menus
Date: 12 Oct 92 08:31:41 GMT
Organization: RMIT (Bundoora Campus)


	I have created a Menubar with a help menu on a form Widget.  The problem
is that the Help Menu appears alongside the others Menu's and not on the
rightmost side as in the Motif Style Guide.

I have used the following but it still wont work:

XtVaSetValues( menubar, XmNmenuHelpWidget, cascade_widget, NULL);

Can anyone thow some suggestions my way please.

Thank you

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"     t9014155@phillip.edu.au                 "tbone@arcadia.mc.phillip.edu.au"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: ramakris@csgrad.cs.vt.edu (S.Ramakrishnan)
Newsgroups: comp.windows.x.motif
Subject: Re: HHEELLPP
Date: 8 Oct 92 04:01:34 GMT
Organization: VPI&SU Computer Science Department, Blacksburg, VA

In article <BvpE8y.H8I@csc.liv.ac.uk> mbell@csc.liv.ac.uk (Mike Bell) writes:
  >In article <1992Oct2.220252.9048@gasco.com>, s1w@gasco.uucp (Scott A. White  x5947) writes:

  >> We just moved to X11/R5 and Motif 1.2 on 
  >> Sun OS 4.1.1 and our keys repeat too
  >> easily!  Is there a waay to change the
  >> delaaay between eaach repeaat?????
 
  
  >How about setting something sensible for xset???
  >
  >    To set mouse acceleration and threshold:
  >       xset  m [acc_mult[/acc_div] [thr]]    m default

Wie bitte ? 'xset m' setting to avoid keyboard repeat ? Is this a 
mistake or have I just learnt that mouse acceleration can affect 
key repeat ? Can someone explain ? I don't get it.

  >Mike Bell

---
S Ramakrishnan, CS Dept, McBryde Hall, VaTech
Newsgroups: comp.windows.x.motif
From: farrell@iiasa.ac.at (Robert  FARRELL)
Subject: Recording Motif sessions to file?
Summary: Record/Playback of user generated events
Organization: International Institute for Applied Systems Analysis, Laxenburg, Austria
X-Newsreader: TIN [version 1.1 PL6]
Date: Fri, 16 Oct 1992 14:49:34 GMT

A question to the experts out there:
									I have not been able to find any information
or help on my problem in the documentation, but I have not been informed point
blank that it is impossible, so the net is my last hope.

	I'm working on a motif based user interface for a CAD system which up till
now ran under Starbase on HPs. The design is finished and the implementing has
begun but there is one problem which I cannot find a solution for. The original
system allows the user to "Record" the session, this means that every mouse key 
click/release postion is written to a file for playback later. Playback does 
nothing but the file and simulate a mouse event at the stored position which
drives the system. All this is a piece of cake in starbase but I've been losing
sleep about doing it in X. I've had a few ideas but I'm not satisfied with them
at all. If someone out there has any tips or concrete advice I'd certainly
appreciate it. Please mail me since I don't think that any of this is of 
general interest.


Thanks in advance.
 Robert.

===============================================================================
Robert Farrell                IIASA, A-2361 Laxenburg, Austria.
PHONE: +43-2236-71521-270     
FAX: +43-2236-73148           INTERNET: farrell@iiasa.ac.at
===============================================================================
From: mla@enea.se (Mats L|fstr|m)
Newsgroups: comp.windows.x.motif
Subject: How to implement a three value scrolled list.
Date: 12 Oct 92 22:04:47 GMT
Reply-To: mla@enea.se (Mats L|fstr|m)
Organization: Enea Data AB, Sweden
Uucp-Path: mcvax!kth!sunic!enea.se!mla


I'm to implement a list, sort of. Each entry in the list contains
three different values (strings with a pre-defined length). The user
should be able to scroll the list.

It should look something like this:

	  Label 1      Label 2      Label 3
	+--------------------------------------+
	| string 1/1 | string 1/2 | string 1/3 | s
	| string 2/1 | string 2/2 | string 2/3 | -
	| string 3/1 | string 3/2 | string 3/3 | b
	| string 4/1 | string 4/2 | string 4/3 | a
	| string 5/1 | string 5/2 | string 5/3 | r
	+--------------------------------------+

The rows must always be kept in synch, i.e. a scroll must effect all
three columns.

Each strings should be selectable, that is, when the user wants to
delete/ modify a row, the users should select any of the three strings
in the row.  Likewise, when the user wants to add strings, he/she
selects an empty row.  Deleting/modifying/adding can be done thru a
popup dialog.

It's OK to implement the list without any column delimiters.

So the questions is: How to implement this functionality?

There's a number of ways to do it, but I haven't found any that I
like yet.

	Any hint or idea would be mostly appriciated!

	mla

Email: mla@enea.se
Newsgroups: comp.windows.x.motif
From: raju@sol.cs.wmich.edu (Venkat C. Raju)
Subject: Need FAQ.
Keywords: FAQ
Organization: Computer Science Dept., Western Michigan University, Kalamazoo, MI.
Distribution: usa
Date: Fri, 16 Oct 1992 17:24:45 GMT

Hi,

Could someone mail a copy of the FAQ file. Been looking for it to be 
posted for quite some time without success.

-regards,

Venkat Raju
raju@cs.wmich.edu