HDTenEightyP/NetNews huggingface dataset:
From: eeh@btr.com (Eduardo E. Horvath  eeh@btr.com)
Subject: Re: Background colors in IV3.1beta
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 17 Aug 1992 14:03:40 GMT

=In article <9208111959.AA13157@public.BTR.COM>, eeh@btr.com (Eduardo E. Horvath  eeh@btr.com) writes:
=|> With the coming and going of WidgetKit::flat(), I begin to wonder how to
=|> find the appropriate background color for a background, to put under
=|> transparent glyphs, such as glue and margins.
=|> 
=|> WidgetKit::background() appears to be providing white, WidgetKit::foreground()
=|> is returning black, while I want the default color that at present should
=|> be closer to gray.

=The assumption is that you can use Kit::inset_frame or Kit::outset_frame
=to get the desired background.  If this is not appropriate, I'd be curious
=to know more about the circumstances where you want the gray background.

Actually, the problam I'm having is with LayourKit::Glue().  It usually
comes out white, while the WidgetKit glyphs come out int three shades of
gray.  


=========================================================================
Eduardo Horvath				eeh@btr.com
					..!{decwrl,mips,fernwood}!btr!eeh
	"Trust me, I am cognizant of what I am doing." - Hammeroid
From: sanjay@iitmax.iit.edu (Sanjay Mehta)
Newsgroups: comp.windows.interviews
Subject: Creating Unidraw Component
Keywords: Unidraw, neophyte, composite
Date: 12 Aug 92 17:23:44 GMT
Organization: Illinois Institute of Technology / Academic Computing Center

I am a new Unidraw/InterViews user, and I am trying to build a graphical
editor (obviously).  I am having a lot of trouble understanding what is
going on--partly because I am using InterViews 3.1beta, and Unidraw seems
to still depend on InterViews 2.6 backward-compatibility.  A few of my
(hopefully easy) questions:

(1)  Can I use the 3d InterViews WidgetSet with Unidraw?

(2)  (Most important)  I am trying to define new Components for my editor.
John Vlissides' thesis states that the easiest way to do this is to 
compose existing Components.  Sounds great to me, but I can't find any
examples in the distributed applications where this is done.  All components
seem to be atomic.  Could someone please point out a composed Component
in one of the distributed tools (idraw, ibuild, etc), or send me a simple
example?

(3)  I fetched schem from interviews.stanford.edu, but I am having trouble
compiling it.  Has anyone compiled this with 3.1b?

(4) Is there a tutorial somewhere on creating new Components for Unidraw
editors?

Any help would be greatfully appreciated.

Sanjay Mehta.
From: G.Roberts@cs.ucl.ac.uk (Graham Roberts)
Newsgroups: comp.windows.interviews
Subject: Re: Sharable libraries for IV??
Date: 14 Aug 92 09:12:13 GMT

rensing@egret.SLAC.Stanford.EDU (Paul Rensing) writes:
>I would like to know if the Interviews release is going to support sharable
>libraries? Has anyone tried to build them ? What success have you had?

3.1 beta does right now, if you have the right set up. I have installed it
with shared libraries using g++ 2.2.2 on a SUN4 running SunOS 4.1.1. 
All I had to do was make the appropriate entries in the local.def 
configuration file and then compile.

>I find it annoying that a small app like idraw with about 10 unique source
>files ends up being 5 Mbytes of code (in debug, mind you) and take about 5
>minutes to link. Sharable libraries would help.

I get the following file sizes for these example programs from the IV
distribution:
163840 Jul  3 14:58 dclock*
196608 Jul  3 15:01 iclass*
155648 Jul  3 15:01 idemo*
548864 Jul  3 15:02 idraw*
122880 Jul  3 15:02 ifc*
131072 Jul  3 15:02 logo*
155648 Jul  3 15:02 mailbox*

