HDTenEightyP/NetNews huggingface dataset:
From: tang@braun.stanford.edu (Steve Tang)
Subject: Re: My ibuild program will not find its resource file!
Organization: Stanford University
Date: 15 Apr 92 16:41:57


IBuild's generated code actually will read your xresources but since
the generated code already has property specified for each instance of
interators, you'll have to specify properties on a per instance basis
in order to dominate over the prefabed ones (You can look at your
XXX-props file to find out what the properties are).  If all you want
is to do XXXX*foreground: ???? then you can edit the props file and
get rid of all the foreground related properties and it will work.


Steve
From: mw06@newshost.gte.com (Mark Weissman)
Newsgroups: comp.windows.interviews
Subject: InterViews and other bits of confusion
Date: 13 Apr 92 22:42:48 GMT
Organization: GTE Laboratories, Waltham, MA

I gave up trying to use g++ and tried sun C++ instead.
I built interviews on a SPARC with X11R5.
I still notice some strange behavior.  

The font menus for ibuild, idraw and schem
display the names of fonts with black text on a black background.
They do change the font indicated in the status line though.

In ibuild, after creating most object types and displaying a menu,
the text on the object (Message, Button etc) and the background colors
become the same.  That is, the text is no longer readable.

In schem, if I fork a window with "Create Alias" and then do
try to finish it with "Definition" I get a core dump.

When I use doc to examine the documents in doc-examples/intro.doc
from the directory doc-examples, The figures do not appear in the
document, only boxes with the names of the figures.

Help?

Mark Weissman
Newsgroups: comp.windows.interviews
From: nishi@sumitomo.com (Minoru Nishimura)
Subject: (none)
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 10 Apr 1992 05:54:05 GMT

Subject: mailing list

Hello,

    I would like to be added to the Interviews mailing list.
    My e-mail address is:   nishi@sumitomo.com

Thanks,

Minoru  Nishimura
nishi@sumitomo.com
Sumitomo Electoric U.S.A., Inc
3235 Kifer Rd, 150
Santa Clara, CA 95051
(408)737-8517
Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: g++ 2.1 and other bits of confusion
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 13 Apr 1992 13:18:33 GMT


In article <15931@bunny.GTE.COM>, you write:

> I want to build a program that lets me draw connected objects
> and dump a description of the connectivity model for some other
> program to use.  Is InterViews the right tool for this?  How much
> work am I in store for.  I thought I could hack up idraw,ibuild or
> some such gadget.

You might look at schem, a demo program for schematic capture that you
can ftp from interviews.stanford.edu in pub/contrib/schem.tar.Z.  It's
built with Unidraw.  Unfortunately, its only documentation appears in my
thesis, which you can order at nominal cost from Naomi Schulman
(schulman@shasta.stanford.edu). Ask for a copy of CSL-TR-90-427.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: rohit@brc.uconn.edu (Rohit (The Great) Gupta)
Subject: Addition to mailing list.
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 10 Apr 1992 20:48:22 GMT


Please add me to the Interviews mailing list 

Thanks

Rohit Gupta
Newsgroups: comp.windows.interviews
From: bennouar@VLSI.POLYMTL.CA (Djamal-Eddine Bennouar)
Subject: remove me from the mailing list
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 13 Apr 1992 15:49:27 GMT

Please remove me from the mailing list.
Djamal BENNOUAR
From: G.Joly@cs.ucl.ac.uk (Gordon Joly)
Newsgroups: comp.windows.interviews
Subject: Is 3.0.1 mostly 2.6?
Date: 8 Apr 92 10:08:44 GMT


It seems that all of the demos, with exception "alert" Use2_6, and
that code from ibuild is also 2.6 code.

Is the really the case, or did I miss something?

____

