HDTenEightyP/NetNews huggingface dataset:
From: klee@wsl.dec.com (Ken Lee)
Newsgroups: comp.windows.misc,comp.human-factors
Subject: which window system/toolkit is easiest to program?
Date: 1 Sep 92 17:49:51 GMT
Reply-To: klee@wsl.dec.com
Organization: DEC Western Software Laboratory

I'm doing a little survey.  If you have developed real products using
different window systems or toolkits, which window system do you think
is easiest for develpers to program and why (specifically)?  My metric
is total design and development time for similar applications.

Some possible reasons for one window being more productive are:

1.  more sophisticated window system development tools
2.  more constructs/abstractions in window system toolkit
3.  programming constructs are higher level
4.  good integration between high level and low level constructs
5.  good integration with programmer's development environment
6.  good documentation
7.  base operating system provides better development environment

The windows systems/toolkits in which I'm most interested are:

1.  Microsoft Windows
2.  Macintosh
3.  Motif for UNIX workstations
4.  NeXT

I'm interested in your experience either using the API to the above
through code or through some UI builder or UIMS, but I'm only
interested in real world products, not school projects for limited user
bases.

Remember, the metric is not "which is more fun", but is "which helped
you ship your product in the shortest amount of time".  Please be as
specific as you can and consider this to be an opportunity to suggest
improvements to your favorite window system.  Please, no flames or
speculations from people who have not developed products with more than
one window system.  Post your input here or e-mail to me.  I will
summarize any e-mail responses.  Thanks for your help.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee
From: timmer@dutiag.tudelft.nl (I. Timmermans)
Newsgroups: comp.windows.misc
Subject: ole
Summary: ole
Keywords: ole
Date: 28 Aug 92 10:38:44 GMT


Hello, 

I'm looking for information on programming OLE applications for
Windows. More specific; I'm looking for the source code of a
sample OLE client application which is a bit less complicated
than the CLIDEMO sample of the SDK. I would like to know what the 
minimum is one should do to support a bit of OLE.

FYI: I'm writing a file viewer which should be able to view 
objects through using an OLE server (e.g. view a bitmap bycreating a link with PaintBrush).

I'm also looking for a simple sample program which explains how I
should create a metafile and copy it to the clipboard. So far, my
implementations (based on the Petzold book) haven't led to much
good. (Clipboard Viewer can display them, but Write can't).

I hope you can help me,
Hans Timmermans
(timmer@dutiws.twi.tudelft.nl)
(compuserve 75730,1727 (will be from internet: 75730.1727@compuserve.com))



Xref: sparky comp.windows.misc:1271 comp.human-factors:1977
Date:  1 Sep 92 11:13:38 GMT
Newsgroups: comp.windows.misc,comp.human-factors
Subject: Re: GUIs Considered Harmful
Distribution: comp
         ------------------------------------------------------------
From: jopa@tkk.tele.fi (Jorma Paananen)

> 	I've used X minimally (maybe I'll use it more when I get this
> Diamond SpeedSTAR 24 to work with 1024*768), and have found it very usefull.
> It's nice to have 3 xterms up and running (and being able to see them while
> I'm in another window) that still give me the CLI interface I NEED to develop.
> I can't use a GUI to do debugging or editting - I still use TECO which is a
> CLI based editor (even though I've made it do a LOT more than DEC's TECO in 
> the area of on-screen editting). I have to use my HANDS - I have a much 
> clearer view IN MY HEAD of what I'm trying to accomplish than any GUI
> programmer could provide me with. I've setup things under X that greatly
> improve things, but this is all because of the fact that I can SEE three
> or more things at once. 

