HDTenEightyP/NetNews huggingface dataset:
From: john@iastate.edu (John Hascall)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xterminal-Server ratio wanted
Date: 3 Sep 92 09:22:55 GMT
Distribution: fj
Organization: Iowa State University, Ames, IA

Date: 3 Sep 92 02:27:02 GMT
Message-Id: <1992Sep3.022702.13208@news.iastate.edu>
Newsgroups: comp.unix.admin,comp.windows.x


 barmar@think.com (Barry Margolin) writes:
}tucker@bedford.progress.COM writes:
}> [...ratio of X-terms to compute servers...]

}                                                The main reason that X
}terminals tend to put more load on a server is that users tend to run more
}simultaneous applications; they'll have an xclock and xbiff running all the
}time, and they'll have several windows open rather than exit one
}application in order to start another.  You may need more swap space to
}hold all these active processes.

And plenty of real-memory.  A rough rule of thumb might be 16+n MBs of
real memory on your server (n the number of X-terminals you would expect
to be active at once [all of them in a class/lab, maybe a fourth of those
in offices]).  Perhaps, 16+2n MBs if your users tend towards big programs.

John
-- 
John Hascall                                       ``Live with it pink-boy!''
Project Vincent                                                              
Iowa State University Computation Center                     john@iastate.edu
Ames, IA  50011                                      515/294-9551 [fax -1717]
From: rwh@moose.cccs.umn.edu (RICHARD HOFFBECK)
Newsgroups: fj.mail-lists.x-window
Subject: Re: X Server for MS-Windows
Date: 21 Aug 92 19:13:47 GMT
Distribution: fj
Organization: Colon Cancer Control Study, University of Minnesota, Minneapolis

Date: 17 Aug 92 21:46:00 GMT
Message-Id: <17AUG199216461607@moose.cccs.umn.edu>
Newsgroups: comp.windows.misc,comp.windows.ms,comp.windows.x

In article <1w9mqsp.feng@netcom.com>, feng@netcom.com (FengHeng Wu) writes:
> I am planning to buy a X-Server that can run under MS-Windows -
> basically a product that can allow me to run X-applications in
> MS-Windows environment. So far I have come across only one such
> product - (HCL-eXceed/W by Hummingbird, Canada, which costs around
> $500). Could you suggest me some other such products, with some
> discussion on the relative merits, prices etc. ? Or a suitable
> newsgroup where I should post this ?

DEC markets eXcursion for Windows for around $325 US discounted. I'm
afraid I don't have any first hand experience.

--rick

+-----------------------------------------------------------------+
| Richard Hoffbeck               INTERNET: rwh@moose.cccs.umn.edu |
| Colon Cancer Control Study     ATT     : (612) 627-4151         |
| University of Minnesota        CIS     : 72406,521              |
| Minneapolis, MN 55455                                           |
+-----------------------------------------------------------------+
From: cimlinc!bharper@bloom-beacon.mit.edu (Brett Harper)
Newsgroups: fj.mail-lists.x-window
Subject: How to get rasterized outline fonts in a window?
Date: 21 Aug 92 19:04:12 GMT
Distribution: fj
Organization: CIMLINC, Inc. - Engineering

Date: 20 Aug 92 16:55:40 GMT
Message-Id: <1992Aug20.165540.20980@cimlinc.uucp>
Newsgroups: comp.windows.x

I have a bit of a problem.  I would like to render outline style fonts 
to a window.  I have the rasterizer but have no efficient way to get
the resultant bitmap into the window.  How is this usually done?  
(BTW: The application makes HEAVY use of text.)

Does X11R5 provide a server side renderer that takes care of this problem?

If I need my application to still work on pre-R5 servers what do I do?


Any help would be most appreciated!

Thanks,
Brett Harper

brett.harper@cimlinc.com
From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Choosing colors  for X11 - a palette ?
Date: 1 Sep 92 02:03:29 GMT
Distribution: fj
Organization: Silicon Graphics, Inc.

Date: Mon, 31 Aug 1992 20:33:58 GMT
Message-Id: <1992Aug31.203358.28575@odin.corp.sgi.com>
Newsgroups: comp.windows.x,comp.windows.x.apps