Gordon Joly                                       +44 71 387 7050 ext 3703
Internet: G.Joly@cs.ucl.ac.uk        UUCP: ...!{uunet,uknet}!ucl-cs!G.Joly
Computer Science, University College London, Gower Street, LONDON WC1E 6BT
Newsgroups: comp.windows.interviews
From: adobe!hadar.fai.com!glenl@LABREA.STANFORD.EDU (Glen Larsen)
Subject: Re: ivmkmf template macro for "MakeObjectOnly".
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 7 Apr 1992 16:58:53 GMT

On 7 Apr 92 09:39:35 GMT ID:<2459@ucl-cs.uucp>, you write:
> Is there a macro to make objects files only (*.o files), that is to
> say *not* to build a library or an a.out?

Imakefiles are actually very simple to manipulate.  To do what you
want to do, all imake needs is the rules to build the source into an
object (MakeObjectFromSrc), an "all:" target (AllTarget) that will
just build your objects, and a list of dependencies.  If you use
ComplexProgramTarget, you will have to comment it out since it does
"all of the above" for you.

Here's the Imakefile I played with to get an object-only build,

/*----*/
SRCS = $(SRC)/example.c $(SRC)/main.c
OBJS = example.o main.o

Use_libInterViews()
/* ComplexProgramTarget(main) */

MakeObjectFromSrc(example)
MakeObjectFromSrc(main)

AllTarget($(OBJS))
DependTarget()
/*----*/

Take a look in $IVTOP/installed/config/InterViews/rules.def for
details of available imake macros.

-glen

---
Glen Larsen                                               glenl@hadar.fai.com
Fujitsu Network Transmission Systems                            (408)456-7890
Software Technology Group, San Jose, LeftCoast USA
From: utano@cassiopeia.trl.OZ.AU (Anthony Utano)
Newsgroups: comp.windows.interviews
Subject: Problems in Unidraw
Keywords: InterViews Unidraw
Date: 8 Apr 92 06:28:04 GMT
Organization: Telecom Research Labs, Melbourne, Australia



Hi  Everybody

We are creating a graphical editor using Unidraw, and
and a point we have access to a COMPONENT_VIEW. From
this we want to find the viewer that this view
is in. 
In grview.c ( from the library ), there is this member
function of GraphicView, which is advertised as 
"Return the viewer( if any) that displays the view )" 

The actual member function is as follows...(From lib)
Viewer* GraphicView::GetViewer () {
    GraphicView* parent = (GraphicView*) GetParent();

    if (parent == nil) {
        return nil;
    } else {
        return parent->GetViewer();
    }
}

Now this will always return nil, as it is 
'recursive' UNLESS there is some GraphicView which explictly
has overloaded GetViewer to return a useful value. [ y/n 
am I on the right track ?]

This seems a little unusual, I would think that a view
should always be able to find its viewer...  

The system I am working on is similar to Idraw, I suspect
that the top level view is suspect ??
Any clues, is GraphicView::GetViewer wrong?


Thanks in advance,

Anthony Utano

Email:	a.utano@trl.oz.au
Newsgroups: comp.windows.interviews
From: adobe!hadar.fai.com!steves@LABREA.STANFORD.EDU (Steve Sun)
Subject: Re: How do I get mouse ...
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 10 Apr 1992 02:00:03 GMT

>Date: Thu, 9 Apr 92 13:39:35 MST
>From: adtsp%deneb.aries.saic.com@uunet (Steve Pothier)
>Subject: How do I get mouse sensitivity for a polygon?
>
>
>I want to output some info when the user clicks on one of these drawn
>polygons.
>
>I really just want to be able to attach a handler to a
>GraphicComponent.
>
>Any pointers would be appreciated (even if its just to tell me its
>really is as convoluted as it seems).
>
>Thanks,
>Steve Pothiers
>pothiers@tuva.saic.com 


Hello:

What you can do is 
1. Subclass a tool (e.g. MyTool) from Tool and
put it in the tool palette of your application.
The CreateManipulator of MyTool will be like:
       :
       :
    newSel = views->ViewIntersecting(e.x-SLOP,
         e.y-SLOP, e.x+SLOP, e.y+SLOP);
    if (newSel->IsEmpty()) {
        s->Clear();
    } else {
        newSel->First(i);
        gv = newSel->GetView(i);

        s->Clear();
        s->Append(gv);
        s->Update();
    }
    m = gv->CreateManipulator(v, e, rel, this);
    delete newSel;
    return m;
       :
       :
2. Modify the CreateManipulator of your 
PolygonViews so it recognizes MyTool.  For
example,
       :
       :
else if (tool->IsA(MY_TOOL)) {
	//output the info that you want here
}
       :
and return back a nil Manipulator so the Viewer won't
execute MyTool's InterpretManipulator.
3. When you run the application, select MyTool
in the tool palette, then click on any PolygonViews
in the viewer.  This should output the info that you
specified in PolygonViews' CreateManipulator.
Hope this will help.




Steve Sun
Fujitsu Network Transmission System, Inc.
3099 N. First St.
San Jose, CA 95134
E-mail: steves@hadar.fai.com
Tel: (408)456-7834
Fax: (408)456-7992
Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: Minidraw
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 6 Apr 1992 13:47:42 GMT


In article <9204021621.aa21683@Paris.ics.uci.edu>, you write:

> I was trying out Minidraw program in one of the tutorial. The compiling
> process is fine, but it gives me tons of errors while linking. Here
> are just a few of them :
...
> I think the error is in my Imakefile, but not sure where, can someone
> help!

Minidraw uses the old structured graphics library, libgraphic.  Just add

    Use_libgraphic()

to your Imakefile.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: Finite State Machine Editor
Organization: Internet-USENET Gateway at Stanford University
Date: Sat, 11 Apr 1992 22:03:46 GMT

Hi,
	I had asked this question before also but I did not get any reply. Is there a FINITE STATE MACHINE (FSM) EDITOR based on InterViews available anywhere. I would greatly appreciate any pointers regarding this. I need it urgently for 
my project work. I heard that somrthing similar to that is available at the 
University of Waterloo. I request help in this regard.

Thanks,

HELP     ----- HELP  ------ HELP  

Sriram Chittathoor

(203) 427-6705
(203) 486-5305 
sriram@brc.uconn.edu
From: senol@caroline.ee.pitt.edu (Senol Kucuk)
Newsgroups: comp.windows.interviews
Subject: doc on SS1+ w/ X11R5, PostScript problem...
Keywords: SS1+, X11R5, PostScript, Doc, Fonts,...
Date: 15 Apr 92 02:20:27 GMT
Distribution: comp
Organization: University of Pittsburgh, EE Dept., CVPR-Lab.
X-Md4-Signature: c68c0c0d337693eae1c7f46ab0970268


	Howdy. I just picked up the shared libraries and the binaries
for doc and idraw programs. I am running SunOS4.1 on SS1+ and my X
server is X11R5. 

	Everything works fine, except that I cannot print the
PostScript code generated by doc since it refers to fonts by their X
names like,

	14 /-adobe-times-bold-r-normal--14-140-75-75-p-77-iso8859-1 sf
	10 /-adobe-times-medium-r-normal--10-100-75-75-p-54-iso8859-1 sf

	How can I make it use the built in PS fonts? Thanks in
advance... 

--
--
  Senol Kucuk, Department of Electrical Engineering, University of Pittsburgh
     {senol,snkst4,kucuk}@{{unix,vms}.cis.pitt.edu,pitt{vms,unix}.bitnet}
From: koelma@fwi.uva.nl (Dennis Koelma)
Newsgroups: comp.windows.interviews
Subject: unimplemented features
Date: 7 Apr 92 12:30:29 GMT
Organization: FWI, University of Amsterdam