Graham
------------------------------------------------------------------------ 
Dr. Graham Roberts		email: G.Roberts@cs.ucl.ac.uk
Dept. Computer Science	         (uk): G.Roberts@uk.ac.ucl.cs
University College London	phone: +44 071 387 7050 x3716
London, WC1E 6BT, ENGLAND
------------------------------------------------------------------------
Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: Canvas Class Support for Drawing Circles
Organization: Internet-USENET Gateway at Stanford University
Date: Sat, 15 Aug 1992 22:11:31 GMT


Hi,
	Could someone point me as to how I can draw Circles using 
	the canvas provided operations. The Canvas class provided
	methods for drawing Rectangles, Lines etc. 

	I saw one method which said ::curve_to. It accepts 
	6 parameters. But I am not sure what these signify or 
	is there any other method I have to use.

	Thanks for any pointers.

Sriram
Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: Interviews task library
Keywords: Task Library, FAQ?
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Sat, 15 Aug 1992 18:33:28 GMT

In article <1992Aug14.071448.11530@trl.oz.au>, hogg@rossem.trl.oz.au (Stephanie Hogg) writes:
|> This is my first post to this group, so if this is a frequently asked
|> question could someone direct me to a FAQ list.  I'm interested in
|> finding a c++ coroutine or tasking library, and one seems to exist
|> under InterViews (under ..src/lib/Task), however we don't seem to 
|> possess any documentation on this library.  Does anyone know where 
|> to find any documentation on this task library?  Also, is this 
|> library supported?  (I've only seen Interviews 3.0 - does it still
|> exist in 3.1?)

The InterViews Task library is no longer distributed.  We never got around
to making it work and using it.  In the future, we're likely to use
something more along the lines of a C++ layer above pthreads.
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Simple start up problem --
Date: 15 Aug 92 18:31:11 GMT
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi

In article <9208130350.AA24354@seine.cs.UMD.EDU>, sandeep@CS.UMD.EDU (Sandeep Gupta) writes:
|> It needs some header files by the names "generic.h",
|> "strstream.h" -
|> 
|> What did I forget to configure ?

Those are special C++ header files and should be in your C++ include directory.
From: hines@neuro.duke.edu (Michael Hines)
Newsgroups: comp.windows.interviews
Subject: read and write glyphs
Date: 18 Aug 92 19:09:00 GMT
Distribution: usa


I am curious why read(&istream) and write(&ostream) didn't make it into the
glyph protocol. Was it because the requirements of applications for
saving and restoring state too diverse?
I know Unidraw has the concept of a catalog with each
object being able to return its type (so one knows what constructor to
call when reading it back in). Is it possible/convenient to make use
of that mechanism without mixing 2.6 and 3.1. Or should we not be concerned
with extensive mixing?
From: shite@sinkhole.unf.edu (Stephen Hite)
Newsgroups: comp.windows.interviews
Subject: Request for latest g++ patches (isy.liu.se has connect problems)
Date: 18 Aug 92 13:52:55 GMT
Organization: Univ. of North Florida


   Could someone either e-mail me the latest g++ patches for IV-3.1beta