Your tools are CLI type tools, so it is not suprising you like CLI interface.
I think that the important word is not GUI, but direct manipulation,
and how to make it easy (and fast). Try sometimes to use your X enviroment
more than just to see more. I don't find icons, buttons and pretty pictures
etc so important, but to use mouse AND keyboard to handle something
on the screen (even if it is only text) is faster than only with
keyboard, when you are good at using both and you know when to use
mouse (and you use software that doesn't prevent it).

I use a GUI enviroment as my frontend to our unix etc machines and
at least I have found this mixed CLI - GUI enviroment good.

Jorma jopa@th.tele.fi
-----
It's not an optical illusion, it just looks like one.
Newsgroups: comp.windows.misc
From: vscarafi@eccdb1.pms.ford.com (Vincent F. Scarafino)
Subject: Re: Window and * megs of ram, what next?s
Originator: news@pms001
Organization: Ford Motor Co.
Date: Thu, 27 Aug 1992 14:43:12 GMT

nauman@Pt.hq.af.mil (Stratton D Nauman) writes:

 ......

> 3.  The rest of the memory (640 k for DOS, 7200k extended) The extended
> memory, I split up between Windows, and Smartdrv.  Smart drive Cache
> size is something thats sort of a user preference thing, however, I
> use a 2 megabyte size.  Im thinking about changing it to make it a little
> bit bigger.

For most workload characteristics, increasing the smardrv cache beyond 2
meg does not appreciably increase the cache hit ratio.  You are probably
better off leaving the extra memory with Windows.

Vince
Xref: sparky comp.windows.misc:1264 comp.sys.ibm.pc.misc:12092
Newsgroups: comp.windows.misc,comp.sys.ibm.pc.misc
Subject: How do you drive two independent monitors????
From: elemjm@ccu1.aukuni.ac.nz (Michael Miles)
Date: Tue, 1 Sep 1992 02:23:23 GMT
Organization: University of Auckland, New Zealand.

I originally posted some questions regarding the independent use of two 
monitors on the same computer. The idea behind this is:
- to run a data acquisition program under Windows 3.1 using the colour VGA
  monitor.
- to run a separate program (to be written in Turbo C++, Turbo Pacsal 6.0, or
  Turbo Pascal for Windows) to display a small moving object on a different
  monitor, but connected to the same computer.
- a person watching the second monitor, following the object with their eyes,
  has their pupil positions recorded by some A/D board, controlled by the
  acquisition software seen on this first monitor.
- it would be nice if the second monitor was also VGA, to avoid ghosting from
  the moving object.


I have further questions...
- Is there a particular type/make of video card which will permit using two
  (VGA) monitors independently?
- Are there any other companies which sell these sorts of products?
- What are their postal or phone, fax contact details so I can get in touch 
  with them?
- Has anyone out there done this sort of thing before?


I will post solutions once I have gathered sufficient information.

Thanks,
Mike Miles.


Newsgroups: comp.windows.misc
From: jtb5@po.CWRU.Edu (Justin T. Ballard)
Subject: Okidata 92 and Windows
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Date: Fri, 28 Aug 92 19:36:48 GMT


I have an okidata 92 printer(rusty but trusty) and basically the
windows driver I have for it doesn't work. How come? Does anybody
have a fix for me. It sucks not being able to print out. Please
e-mail me respones. Thanks!

-- 
					Justin Ballard
					jtb5@po.cwru.edu
Newsgroups: comp.windows.misc
From: mperlman@nyx.cs.du.edu (Marshal "Airborne" Perlman)
Subject: GDI.EXE ERROR
Organization: University of Denver, Dept. of Math & Comp. Sci.
Date: Fri, 28 Aug 92 17:32:28 GMT

what the hell is this GDI.EXE error i get w/ windows
all time time? I reinstalled the damn thing and it stil does it
<but less often>.

I'm glad i got this copy of windwos as a present..heh <G>..last
time i give bill gates me $.
--
Generic Signature:
Marshal Perlman - Huntington Beach - California - USA - Earth - Milky Way
yaW ykliM - htraE - ASU - ainrofilaC - hcaeB notgnitnuH - namlreP lahsraM
                                                        :erutangiS cireneG
Newsgroups: comp.windows.misc,comp.windows.ms
From: Jon.Biddell@unsw.edu.au (Jon Biddell)
Subject: Re: Window and * megs of ram, what next?s
Organization: University of NSW
Date: Mon, 31 Aug 1992 13:00:59 GMT

In article <1992Aug20.013627.8012@a.cs.okstate.edu> munn@a.cs.okstate.edu (MUNN THOMAS JOSEPH) writes:
>From: munn@a.cs.okstate.edu (MUNN THOMAS JOSEPH)
>Subject: Window and * megs of ram, what next?s
>Date: Thu, 20 Aug 92 01:36:27 GMT

> 
>I have just bought 8 megs of ram for my 386.  I cannot decide what to
>do, do I set up a four meg cache, a one meg cache, and a 3 meg ramdisk
>(for windows temp files), or just a one meg cache and give the rest
>to windows.  Which is the fastest approach (eg will realize the most speed?)

Never, read my lips, NEVER put Windows temp files in a Ram Disk  !!!  What 
if it gets full in the middle of (for eg.) a Corel redraw ???  As happened 
to me today when I tried to prove this to someone, supremo crash !!!

Try using a 2Mb cache, and use HyperDisk for the caching program... Let me 
know if you want a copy of the latest one....  It's great !!

Jon




 __^__                                                              __^__
( ___ )------------------------------------------------------------( ___ )
 | / | Jon Biddell              Email: Jon.Biddell@unsw.EDU.AU      | \ |
 | / | PC Consultant            Snail: P.O. Box 1 KENSINGTON  2033  | \ |
 | / | University of NSW        Voice    : +61-2-697-2929           | \ |
 | / | Sydney, NSW, Oz          Fax      : +61-2-662-2057           | \ |
 | / | DoD #: 577               VoiceMail: +61-2-962 0080           | \ |
 | / |--------------------------------------------------------------| \ |
 | / | Quote of the week...                                         | \ |
 |___|           Quote deleted do to lack of creativity !!!         |___|
(_____)------------------------------------------------------------(_____)
   ^                                                                  ^
Newsgroups: comp.windows.x
From: rrb@seas.smu.edu (Robert R. Bailey)
Subject: XView and XGetImage
Summary: getting an image that is larger than the window
Organization: School of Engineering and applied science; S.M.U.; Dallas, Tx
Date: Fri, 28 Aug 1992 03:18:37 GMT

I am working with a 7-bit gray scale image and an overlay of several colors
using XView on a Sun SPARC.  After displaying the image and generating the
overlay, I can't seem to read the resulting image back so that I can write
it out to a rasterfile.

The following is a summary of how I display the image:
  dsply = (Display *) xv_get( canvas, XV_DISPLAY);
  win = (Drawable) xv_get( canvas_point_window( canvas), XV_XID);
  set color map;
  xi = XCreateImage( dsply, default_visual, 8, ZPixmap, 0, data,
    width, height, 8, width);
  XPutImage( dsply, win, gc, xi, 0,0,0,0, width, height);

Now, I draw on top of the image:
  XDrawLine( dsply, win, gc, x,y,x,y); 
  etc.;

I can scroll around and draw some more.
Now I want to take the resulting modified image and write it to a rasterfile.
(If I can get it to an XImage, I can to it.)  I tried:
  new_xi = XGetImage( dsply, win, 0,0, width,height, AllPlanes, ZPixmap);

But this does not work.  I can only get that part of the image that is
currently displayed in the window, which is smaller than the whole
(1024 X 1024) image.

How do I get the whole image?

Thanks for any suggestions.

Bob Bailey
-- 
From: Bob Bailey = rrb@seas.smu.edu
Xref: sparky comp.windows.x:15700 comp.windows.x.motif:5855
From: jel@creare.creare.com (Jeffrey E. Lewis)
Newsgroups: comp.windows.x,comp.windows.x.motif
Subject: Re: Load an XWD image onto a window.
Date: 26 Aug 92 13:08:06 GMT
Reply-To: jel@creare.UUCP (Jeffrey E. Lewis)
Organization: Creare Inc., Hanover, NH

Hello Netter,
  I am looking for source code that will allow me to load an xwd image and
place it onto a window given the id.  I have tried using xloadimage but it does
seem to work.  Can you direct me to an FTP site or give me any information on
this task.

 
ad(thanks)vance
Little Louie,

+-----------------------------------------------------------------------------+
| CREARE: Engineering Research and Development, Computer Systems and Software |
|    Creare, Inc. * Etna Road * P.O. Box 71 * Hanover, New Hampshire 03755    |
|                      603 643-3800 * FAX 603 643-4657                        |
|                Jeffrey E. Lewis * Internet: jel@creare.com                  |
+-----------------------------------------------------------------------------+
From: rjc@cogsci.ed.ac.uk (Richard Caley)
Newsgroups: comp.windows.x
Subject: What would this window obscure?
Date: 27 Aug 92 17:35:42 GMT
Distribution: comp
Organization: Human Communication Research Center


Appologies if this is a simple question. Is there an efficiant way of
finding out which parts of which windows show inside a given
rectangle. I think this is equivalent to asking what expose events
would be generated by creating a window coverring that rectangle and
then removing it.

I could calculate this the hard way, but presumably the server can do
it quickly and it would be nice to gbet hold of that information.

--
rjc@cogsci.ed.ac.uk			_O_
					 |<
From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute)
Newsgroups: comp.windows.x
Subject: Re: Converting Window ID to Widget
Date: 1 Sep 1992 06:48:31 GMT
Organization: CS Department, Dortmund University, Germany
Distribution: world
NNTP-Posting-Host: tommy