In article <17m0c4INN977@agate.berkeley.edu>, desouza@asmara.berkeley.edu (Paulo de Souza) writes:
|> I seen on some DEC and IBM machines a palette that lets you move a
|> stick around and choose a color giving you (in another part of the
|> window) the combo of Red-Green-Blue that you need to match that
|> color.
|> 
|> Does anybody knows if such a thing is available for X11 (for example
|> on a Sparc Station) ? And where one could find it ?

You can grab my cpicker distribution as:

  export.lcs.mit.edu:~ftp/contrib/cpicker.tar.Z

or

  export.lcs.mit.edu:~ftp/contrib/cpicker-motif.tar.Z

You can also find cpicker in the R5 contrib directories.

Pixedit, a sample application using the Cpick widget, lets you click
on a pixel and view/edit the RGB/HSV/CMY values.  It creates a copy of
the current colormap, installs it, and modifies the pixel's color
values so you get the effect of changing colors in real-time.

Here's the README:

    Pixedit is a tool for interactively modifying the X colormap.  It
    allows you to dynamically change the colormap cell for a specific
    pixel on the screen.  It works well for picking out one's desired
    colors, and then taking the hex RGB specification and putting it in
    one's .Xdefaults.

    There is a related program, cpicker, which displays a window's
    colormap and allows you to select and edit a particular cell.

    In the Motif directory is a Motif version which uses Motif widgets.
    The Motif version has an option, on by default, which tries to find
    the corresponding shadow colors in the colormap and change them at
    the same time.  This improves the overall appearance while
    interactively changing colors.


-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/390-1786
From: noname@cbnewsl.cb.att.com (  )
Newsgroups: fj.mail-lists.x-window
Subject: keysymdef.h, Why it is defined that way?
Date: 1 Sep 92 05:49:43 GMT
Distribution: fj
Organization: AT&T Bell Laboratories

Date: Tue, 1 Sep 1992 03:52:54 GMT
Message-Id: <1992Sep1.035254.14586@cbnewsl.cb.att.com>
Newsgroups: comp.windows.x


   
In the "keysymdef.h" file, the data looks like this:
   
#define XK_space	0x020
#define XK_exclam	0x021
      ...                 ..
      ...                 ..
      ...                 ..
#define XK_braceright	0x07d
#define XK_asciitilde	0x07e
                                <---- please note the blank line here. 
#define XK_nobreakspace	0x0a0
#define XK_exclamdown	0x0a1
      ...                 ..
      ...                 ..
  (and so on) 
  
******  
My question is:
  
    Is there any particular reason that jump the keysym code definition
from 0x07e to 0x0a0? 
******
  
Kevin Feng, ckf@hover.att.com
From: dougbell@berlioz.nsc.com (Doug Bell)
Newsgroups: fj.mail-lists.x-window
Subject: GUIs Considered Harmful
Date: 21 Aug 92 23:41:28 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Thu, 20 Aug 92 17:38:45 PDT
Message-Id: <9208210038.AA11895@berlioz.nsc.com>

Dear old *art,

What's a vt100?

Respectfully Yours,  another old *art

p.s.:  arrange to sell your Nash Rambler, 
       along with that boat anchor you're seated at.
From: 3013paul%ucsbuxa@hub.ucsb.edu (Paul F. Maynard)
Newsgroups: fj.mail-lists.x-window
Subject: Xview library source
Date: 24 Aug 92 22:55:34 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Mon, 24 Aug 92 12:32:14 PDT
Message-Id: <9208241932.AA09794@ucsbuxa.ucsb.edu>

Hi!
I am running LynxOS (a BSD4.3 Unix) with a supplied X server, Xt, Xaw,
Xlib, and twm.  I want to obtain the libxview.a library so as to build
and test client applications that will eventually be ported to a Sun 
Sparcstation.  Yes, I know the whole kit and kaboodle is available by
ftp from expo.lcs.mit.edu, but I have only a 2400baud modem connection 
between my home computer and my ftp node.

HELP!  I just want to get the source for libxview.a, and build the library
under Lynx.  I don't want the Xview clients, I don't care about olwm, etc.

Is there anyway to ftp the "big enchilada", and take it apart and modem
copy just the pieces that I need to build libxview.a?  I have done the ftp,
unpacked, and untarred, and the thing looks like it is so interconnected
that it would be very difficult to build just the library?  Am I wrong?