or make them available for ftp?  The recently announced location,
isy.liu.se, is not getting past the connect message (for me, anyway)...
it just hangs (so there's no login prompt).

  I think it would be nice if the latest patches for the latest gcc 2.x
could be kept at interviews.stanford.edu.

  Thanks for your help!  I look forward to using it on System V Release
4.  I'd like to get this library incorporated into the free X386 1.2E binary
release once I get shared libraries built and 3.1 has been officially
released. 


Steve Hite
shite@sinkhole.unf.edu
Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: IV 3.1b and Sun, can they coexist?
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Sat, 15 Aug 1992 18:37:06 GMT

In article <1992Aug15.093246.14056@mic.ucla.edu>, fgoodman@agsm.ucla.edu (Frank Goodman) writes:
|> I've tried 3 times now to build IV3.1beta for my SparcStation IPX. 
|> I've applied the patches for SunOS, and I still get core dumps from
|> various application (idraw, ibuild, etc...).

Did you install app-defaults/InterViews or otherwise define
font, foreground, and background?  This should avoid coredumps.
Newsgroups: comp.windows.interviews
From: stergios@KT22.STANFORD.EDU (Stergios)
Subject: Re: I am getting the Interviews mail.
Reply-To: stergios@kt22.stanford.edu
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 19 Aug 1992 19:04:37 GMT


This is the last time I'm going to request the
comp-windows-interviews@shelby.stanford.edu mailing list maintainers
take care of this problem.  If the issue is not resolved by Sept 1
1992 I will discontinue the mail-news gateway.  Two months of trouble
reports is more than enough time to fix a simple problem like
interviews.

sm
--------------------------
Stergios Marinopoulos
stergios@kt22.Stanford.EDU

brendan@itcsyd.itc.oz.au writes:
 > This is a long way beyond a joke!
 > I get upwards of twenty mail items each day requesting InterViews
 > help.
 > They are alladdressed to:
 > 
 > comp-windows-interviews@shelby.stanford.edu
 > 
 > but they come to me!!
 > 
 > PLEASE try to stop it!!!!
 > 
 > Thanks.

Newsgroups: comp.windows.interviews
From: haber@MITL.COM (Eben Haber)
Subject: How does one compile g++ 2.* and IV3.0.1 on mach?
Originator: haber@decfax
Organization: Matsushita Information Technology Laboratory, Princeton, NJ
Date: Wed, 12 Aug 1992 17:59:54 GMT


Ok, I heard that you can't compile IV3.0.1 with g++ 1.*, so I'm now using 
g++ 2.something on a 386 mach machine.

I've compiled most of libIV, but I'm having trouble with the TIFF/*.c files,
getting internal cpp errors.  

Does anyone have any suggestions on what needs to be done to get IV3.0.1
to work with g++ 2.*?

Thanks!

Eben M Haber
haber@mitl.com

Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: COmmunicating Between Graphic Objects
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 13 Aug 1992 16:30:32 GMT



Does InterViews 3.0 provide any mechanism for communicating between Graphic 
Objects. For Example I would like to Link A PushButton to Say another Rectangle
Object such that whenever the Button is Pressed The Rectangle Object Should 
be Refreshed.

Is this Something I will have to take care of in the Program. 

Thanks for Any Valuable Hints.

SRiram
Newsgroups: comp.windows.interviews
From: denisb@leland.Stanford.EDU (Denis Bohm)
Subject: Re: WidgetKit adjuster operations
Organization: DSG, Stanford University, CA 94305, USA
Date: Sat, 22 Aug 92 19:48:31 GMT

In article <orsq3gg@fido.asd.sgi.com> linton@marktwain.rad.sgi.com (Mark Linton) writes:
>In article <1992Aug20.120731.22846@tom.rz.uni-passau.de>, ringel@forwiss.uni-passau.de (Joerg Ringel) writes:
>|> 
>|> Why do you write
>|> 
>|>     virtual Glyph* vslider(Adjustable*) const;
>|>     ....   ?
>|> 
>|> I think it is more useful if you write:
>|> 
>|>     virtual Slider* vslider(Adjustable*) const;
>|> 
>|> 
>|> Is there a reason for it ?
>
>WidgetKit::vslider doesn't typically return a slider directly; there is normally
>a frame or other decoration around it.  Why do you want to do to the slider
>that requires access to it?

I also wanted something like the above.  In my case I want to dynamically
change the adjustable that the slider is associated with.  So I would
like:

  virtual YSlider* vslider(Adjustable*) const;
  virtual void YSlider::associate(Adjustable*);
-- 
Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu)
From: khan@xraylith.wisc.edu (Mumit Khan)
Newsgroups: comp.windows.interviews
Subject: looking for a simple form editor (for data entry)...
Date: 12 Aug 92 21:36:15 GMT
Organization: Center for X-ray Lithography, UW-Madison


does anyone have a simple form editor under IV/Unidraw that can do the
following (at the very least):
    
    - manage a form where each entry has a prompt (string/bitmap) for the 
      user and a corresponding data entry field with some consistency
      (ie., error) checking.

      for a good form, each data entry field must be general enough that
      it can be one of the following:
	  - string/match editor
	  - pop up/pull right menu
	  - enumerated lists that the user can choose from by hitting a
	    key, ie., the entries simply rotate thru a pre-specified list.
	  - etc...
    
    - keyboard accelerators and traversal for arrow keys to move around 
      the form.

    - notification mechanism to find out when a value in the form is
      changed. Undo'ing capabilities would be nice too, but not
      essential.

I had written one years ago using Athena (Yuk!!!) that I am using with my
IV apps (as a separate process communicating via shared mem with the
server), but I'd much rather integrate the form into the IV world. No, I
wouldn't even attempt to port an Athena app to C++ and IV!

I'm using IV-3.0.1/Unidraw/cfront-3.1 combination.

thanks in advance,
mumit

%-----------------------------------------------------------------%
Mumit Khan				khan@xraylith.wisc.edu
Technical Staff				Phone: 608-877-2418
Center for X-ray Lithography		FAX: 608-877-2401
University of Wisconsin-Madison
%-----------------------------------------------------------------%
From: varshney@pooh.cs.unc.edu (Amitabh Varshney)
Newsgroups: comp.windows.interviews
Subject: IV bug fixes and tech docs
Date: 17 Aug 92 16:52:23 GMT
Organization: The University of North Carolina at Chapel Hill

I am posting this for a friend who doesn't have usenet access.

--------------------------------------------------------------------
....I am at a loose end. We have a version of InterViews 3.0b which 
is unstable. And since Stanford doesn't seem to be supporting InterViews 
any longer, I am running into problems getting any info.

{\begin Questionnaire}
        1. Is there any place I can get complete
           reference manuals/ Tech Docs for InterViews.
        2. Is there any place I can get Bug fixes. I don't
           have access to the Usenet Newsgroups.
{\end Questionnaire}
--------------------------------------------------------------------

I will appreciate any suggestions that you folks might have about this.

Thanks,
-Amitabh 
Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: Add Graphics Dynamically Erases Previous Ones.
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 13 Aug 1992 21:07:26 GMT


Dear IV Users,

        You would Have Probably seen this posting before. In fact one
        gentleman  by the name Mr. Doug Pan had replied to me with a
        solution. It was to change my program to remember the previous
        Graphics Drawn Every time I add One and Redraw the whole thing
        GOing through my list of previously drawn graphics.

        I really appreciate the solution but in fact I started wondering
        if that is the only way to accomplish my goal. If in fact it is
        I am kind of surprised by the fact that In 2.6 that was not the
        case. I could add Graphics whenever I want by invoking

        output->Rect (................) and the new Rectangle used
        to be displayed at the position specified without erasing
        previous ones.


        Why then the same thing does not happen in 3.0 With Out 2.6
        Compatibility (Pure Glyph Based).
        Is it because of the way the IV 3.0 is implemented  differently as
        regards drawing on the Screen.

        Even putting a Case statement in my virtual draw function of my
        derived Glyph has no effect (for example If it the first time
        Refresh the Glyph else just append the new Rectangle).

        Am I overlooking any simple fact.


        I really need your advice on this issue.


Once Thanks to those who have answered my Previous question.


Sriram Chittathoor.
Newsgroups: comp.windows.interviews
From: zarko@bubba.att.com
Subject: bye
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 17 Aug 1992 17:19:00 GMT


I'd like to have my address removed from the interviews
mailing list.  Thanks,
                                      Zarko
From: erijvor@cs.vu.nl (Rijvordt EGK)
Newsgroups: comp.windows.interviews
Subject: Re: Canvas Class Support for Drawing Circles
Date: 17 Aug 92 08:42:59 GMT

sriram@brc.uconn.edu (Chittathoor M. Sriram) writes:


>Hi,
>	Could someone point me as to how I can draw Circles using 
>	the canvas provided operations. The Canvas class provided
>	methods for drawing Rectangles, Lines etc. 

>	I saw one method which said ::curve_to. It accepts 
>	6 parameters. But I am not sure what these signify or 
>	is there any other method I have to use.


This will draw a circle.  It is not very pretty for small circles, but it works.

        Coord dy = radius_ * 4/3;
        canvas->new_path();
        canvas->move_to(  x - radius_,  y );

        canvas->curve_to( x + radius_,  y,
                          x - radius_,  y + dy,
                          x + radius_,  y + dy );

        canvas->curve_to( x - radius_,  y,
                          x + radius_,  y - dy,
                          x - radius_,  y - dy );

        canvas->close_path();
        canvas->stroke( color_, brush_ );


>	Thanks for any pointers.

>Sriram

                                -Edwin (erijvor@cs.vu.nl)
Newsgroups: comp.windows.interviews
From: sanjay@iitmax.iit.edu (Sanjay Mehta)
Subject: Unidraw Connections
Keywords: Connections, Unidraw, beginner
Organization: Illinois Institute of Technology / Academic Computing Center
Date: Wed, 19 Aug 92 00:35:16 GMT

Well, since my last beginner question was answered, I am encouraged
to try again.  In my Unidraw editor, the user can connect items
together.  The connections should be displayed as lines or something,
and when one of the items is moved, the connections should be updated.
I have been trying to use the Connector and ConnectTool, but either
I am using them wrongly or they don't mean what I think they mean.
When I use the ConnectTool, click on a Pin in one item, and drag
to the Pin in another item, it just seems to remove the first Pin
from the screen.

Does anyone feel up to a simple explanation of Connectors, and the
best way to do what I want?  

Many thanks in advance.
Sanjay Mehta.
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: Foces on a dialogbox
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 12 Aug 1992 12:27:06 GMT

In article <15680@star.cs.vu.nl>, you write:

> Is it possible for a dialog box (Dialog) to capture all mouse
> events to the program? Right now it is possible to open a
> dialog box and then press the quit-button in the main window,
> and resulting in some fault (memory, bus, etc).

For 2.6 dialogs, you can make the Accept function ignore events for
targets that are outside the dialog's interactor hierarchy.  See
BasicDialog::{Forward,IsAChild} in src/lib/Unidraw/dialogs.c for an
example.  For 3.1 dialogs, the default implementation for the run
function does a grab, so there should be no problem.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: epovazan@sun-4.cs.uct.ac.za (Edward Povazan)
Subject: Unidraw help !
Summary: Help in making composite graphic objects with Unidraw
Keywords: Unidraw, Interviews 
Organization: Computer Science Department, University of Cape Town
Date: Tue, 18 Aug 1992 12:58:29 GMT


HELP from anyone would be geatly appreciated!


I am responsible for the user interface part of an honours project.

This project is to make a graphical query system whereby the user graphically 
represents their query by drawing a query graph.  This query graph consists of 
nodes connected by edges.  Each node has a label and each edge is labelled with 
a regular expression.


                        /----\     (abc)*     /----\
                        | X  |----------------| Y  |   
                        \----/                \----/

I have decided to use Unidraw to implement the user interface.  My problem is 
that I am not too experienced with this level of C++, never having actually 
reused code but rather having starting my own class definitions from scratch.  

Initially I would just like to create a "node" and "edge" object.  As I see it 
my "node" would consist of a circle of fixed size, a connecting pin in the 
centre and a label in the centre.  My edge would consist of a line, connecting 
pins at each end and text centered at the mid-point of the line.  

My problem is that I don't understand exactly how to compose these primitives 
into my "node" graphical object.  Am I on the right track?

Informally for the "node" constructor :  
   pin = new PinGraphic at x, y
   circ = create a circle at x, y radius r
   label = create a new label at x, y

   picture = new Picture(picture)
   picture -> append(circ, pin, label)
   SetGraphic(picture)

Would this create a "node" object whose graphical representation could be 
displayed in a viewer? If so, does a new "move" command have to be written for 
it or would the standard Unidraw command handle this.  I assume that an "edit" 
tool would have to be specifically made to edit the text in the node and on 
the edge.  

Does any of this make sense or am I completely on the wrong track?

Also does anyone know of any new documentation/anything that could be ftp'd as
the online manual and a dissertation on the Unidraw architecture is all I have.


Thanks

Teddy Povazan
Computer Science Department                 
University of Cape Town
epovazan@sun-4.cs.uct.ac.za
Newsgroups: comp.windows.interviews
From: ringel@forwiss.uni-passau.de (Joerg Ringel)
Subject: Re: IV 3.1 class hierarchy graph
Organization: University of Passau, Germany
Date: Wed, 12 Aug 1992 13:48:14 GMT


Igor Metz writes:
 > I installed two files on our ftp server iam.unibe.ch.
 > ~ftp/C++/InterViews/class-hier-3.1.pbm.Z  // screen hardcopy in PBM format
 > ~ftp/C++/InterViews/class-hier-3.1.ps.Z   // same as above, converted to Post
Script
 > These two files contain the IV 3.1 beta class hierarchy graph. I generated
 > the graph using Sniff1.1 beta (available in ~ftp/C++/Sniff1.1b on our machine
).

L.Dachary writes:
>        Here is what I get when I try to ftp iam.unibe.ch :

>$ ftp iam.unibe.ch
>iam.unibe.ch: unknown host
>ftp> quit


Try it with the following number:

 ftp 130.92.64.10		(iam.unibe.ch -> 130.92.64.10)

that will go.

          Joerg

                        joerg ringel
                        ringel@forwiss.uni-passau.de
From: lupe@ukw.uucp (Lupe Christoph)
Newsgroups: comp.windows.news
Subject: Re: Stacker 2.0 and Windows 3.1
Date: 12 Aug 92 14:28:40 GMT
Organization: cic

ppc1@cec1.wustl.edu (Peter Pui Tak Chiu) writes:



>Hi everyone,

>does anyone know if Stacker 2.0 is compatible with Smartdrv 4.0 of Windows 3.1?

>that is, if i install Stacker, can i still cache the stacked drive?

>when i read the readme.wri in windows directory, it says
>superstor is not compatible with smartdrv.

>that means you can't cache the drive that is superstored

>is that true for stacker 2.0 also?

>please give me some advice

>thanks .... 

>oh.. i am using a 486-33, 256K cache, 8M ram... if that helps

>pete

I'd be very much interested how you got Solaris 2.0 for your 486.
You must have it, as you are running OpenWindows 3.1, and
it's the only way to get NeWS on a Intel architecture currently.

BTW, what's Stacker and Smartdrv?
-- 
| ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
| lupe@ukw.UUCP       (German EUNet, domain)     |  As I am self-employed, |
| suninfo!alanya!lupe (Sun Germany)              |  this *is* the opinion  |
| Res non sunt complicanda praeter necessitatem. |  of my employer.        |
Newsgroups: comp.windows.news
From: ric@is.morgan.com (Richard Campbell)
Subject: news vs. xnews  (Was Re: Stacker 2.0 and Windows 3.1)
Organization: Morgan Stanley - IS
Date: Thu, 13 Aug 1992 12:59:52 GMT

Perhaps it's time the newsgroup named was changed from
comp.windows.news to comp.windows.xnews?