In article <1992Aug31.212218.11573@sparky.imd.sterling.com>,
dave@IMD.Sterling.COM (Dave Krejci) writes:
|> My problem is that I haven't been able to find
|> a way to convert a window ID into a toplevel widget name.

XtWindowToWidget()

-- 
  Dipl.-Inform. Rainer Klute      klute@irb.informatik.uni-dortmund.de
  Univ. Dortmund, IRB
  Postfach 500500         |)|/    Tel.: +49 231 755-4663
D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
From: desktop@strobe.ATC.Olivetti.Com (Jon Ericson)
Newsgroups: comp.windows.x
Subject: Re: Anyone got X11R5 running on SCO Unix with Trident SVGA?
Date: 26 Aug 92 08:39:34 GMT
Organization: Olivetti ATC; Cupertino CA, USA

In article <1992Aug25.132339.13414@cbnewsj.cb.att.com> dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:

>X11R5 (X386 1.2) does not support the Trident chipset.  There is currently
>an effort in progress to develop a Trident driver for X386 1.2E, an
>enhancement package for X386 1.2.  I can't give any timeline for
>completion of this development (the Trident chipset is an odd beast).

Does anyone know where to get the specs for the Trident "odd beasts" ?  :-)
Any idea of the company address, fax number, or other useful information?