Does anyone out there (either PD or comercial) have the Xview libraries
available in source form?

Thanks in advance for any help,
Paul
3013paul@ucsbuxa.ucsb.edu
From: dinah@rockytop.tivoli.com (Dinah McNutt {sysadmazon})
Newsgroups: fj.mail-lists.x-window
Subject: 2 screens on a Sun?
Date: 3 Sep 92 00:44:28 GMT
Distribution: fj
Organization: TIVOLI Systems

Date: 2 Sep 92 17:28:15 GMT
Message-Id: <3703@tivoli.UUCP>
Newsgroups: comp.windows.x

I need to be able to test out an application with a display
which is not 0.0. In other words, I would like to configure
one of my Suns so it has 2 displays. I have done this before
on a color Sun where I have 2 displays available, but only one
visible at a time. When I move my mouse off the root window,
the other display appears.

I don't remember what configuration I did this with before.
I have color IPCs and IPXs available to me for this test.
Can someone out there help me?

Thanks, please respond by mail as I am up to my arms in
beta testing and am behind in news.

-- 


Dinah McNutt      TIVOLI Systems, Inc.   (512)794-9070
             dinah@tivoli.com
From: Peter.Gorny@arbi.informatik.uni-oldenburg.de (Peter Gorny)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 30 Aug 92 22:59:02 GMT
Distribution: fj
Organization: University of Oldenburg, Germany

Date: Sun, 30 Aug 1992 20:45:22 GMT
Message-Id: <1992Aug30.205005.24796@arbi.Informatik.Uni-Oldenburg.DE>
Newsgroups: alt.religion.computers,comp.human-factors,comp.windows.misc,comp.windows.news,comp.windows.x

bbrown@infonode.ingr.com (Bailey Brown) writes:

>mark@zeus.ocs.com (Mark Wilson) writes:

>>        Boxes with checkmarks are intuitive.  Boxes with X's
>>        (like Windows, I'm sorry to say) are NOT.  My personal
>>        first assumption when I saw the X: 'X' must mean
>>        "UNselected"... but 'blank' means unselected... maybe 'X'
>>        means OFF, blank means no choice yet, and check will be
>>        ON... No, that don't work, it just toggles between 'X'
>>        and blank... *sigh*... I guess 'X' means ON...

>Is it really this hard?  What if someone handed you a 
>a paper questionaire he had just filled out using 'X's instead
>of check marks.  Would you have trouble figuring out which
>boxes he had selected and which ones he had not selected?

The use of checkmarks (looking like a letter "V" in italics) is 
culturally dependant -- it is an Anglo-American speciality; but 
-- we know what you mean! In Germany we would "X" as a checkmark.

Peter Gorny
From: melby@dove.yk.Fujitsu.co.jp (John B. Melby)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 3 Sep 92 08:04:14 GMT
Distribution: fj
Organization: Open Systems Dept. Div. 2 Sect. 1, FUJITSU LTD.

Date: 3 Sep 92 00:40:55 GMT
Message-Id: <MELBY.92Sep3004055@dove.yk.Fujitsu.CO.JP>
Newsgroups: comp.windows.misc,comp.windows.news,comp.windows.x,comp.human-factors

>What is "chrome"?

Chrome is a rust-resistant metal which is often used to plate iron.
Eventually, the chrome peels off, exposing the rust underneath.

The term seems to refer to extra baggage of a GUI which is "showing
its age."  In particular (based on the current discussion):

(1) Awkward features which are included in a GUI for backwards compatibility
    with an earlier look-and-feel.

(2) New features in a long-established GUI which essentially do little but
    add complexity and clutter.

-----
John B. Melby
Fujitsu Limited, Yokohama
melby%yk.fujitsu.co.jp@fai.com
From: smith@compound.se (Bjorn Smith)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Problems with X386 1.2E dumping core on SVR4
Date: 3 Sep 92 12:14:39 GMT
Distribution: fj
Organization: Compound Systems AB

Date: 3 Sep 92 08:47:33 GMT
Message-Id: <Btzv39.M8@compound.se>
Newsgroups: comp.unix.sysv386,comp.windows.x

Bjorn Smith (smith@compound.se) wrote:
: We have compiled the X11R5 PL16 plus patches to get X386 1.2E.
: The system was built on a SVR4 (Consensys) with sdbm library.
: 
: Everything compiled and installed straight. The system starts
: (using mwm an a couple of xterms etc) but after a while the
: server dumps core. It appears to happen when one moves the mouse
: but I'm not sure that is the reason.
: 
: Trying to build the server with -g option gives the following when
: linking error message:
: 
: ld: X386: libelf error:  Memory error: output file space elf_update:

Now I have increased some kernel parameters and compiled tyhe ddx-part
with -g (and no -O) flag and linked the server with -g. 

Now the server starts AND WORKS !
My conclusion is that the problem is related to the USL stock cc compiler
with -O compiling the X386-1.2E ddx code.

Are there any known bugs with the USL cc ?
Is there any site from where one can get the gcc binaries for SVR4 ?

Thanks in advance !

-- 
Bj|rn Smith	Compound Systems, phone +46 8 7923689
UUCP:	 	{uunet,mcsun}!seunet!comsys!smith
Domain Address:	smith@compound.se
From: @logic.camp.clarkson.edu: gtephx!forda@bloom-beacon.mit.edu ("Andrew Ford @ AGCS, Phoenix, Arizona")
Newsgroups: fj.mail-lists.x-window
Subject: Re: PRIVATE MESSAGE FOR HARRY MANDELL
Date: 21 Aug 92 19:26:49 GMT
Distribution: fj
Organization: gte

Date: 17 Aug 92 18:15:27 GMT
Message-Id: <1992Aug17.181527.11165@gtephx.UUCP>
Newsgroups: misc.forsale,alt.sex,comp.windows.x,rec.humor,misc.jobs.misc,alt.good.news,alt.postmodern,rec.pets.dogs,talk.politics.guns,soc.singles,alt.fan.monty-python

In article <1992Aug10.061211.20582@mintaka.lcs.mit.edu>, notbiff@hal.gnu.ai.mit.edu (Jake Davis Smith) writes:
> IF YOURE NAME ISNT HARRY MANDELL THEN DONT READ THIS !!!!1
> 
> HARRY R U OUT THEIR ???/  SEND ME MAIL !!!!!! PLEASE EXCUS THE CROSS-POST !!!1 
> I DIDNT NO WHICH GROUPS YOU READ !!!1
> --
> I"M NOT BIFF WHO DOESNT HAVE THEYRE 0WN 0BN0XIUS SIGNATURE YET !!!!1

No, you are DORK!  For Christ's sake, grow up!

#1  STOP YELLING AT EVERYBODY!

#2  Please, don't crosspost to the world like this!

#3  There's nothing more stupid that posting something to the world
    (several times over, in most cases) and expecting no-one to read it!

#4  If you want to find somebody, try the following:
    Search thourgh the news files for the person's name.
        On this system:
            /usr/lib/news/spool/... (ie: alt/good/news)
            use grep to search through the files for the name you want
            (ask someone there for help -- try the Bored Operator From Hell (tm)



OB-why-I-crossposted-too:

For all those who are sick of this cr*p, I suggest:

Whenever you see such a god-awful crosspost, reply via email
with the offending text plus a brief, polite comment on the
offensiveness of the crosspost.

I've been doing this for a while, if a million other folks
will join me, I'm *sure* we will have no problem convincing
people like
            
    notbiff@hal.gnu.ai.mit.edu (Jake Davis Smith)

to correct their habits.

[Please note the followup group]

-- 
"25 States allow anyone to buy a gun, strap it on, and walk down the street with
no permit of any kind: some say it's crazy.  However, 4 out of 5 US murders are 
committed in the other half of the country: so who is crazy?"   -  Andrew Ford
gtephx!forda@enuucp.eas.asu.edu  OR  !uunet!samsung!romed!enuucp!gtephx!forda
From: trq@dionysos.thphys.ox.ac.uk
Newsgroups: fj.mail-lists.x-window
Subject: X11R5 available on a PX graphics card for a DECstation 5000/200
Date: 28 Aug 92 13:38:57 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Fri, 28 Aug 92 11:16:14 BST
Message-Id: <9208281016.AA01406@thphys.ox.ac.uk>

I have put a crude port of X11R5 (patched through #17) in
Xpxpmax.tar.Z in the contrib directory on export.lcs.mit.edu.  This is
for Decstations running Ultrix 4.2 with the PX 2-d graphics
accelerator and with the GNU C compiler.

It was written "off the bottom" of the cfb layer for ease of
porting, and could use some speed improvements.  x11perf says that
this server runs much slower than the DEC supplied Xtm2d (particularly
when stippling), but its "feel" for common uses on a 16Meg machine is
slightly quicker.  Of course, a big plus is the X11R5 security
features not found in the DEC supplied server.

The tar file includes patches to mit/config/ultrix.cf and
mit/server/Imakefile and files to go into mit/server/ddx/dec/pxpmax.
To build, apply the patches and move the files into your X11R5 source
directory, then build the server as usual.  Bug reports and speed
enhancements are welcome.

Tom Quinn        Theoretical Physics, University of Oxford
Internet: 	 trq@dionysos.thphys.ox.ac.uk
JANET:    	 trq@uk.ac.ox.astro
Phone:		 44-865-273956
From: ware@organ.cis.ohio-state.edu (Peter Ware)
Newsgroups: fj.mail-lists.x-window
Subject: Re: FAQ for this group
Date: 25 Aug 92 20:25:06 GMT
Distribution: fj
Organization: Ohio State Computer Science

Date: 25 Aug 92 16:47:43 GMT
Message-Id: <WARE.92Aug25114743@organ.cis.ohio-state.edu>
Newsgroups: comp.windows.x


From the FAQ-Xt (export = export.lcs.mit.edu):
----------------------------------------------------------------------
2.  Related FAQ's
----------------------------------------------------------------------
David B. Lewis (uunet!craft!faq) maintains the FAQ on X.  It
is posted monthly on comp.windows.x and located on export in contrib/FAQ.

Liam R. E. Quin (lee@sq.sq.com) posts an FAQ list on Open Look to 
comp.windows.x.  

Jan Newmarch (jan@pandonia.canberra.edu.au) posts an FAQ list on Motif 
to comp.windows.x.motif.

Peter Ware (ware@cis.ohio-state.edu) is developing an FAQ list for
comp.windows.x.intrinsics; it is on export in contrib/FAQ-Xt.

--
Pete Ware / Ohio State University /
           ware@cis.ohio-state.edu
           (614) 538-0965
Too bad the Nike slogan isn't "Just Do It Right" instead of "Just Do It"
From: stolcke@icsi.berkeley.edu (Andreas Stolcke)
Newsgroups: fj.mail-lists.x-window
Subject: Re: What's new in R6?
Date: 28 Aug 92 11:40:01 GMT
Distribution: fj
Organization: International Computer Science Institute, Berkeley, CA, U.S.A.

Date: 28 Aug 1992 05:14:03 GMT
Message-Id: <17kcmrINN2u8@agate.berkeley.edu>
Newsgroups: comp.windows.x

In article <1992Aug28.044615.8892@odin.corp.sgi.com> mjk@hoot.esd.sgi.com (Mark Kilgard) writes:
:In article <1992Aug27.232636.7983@nosc.mil>, worthen@nosc.mil (Richard H. Worthen) writes:
:|> I've heard talk about a "multi-media" flavor for X. Is this true? 
:|> If so, will it be a part of R6? X12? 
:
:What do you mean just "talk of multi-media" for R6?
:With the XBell call, you can add audio to your clients
:today!

I think what the original poster was referring to was VIREX
(the Virtual Reality Extension).
And don't forget the upcoming Consortium Standards for olfactory and tactile
*output* devices. -:)

-- 
Andreas Stolcke					stolcke@icsi.berkeley.edu
International Computer Science Institute	stolcke@ucbicsi.bitnet
1947 Center St., Suite 600, Berkeley, CA 94704	(510) 642-4274 ext. 126
From: gaijin@ale.Japan.Sun.COM (John Little - Nihon Sun Repair Depot)
Newsgroups: fj.mail-lists.x-window
Subject: Re: GUIs Considered Harmful
Date: 31 Aug 92 08:50:33 GMT
Distribution: fj
Organization: Nihon Sun Microsystems - Atsugi Technical Centre - JAPAN.

Date: 30 Aug 92 23:09:44 GMT
Message-Id: <la2l9oINNs9o@cronkite>
Newsgroups: comp.human-factors,comp.windows.misc,comp.windows.x

In article <1992Aug30.205005.24796@arbi.Informatik.Uni-Oldenburg.DE>  \
Peter.Gorny@arbi.informatik.uni-oldenburg.de (Peter Gorny) writes:
% 
% bbrown@infonode.ingr.com (Bailey Brown) writes:
% > Is it really this hard?  What if someone handed you a 
% > a paper questionaire he had just filled out using 'X's instead
% > of check marks.  Would you have trouble figuring out which
% > boxes he had selected and which ones he had not selected?
% 
% The use of checkmarks (looking like a letter "V" in italics) is 
% culturally dependant -- it is an Anglo-American speciality; but 
% -- we know what you mean! In Germany we would "X" as a checkmark.
% 

   ...and just to prove the point that GUI's are not necessarily the great
   international panacea, here in Japan the  "X" (batsu) is regarded as  a
   negative indicator (ie:- -not- selected, or incorrect), while a  circle
   (maru) is generally used to indicate selection.

-- 
   ------------------------------------------------------------------------
  | John Little  - gaijin@Japan.Sun.COM  - Sun Microsystems. Atsugi, Japan | 
   ------------------------------------------------------------------------
From: xia@molbio.ethz.ch (Xia Tai-he)
Newsgroups: fj.mail-lists.x-window
Subject: How can I modify the default font in my program?
Date: 28 Aug 92 22:13:30 GMT
Distribution: fj
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH

Date: 28 Aug 92 16:41:50 GMT
Message-Id: <xia.715020110@odin>
Newsgroups: comp.windows.x

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
From: tjones@moose.cs.indiana.edu (terry jones)
Newsgroups: fj.mail-lists.x-window
Subject: Small program illustrating Xaw dialog problem...
Date: 31 Aug 92 06:24:12 GMT
Distribution: fj
Organization: Indiana University, Bloomington

Date: 31 Aug 92 03:52:47 GMT
Message-Id: <1992Aug30.225252.13889@news.cs.indiana.edu>
Newsgroups: comp.windows.x

Here is a small program that illustrates the Xaw dialog box problem
I described in the previous posting. You give this program one argument,
the number of dialog widgets to create. For me, the output is fine when
this is 11, but not fine when it is 12.

Terry Jones.


#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Dialog.h>        
#include <X11/Xaw/Form.h>        

main(argc, argv)
int argc;
char **argv;
{
    XtAppContext context;
    Widget toplevel, form, *dialog_widgets;
    Arg args[2];
    int i, nwidgets;
    
    /* Last arg is # of dialog widgets to create. */
    nwidgets = argc > 1 ? atoi(argv[argc - 1]) : 1;

    dialog_widgets = (Widget *) XtMalloc(nwidgets * sizeof(Widget));
    
    toplevel = XtAppInitialize(&context, "xprob", NULL, 0, &argc, 
        argv, NULL, NULL, 0);

    XtSetArg(args[0], XtNwidth, 300);
    XtSetArg(args[1], XtNheight, 600);
    XtSetValues(toplevel, args, 2);
    
    form = XtCreateManagedWidget("form", formWidgetClass, toplevel, NULL, 0);
    
    /* Make the dialog boxes. */
    for (i = 0; i < nwidgets; i++){
        XtSetArg(args[0], XtNlabel, "some random label");
        dialog_widgets[i] = XtCreateManagedWidget("dialog", dialogWidgetClass, 
            form, args, 1);
    } 
    
    /* Stack all but the first below the previous one. */
    for (i = 1; i < nwidgets; i++){
        XtSetArg(args[0], XtNfromVert, dialog_widgets[i - 1]);
        XtSetValues(dialog_widgets[i], args, 1);
    } 
    
    /* Give each of them a value widget. */
    for (i = 0; i < nwidgets; i++){
        XtSetArg(args[0], "value", "some random value");
        XtSetValues(dialog_widgets[i], args, 1);
    } 
    
    XtRealizeWidget(toplevel);
    XtAppMainLoop(context);
}