I want to develop a user interface with InterViews 3.0.1.
However a lot of features are not implemented in this version (at least
I didn't find them):
toggle buttons, radio buttons, dialogs, browsers, choosers, editors.
Some of the examples I've seen use these kinds of objects, so I presume they
did exist in a previous version.

Question: are the objects going to be a part of version 3.1 ?
	  why were they removed in version 3.0.1 ?

					Dennis
					koelma@fwi.uva.nl
Newsgroups: comp.windows.interviews
From: eto@ds10.kagi.esed.mt.nec.co.jp (Miki Eto)
Subject: Image displaying performance
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 13 Apr 1992 23:57:54 GMT

I used tiff viewer using the book called "Programming with InterViews"
as a reference manual.
I measured the cost of displaying linton.tif on an EWS4800 workstation,
it took about 22 seconds to display the image.
An EWS4800 workstation contains an R3000A CPU chip (33MHz, 37MIPS).


I would appreciate it if anyone could give me some information 
which would allow me to achive better performace
than the trial indicated above.

					Your sincerely.
 						Miki Eto

	
Newsgroups: comp.windows.interviews
From: lehman@PINKPANTHER.LLNL.GOV (Sean Lehman)
Subject: mailing list
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 15 Apr 1992 21:05:02 GMT

Please remove me from the mailing list 

Thanks



-->skl (Sean K. Lehman)
 LEHMAN2@llnl.gov
 lehman@tweety.llnl.gov      (128.115.108.23)
Newsgroups: comp.windows.interviews
From: anicolao@watcgl.waterloo.edu (Alex Nicolaou)
Subject: Getting a Nicer Look out of InterViews? (3.0)
Organization: Computer Graphics Laboratory, University of Waterloo, Ontario, Canada
Date: Mon, 13 Apr 1992 04:03:53 GMT


I was looking through the source and see tantalizing files like ol_glyph.h,
but cannot locate anything that tells me how or if I can use a different
looking style. The default interviews "look" is - well - unsatisfactory, to
say the least.

Is there any way I can get a better look? I'm not against writing code to
do it but I'm hopeful that there is something already provided and I was
just unable to figure it out.

alex
From: bettingr@cs.Buffalo.EDU (Keith Bettinger)
Newsgroups: comp.windows.interviews
Subject: Re: Raster images in IV
Keywords: Raster converters ?
Date: 9 Apr 92 14:23:52 GMT
Organization: State University of New York at Buffalo / CEDAR Research Group
Originator: bettingr@spica.cs.buffalo.edu


In article <wdstULS00UhW89Cl1w@andrew.cmu.edu>, jb6o+@andrew.cmu.edu (Jason Andrew Barshay) writes:
|> [...]
|>
|> Is there any other format image that can be displayed in
|> IV?  
|>
|> [...]
|>
|> Thanks,
|> Jason

As my first program in InterViews, I hacked up a HIPS to Raster converter with some reasonable success.  It can read both byte format and MSBFirst bitpacked images (haven't tried any LSBFirst images).  You're welcome to it, if it will help.

I am also wondering what other formats people have written Raster converters for.
This type of information seems particularly good to be passing around.

								Keith

-------------------------------------------------------------------------
Keith E. Bettinger                  "All of us get lost in the darkness
CEDAR - Center for Excellence in     Dreamers learn to steer by the stars
 Document Analysis and Recogntion    All of us do time in the gutter
                                     Dreamers turn to look at the cars."
INTERNET: bettingr@cs.buffalo.edu                           - Neil Peart
UUCP: ..{bbncca,decvax,rocksvax,watmath}!sunybcs!bettingr
-------------------------------------------------------------------------
Newsgroups: comp.windows.interviews
From: vanessa@SPIDERMAN.BU.EDU (Vanessa C. Feliberti)
Subject: how a command can draw
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 15 Apr 1992 21:18:00 GMT


I am a novice InterViews/Unidraw user so please excuse me if
this question is simplistic.

I am working on the development of a GUI for an application
that requires querying a database.  I want to be able to query the
database and then represent the results as what I have  defined
as bubbles.  I have created a BubbleComp, BubbleView and BubbleGraphic
which are derived from GraphicComps, GraphiicViews, and Picture
respectively.

My interface is based from the Punidraw editor.

I have a problem when I try to implement a QueryCmd which
calls the database function, creates bubbles for all the
results and displays(or pastes them) into the editor.

My code for QueryCmd::Execute() looks like this:

s = _editor->GetSelection();
  
  s->Clear();
  .
	.
	.
	.
  QueryDatabase(name,number,nodes); // name is the keyword
				   // number is the number of returned results
				   // nodes is a list of pointers to the
			           // returned objects
    /* create bubble */
  SF_Circle* circle = new SF_Circle(0,0,unit,stdgraphic);
  BubbleGraphic* bubbleGraphic = new BubbleGraphic(circle, "Bubble");
  BubbleComp* bubbleComp = new BubbleComp(bubbleGraphic);
  BubbleView* bubbleView = new BubbleView(bubbleComp);

	.
	.
  // put each returned object in the clipboard 
 for(i=0;i<number;i++){
	g->Translate(x,y);
       Command* cmd = new PasteCmd(_editor, new Clipboard(bubbleComp));
        Graphic* g = bubbleComp->GetGraphic();
	bubbleComp->Interpret(cmd);

	.
	.

My application crashes inside the Interpret call during the first
iteration of the loop.

Does anyone have any clues as to why this is happening?  Any
help is  greatly appreciated.

Thank you,
Vanessa Feliberti
vanessa@spiderman.bu.edu
Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: Getting a Nicer Look out of InterViews? (3.0)
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Tue, 14 Apr 1992 17:56:16 GMT

In article <1992Apr13.040353.22761@watcgl.waterloo.edu>, anicolao@watcgl.waterloo.edu (Alex Nicolaou) writes:
|> 
|> I was looking through the source and see tantalizing files like ol_glyph.h,
|> but cannot locate anything that tells me how or if I can use a different
|> looking style. The default interviews "look" is - well - unsatisfactory, to
|> say the least.
|> 
|> Is there any way I can get a better look? I'm not against writing code to
|> do it but I'm hopeful that there is something already provided and I was
|> just unable to figure it out.

If you use the Kit class then you have as good a look as available
in 3.0.  The 3.1 Kit implementation is better, though not complete.
From: hoffman@albirio.NoSubdomain.NoDomain (William A. Hoffman)
Newsgroups: comp.windows.interviews
Subject: Resource in iv 3.01
Keywords: memory leak, subject, resource
Date: 14 Apr 92 23:27:45 GMT
Organization: GE Corporate R&D Center



	I am using the 2.6 compatibility mode in iv 3.01.  Several of my classes
inherit from Subject which inherits from Resource.  My program had a large
memory leak because of the following:


int Session::run() {
// stuff deleted
    do {
        read(e);
        e.handle();
    } while (!done);
}
 
void Event::handle() {
    Handler* h = grabber();
    if (h == nil) {
        h = handler();
    }
    if (h != nil) {
        boolean b = Resource::defer(true);   // this is the problem
        h->ref();
        h->event(*this);
        h->unref();
        Resource::flush();
        Resource::defer(b);
    }
}
 

All my code is going to be executed from the e.handle() call.  In effect this
means that Resource::defer is defaulted to true not false as it is stated in
the manual.   

	Is this a bug or a feature?  Should I wrap all my code that is called
from handle functions with:

	b = Resource::defer(false); my code;  Resource::defer(b);  



			-Bill Hoffman (hoffman@crd.ge.com)
Newsgroups: comp.windows.interviews
From: zq@eecg.toronto.edu (Qing Zheng)
Subject: Bug in RubberGroup
Date: 6 Apr 92 14:42:48 GMT

Rubberband* RubberGroup::Next() {
    cur = list->Next();  // Should be cur = cur->Next();
    return cur->rub;
}

Rubberband* RubberGroup::Prev() {
    cur = list->Prev(); // Should be cur = cur->Prev();
    return cur->rub;
}


---Qing

Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: Are binaries available?
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 10 Apr 1992 16:48:39 GMT


In article <9204092141.AA05023@ho13.eng.ua.edu>, you write:

> We have a network of RS 6000's (520 AIX 3.1.5) and I was
> wondering whether anybody has binaries for some of the
> Interviews tools like doc, idraw, etc, that could be
> obtained through ftp.

I've placed compressed binaries for doc, idraw, and iclass in
pub/contrib/{doc,idraw,iclass}.ibm-aix3.1.Z on
interviews.stanford.edu.  These are 3.1.5 binaries built against R5.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
From: prestonm@cs.man.ac.uk (Martin Preston (Research Student))
Newsgroups: comp.windows.interviews
Subject: Re: Raster images in IV
Date: 13 Apr 92 07:36:10 GMT

In <wdstULS00UhW89Cl1w@andrew.cmu.edu> jb6o+@andrew.cmu.edu (Jason Andrew Barshay) writes:
>format.  I converted it to TIFF only to realize how enormous color TIFF
>format files were (since color TIFF supports 24 bit color).  A file of

Actually TIFF supports a whole variety of formats, the idea being that the
data is stored in a format which matches the data. Consequently you often
get 8 bit TIFF files, which are usually more or less the same size as
things like GIFS. Additionally TIFF supports a whole plethora of
compression techniques, from packbits to LZW, and i think JPEG now.

A full TIFF distribution, which besides giving you documentation also has
various TIFF tools, and a full C library, is available from sgi.com

Having said all that i'm not sure how on the ball IV's understanding of
TIFFs is. If anyone knows could they spill the beans?

Martin
--
---------------------------------------------------------------------------
|Martin Preston,        (preston@uk.ac.mcc.cgu.v2)    |    S A V E        |
|Computer Graphics Unit, Manchester Computing Centre, |      THE          |
|University of Manchester,                            |    N.U.R.B.       |
|Manchester, U.K., M13 9PL     Phone : 061 275 6095   |                   |
---------------------------------------------------------------------------
Xref: sparky comp.windows.interviews:1409 comp.unix.aix:5204
From: tmcconne@sedona.intel.com (Tom McConnell)
Newsgroups: comp.windows.interviews,comp.unix.aix
Subject: Re: Problem building InterViews on AIX 3.2 / IV 2.6 ibm rs6000
Date: 29 Mar 92 07:07:40 GMT
Reply-To: tmcconne@sedona.intel.com
Organization: Intel Corporation, Embedded Microcomputer Division


In article <1992Mar25.214136.3649@kong.gsfc.nasa.gov>, dealy@kong.gsfc.nasa.gov (Brian Dealy - CSC) writes:
> 
> 
> -- 
> Has anyone encountered a problem such that the cpp on a machine
> sees a line like 
> /**/ # isnt this supposed to be a comment
> 
> and tries to process it anyway.
> Is there some fix for this (like a flag to set or am I using an
> obselete cpp technique here or something?) 
> 
> Thanks 
> Brian Dealy
> dealy@kong.gsfc.nasa.gov

  Yes, I have had that problem. Irritating, isn't it :) The only fix I know of
is to modify the "/**/". Either remove it, or modify it to "/* */" (I think that
works). Another "fix" would be to use another cpp, perhaps GNU's?

  My system is: RS/6000 550, AIX 3.1.6. I saw the problem while compiling X11R5.
Fortunately there was only one instance of "/**/", but that was bad enough.

    Cheers,

    Tom McConnell
--
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-21     |     Phone: (602)-554-8229
 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
 Chandler, AZ  85226    | their right mind would claim them.
Newsgroups: comp.windows.interviews