Thanks

Elio Tondo
Olivetti - Image Processing R&D - Pisa, Italy

email: elio@carmen.ico.olivetti.com
Newsgroups: comp.windows.x
From: dvanderr@oracle.com (Danny Vanderryn)
Subject: Xkernel on diskless Sun3?
Organization: Oracle Corporation.  Redwood City, CA
Date: Wed, 2 Sep 1992 18:06:07 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.

I have 2 Sun3's lying around, and i'd like to use them as X terminals.
The only problem is that they don't have working disks.  Does anyone
have any experience or ideas on booting XKernel from a boot host?
what about fonts or other auxiliary files?  

i don't imagine there will be much interest, so please reply be
e-mail.  if there is, i'll summarize.

thanks
danny vanderryn
dvanderr@oracle.com
--
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: tjones@moose.cs.indiana.edu (terry jones)
Newsgroups: comp.windows.x
Subject: Small program illustrating Xaw dialog problem...
Date: 31 Aug 92 03:52:47 GMT
Organization: Indiana University, Bloomington

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);
}
From: rogerk@Veritas.COM (Roger B.A. Klorese)
Newsgroups: comp.windows.x
Subject: Re: SCO Upgrade + X11R5
Date: 3 Sep 92 21:17:58 GMT
Organization: VERITAS Software

In article <1992Sep2.114500.49594@ccvax.ucd.ie> tmod@ccvax.ucd.ie writes:
> One more thing ... How come SCO's Open Desktop still only supports X11R3 ???

Because it costs engineer time to port, qualify, test third-party software...
time which SCO decided could be used better elsewhere.
-- 
ROGER B.A. KLORESE                                             VERITAS Software
4800 Great America Parkway #420   Santa Clara, CA 95054    +1 408-727-1222 x310
rogerk@veritas.com                               {apple,pyramid}!veritas!rogerk
"Life turns on a dime." -- Ruth Ann
Newsgroups: comp.windows.x
From: rogerg@bluemoon.rn.com (Roger Grywalski)
Subject: Re: Drawing Networks
Organization: Blue Moon BBS ((614) 868-998[024])
Date: Tue, 25 Aug 92 21:04:41 EDT

johnston@hplabsz.hpl.hp.com (Michael J. Johnston) writes:

> Does anyone know of a package that would run under X-windows
> which will provide a graphical representation of finite state
> networks? I am looking for something that will take as input
> a series of specifications of labelled nodes and labelled
> arcs between those nodes and generate a graphical representation.
> 
> Michael Johnston
> UCSC
> johnstn@ling.ucsc.edu
> 
> 

I work for a company that makes a X/Motif package called NETMAP.  It is 
used to analyze large complex networks utilizing some very unique graphing
techniques.  It has been used to analyze everything from software to drug
trafficing networks.  If you would like more details you can email:
roger@alta-oh.com.

 This is from
     rogerg@bluemoon.rn.com
who doesn't have his (or her) own obnoxious signature yet
Newsgroups: comp.windows.x
From: skok@itwds1.energietechnik.uni-stuttgart.de (Holger Skok)
Subject: FONT Handling -- HOW? 
Organization: Inst. f. Thermodynamik u. Waermetechnik (ITW), U. of Stuttgart, FRG
Distribution: na
Date: Fri, 28 Aug 1992 14:25:20 GMT

Hi,

I'm a complete newby to X and just trying to get a c-source to run. It
compiles alright, finds all the right libraries, but crashes when
attempting to load a font. Source lines:

	font = XLoadFont(disp, "10x20\0");	/* If you don't have this
		font, try replacing it with 9x15\0	*/

Upon reaching this call the program exits and tells me that the font
cannot be found. 
The fonts reside in an unusual directory, namely
/usr3/X11R5/lib/X11/fonts/misc, I'm running ULTRIX4.1 on a DecStation
2100, and use the twm windows manager. 


Are there any environment variables I could set to point to that font,
could I (crude approach) copy the font to the dir where the executable
resides, can I name the fontpath explicitly in the source, do I have to
tell the twm somehow?

Thanks in advance for any help I might get.

-- 
*************************************************
*	Those stupid, horse-brained masses! 	*
*			OPUS on honker surgery  *
*******************************************HSK***
Newsgroups: comp.windows.x
From: rll@frieda.mitre.org (Roberto L. Landrau)
Subject: X authority file utility: xauth
Summary: How?
Organization: Research Computer Facility, MITRE Corporation, Bedford, MA
Date: Wed, 26 Aug 1992 12:09:51 GMT


So far, I have been using the ``xhost'' command to grant access to
other hosts to connect to my X server.  I have included the command
``xhost +'' in my .xinitrc, which allows any host (or users on that
host) to display clients on my server.  While this is not a
catastrophic situation, I would prefer to use xauth to grant access on
a USER basis instead of a HOST basis, allowing me (and only me) to
display clients running on different hosts.  I have tried (just like
it says on the manpage) 

	xauth extract -$DISPLAY | rsh other xauth merge -

I can log in to ``other'' and extract the information about the
original host.  The file ~/.Xauthority exists on both hosts (the
remote and the server) with -rw------- protection.

My question is:  What else needs to be done?  As it is, it does not
grant access as I expected.

Other information:

I am currently using X on a Sun Sparc 2, X11R4.  It is not possible
(or practical) for me to run xdm, since I don't have access to the
root password.

Thanks.
--
The opinions stated above are not necessarily my employer's.
----------------------------------------------------------------
Roberto L. Landrau    KC1YP    landrau@mitre.org  rll@linus.mitre.org
The MITRE Corporation  Bedford, MA 01730          rll@linus.UUCP
Newsgroups: comp.windows.x
From: jcc@ecos.unh.EDU
Subject: Please Unsubscribe me.
Organization: The Internet
Date: Tue, 1 Sep 1992 21:13:38 GMT


I now have access to mxrn, so please unsubscribe me.

Many thanks.
Newsgroups: comp.windows.x
From: adamfox@super.org (Adam Fox)
Subject: No cursor in R5 on a sun3
Keywords: cursor, R5, sun3
Organization: Supercomputing Research Center, Bowie, MD  USA
Date: Fri, 28 Aug 1992 13:58:11 GMT


I am just put R5 (pl 10) on my sun3/470 and all works fine except that my
cursor is invisable.  I can still move the mouse and the effects of the cursor
work fine, it is fully functional, it's just not visable.  I looked through
my notices for the patches and did not see this problem, maybe I missed it.

Anyway, please help.  E-mail would be preferable.


Thanks

-- Adam Fox
Systems Programmer/Administrator
Supercomputing Research Center
adamfox@super.org
Newsgroups: comp.windows.x