HDTenEightyP/NetNews huggingface dataset:
From: scornd7@solomon.technet.sg (Tang Chang Thai)
Subject: Re: User Defaults
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Wed, 11 Nov 1992 07:35:55 GMT

From a previous message from Qing Yu::

  I have an application called Graphic, so I would like to put the user 
defaults in the file .Graphic instead of .Xdeafults. How can I make the session
object load the file .Graphic? I am using IV3.0.1.

Er ... try doing this:

setenv XENVIRONMENT .Graphic


Newsgroups: comp.windows.interviews
From: estoque@ntep.tmg.nec.co.jp (Roy Estoque)
Subject: HELP/REQUEST
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 11 Nov 1992 06:37:28 GMT

Hello !
This is our second mail to you.  Eventhough we got no response
to our first try, we are still hopeful of hearing from you.

We need HELP!  We are in the initial stage of upgrading a GUI 
module written in InterViews.  It is just handed down to us by  
a subcontractor with no clear documentation.  That is besides the
fact that this is our first time to use InterViews.  

We would to ask favors based on the FAQ on InterViews.

>> A6: The current documentation consists of a reference manual for
>>     the core classes, a tutorial and manual pages for Unidraw,
>>     a user manual for the interface builder, and manual pages
>>     for the other applications.

I believe that InterViews has a number of supporters.  I just 
wonder if there are books available about Programming with InterViews.

>>     We also have been giving tutorials regularly at the MIT X Conference
>>     (in January in Boston) and Xhibition (in June in San Jose).  The
>>     tutorial notes are available via anonymous ftp undef pub/papers.

Unfortunately, we CANNOT use 'ftp' nor 'uucp' in remotely picking up
files.  Is it possible for us to avail of those tutorials via email ?
Or is there any other way ?

WE REALLY NEED YOUR HELP.
May I know your name?

---------------------------------------------
|  ROY ESTOQUE                              |
|  Software Section                         |
|  Design Engineering Department            |
|  NEC Technologies Philippines, Inc (NTEP) |
|  Cebu, Philippines                        |
---------------------------------------------
Newsgroups: comp.windows.interviews
From: barczejj@xrease.wpafb.af.mil (Jeff J. Barczewski)
Subject: running interviews on DECstation
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 10 Nov 1992 14:18:39 GMT

I am trying to get iv3.1b3 to compile on decstations, sun4, and hp720
using gcc2.3.1 but I like you am having difficulty. In fact I cant even
get a compile with gcc. Others say they have done it, if you get any
insight into the problem please let me know. By the way how did you
get 3.0 to compile in the first place.

Cheers,

Jeff Barczewski
Wright Patterson AFB, OH
barczejj@sxr0.xrease.wpafb.af.mil
Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: Graphic help
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 10 Nov 1992 19:42:52 GMT

In article <1992Nov7.204220.21840@cs.wisc.edu>, you write:

> I live a simple life. All I want to do is put a rectangle of some
> sort(I'm not picky) into a graphicBlock that I have in my application,
> which was generated by ibuild (3.0.1).
>
> How do I do it? Please, somebody tell me.
>
>
> In my current attempt, I've written the following, which core dumps:
> ----------------
> #include <InterViews/panner.h>
> #include <Unidraw/Graphic/grblock.h>
> #include <Unidraw/Graphic/picture.h>
> #include <Unidraw/Graphic/polygons.h>
> #include <InterViews/strbrowser.h>
> #include <InterViews/button.h>
> #include "Viz.h"
> #include <InterViews/2.6/_enter.h>
>
> Viz::Viz(const char* name) : Viz_core(name)
> {
>     int x,y;
>     x = y = 100;
>     PSBrush *p = new PSBrush(65535,10);
>     SF_Rect *r = new SF_Rect(100,100,200,200);
>     Picture *pic = new Picture;
>
>     r->FillBg(1);
>     r->SetBrush(p);
>     pic->Append(r);
>     graphic->SetGraphic(pic);
> }
>
> This runs just fine, but dumps somewhere after the MonoScene is
> inserted into the application. Why?

Your coredump is probably the result of creating graphics without
specifying a complete set of graphics state.  More specifically, you
never set your SF_Rect's (or Picture's) foreground and background
colors.  You can specify such graphics state either by supplying the
constructor with a graphic (like stdgraphic in
include/Unidraw/globals.h) from which to copy graphics state or by
calling SetColors, SetBrush, etc. explicitly.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: roell@informatik.tu-muenchen.de (Thomas Roell)
Subject: IV3.1Beta3 bug in Display::ungrab()
Organization: Inst. fuer Informatik, Technische Univ. Muenchen, Germany
Date: Wed, 11 Nov 1992 11:16:12 GMT
Distribution: comp

Ok I found a little bug in xwindow.c. The problem in the routine is
that from a list possibly more than one element is deleted. Hence
after the deletion of one element the list is one element shorter, but
ListItr only looks at instantiation time at the length of the list.
Due to this there is always a nonexisting element being referenced
(which breaks my application as one might have already guessed ...).

*** xwindow.c-dist      Wed Nov 11 11:35:39 1992
--- xwindow.c   Wed Nov 11 12:11:07 1992
***************
*** 1975,1983 ****
          if (g.handler_ == h) {
              i.remove_cur();
              Resource::unref(h);
!           if (!all) {
!               break;
!           }
          }
      }
  }
--- 1975,1982 ----
          if (g.handler_ == h) {
              i.remove_cur();
              Resource::unref(h);
!           if (all) ungrab(h, all);
!           break;
          }
      }
  }

- Thomas


--
-------------------------------------------------------------------------------
Das Reh springt hoch, 				e-mail: roell@sgcs.com
das Reh springt weit,				#include <sys/pizza.h>
was soll es tun, es hat ja Zeit ...
Newsgroups: comp.windows.interviews
From: rensing@egret.SLAC.Stanford.EDU (Paul Rensing)
Subject: waht are the new features of iv3.1?
Organization: Stanford Linear Accelerator Center
Date: Wed, 11 Nov 1992 06:43:07 GMT

Could someone post a brief summary of what has changed with iv3.1? I am
particularly interested in what has happened to Unidraw and ibuild/idraw.
Have these been updated beyond 2.6?

Thanks
	Paul Rensing
		
--
Paul Rensing
Home: (415) 327-3751
Work: (415) 926-3593
rensing@unixhub.slac.stanford.edu
From: tmcconne@sedona.intel.com (Tom McConnell~)
Newsgroups: comp.windows.interviews
Subject: Re: RS/6000 port, IV 3.1, g++-2.3.1
Date: 13 Nov 1992 06:12:17 GMT
Organization: Intel Corporation
Distribution: world
Reply-To: tmcconne@sedona.intel.com
NNTP-Posting-Host: thunder.intel.com
Originator: tmcconne@sedona


In article <9211122226.AA00724@sparc1.cnm.us.es>, juando@cnm.us.es writes:
> >X-Envelope-to: interviews@interviews.stanford.edu, tmcconne@sedona.intel.com
> 
    <stuff deleted>

> It looks like select (system call) is not declared extern "C". Try to find out
> where is it declared and bracket it with:
> 
> extern "C" {
> ...
> }
> 
> Hope it helps.
> 
> -- 
> Juan D. Martin                     Centro Nacional de Microelectronica
> <juando@cnm.us.es>                                   Edificio C.I.C.A.
> Phone: 34-5-4623811                             Av/ Reina Mercedes s/n
> Fax:   34-5-4624506                               41012-SEVILLA, SPAIN
> 

  Juan is correct, and if I would have thought just a _little_ bit harder, I
would have realized it.

  Anyway, I have IV-3.1-beta3 up on the RS/6000. doc still core dumps, but
everything else seems to work. I like the new (to me) file selector. Only five
more ports to go ...

    Cheers,

    Tom McConnell

-- 
 Tom McConnell          |     Internet: tmcconne@sedona.intel.com
 Intel, Corp. C3-91     |     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.
From: pshannon@iapetus.cv.nrao.edu (Paul Shannon)
Newsgroups: comp.windows.interviews
Subject: ibuild question
Date: 7 Nov 92 13:37:40 GMT
Distribution: comp
Organization: nrao

As a new user of ibuild (iv 3.1beta3) I'm confused on a point that's 
arisen as I try to merge an existing program with the ibuild techniques
described in the User's Guide (Vlissides, Tang and Brauer, August 1992).
By the way, I'm very impressed with the Guide: it's well-written and
is itself a good example of user interface design.

Here's a very simple case of what my problem seems to be.  I need to
create a scroller that will adjust an object that is *not* an interactor.
The object-to-be-adjusted is declared in my program

   class ColorValue: public Adjustable {....}

and has no graphical attributes.  It's invisible.  It sends messages to
an object delcared

   class ColorValueDisplay: public MonoGlyph, public Observer {...}

which, of course, is visible.

Using ibuild,
  - I create and position an vscroller
  - choose the Examine tool
  - rename the vscroller "redScroller"
  - export the member name
  - specify "Member Adjusted" as "redColorValue"

and get the error message

   "No interactor member named redColorValue exists."

How do I tell ibuild that it should relax its rules, and let me
create an adjuster (the scroller) for an object it doesn't yet
know about?  

Or is there a way to create a proxy, within ibuild, for this 
non-graphical object in my program?

All suggestions are welcome.

 - Paul
Newsgroups: comp.windows.interviews
From: roseman@cpsc.ucalgary.ca (Mark Roseman)
Subject: the never ending story
Organization: University of Calgary Computer Science
Date: Thu, 12 Nov 1992 17:18:57 GMT

i see in graphics/interviews@sgi.com there's a beta-4 release of 3.1.
help!  can we get a half-decent statement from anyone (stanford/sgi/mit..)
what the level of commitment and support is for interviews?  to say nothing
of a really rough hacky tentative schedule?  (say within an order of
magnitude of accuracy).  any plans for 3.x commercial releases in the works?

who's doing stuff based on expected future functionality?  i keep having
second thoughts about continuing my stuff in iv .. which is too bad, 
technically there's a lot of good things here.

mark
(roseman@cpsc.ucalgary.ca)


-- 
==============================================================================
Mark Roseman  --- Groupware'R'Us
Dept. of Computer Science, University of Calgary, Calgary, Alta.  T2N 1N4
(403) 220-7691   roseman@cpsc.ucalgary.ca    Fax: (403) 284-4707
Newsgroups: comp.windows.interviews
From: mzaleski@alias.com (Mathew Zaleski)
Subject: Re: ibuild question
Reply-To: mzaleski@alias.com (Mathew Zaleski)
Organization: Alias Research, Inc. Toronto Canada
Distribution: comp
Date: Sun, 8 Nov 1992 14:56:27 GMT

> By the way, I'm very impressed with the Guide: it's well-written and
> is itself a good example of user interface design.

I thought so too -- in fact I made a copy and gave it to our technical documentation
team leader because I thought it was a very nice example of how one might document
an interactive app.

Pity it doesn't support Glyphs yet..

Mathew Zaleski,  matz@alias.com, Alias Research, Toronto, (416)362-9181 x442.
Newsgroups: comp.windows.interviews
From: roth@cs.wisc.edu (Bill Roth)
Newsgroups: comp.windows.interviews
Subject: Examples of Drawing in a graphic block provided by ibuild?
Date: 9 Nov 92 22:50:32 GMT
Article-I.D.: cs.1992Nov9.225032.29687
Organization: U of Wisconsin CS Dept

Ok. I'm desperate. What routines do you use to draw into a GraphicBlock
of the variety that ibuild gives you? I have been working on this for 2 
days and have been unable to do anything other than cause my
ulcer to get worse. If you have any sample code, could you please send
it to me?

-- 

-------------------------------------------------------------------
Bill Roth, University of Wisconsin Computer Sciences Dept.
Internet: roth@cs.wisc.edu. BITNET: ROTH@WISCPSL. HEPNET: PSL::ROTH
From: sriram@brc.uconn.edu (Chittathoor Muthuswamy Sriram)
Newsgroups: comp.windows.interviews
Subject: Multiple Editor Drawing in Unidraw
Date: 5 Nov 92 06:37:54 GMT
Organization: Internet-USENET Gateway at Stanford University


Dear IV Users,
	In my Unidraw application, I have a toplevel editor which has 4 editors inside it. I can basically switch between editors. Each editor represents a Design Phase in my Application. 

My Question is :

1. How do I make sure that I save the whole application design which is spread over the four editors Whenever I press a Save Option in one of the editors. What additional code is required ?

2. How do I load the design back into the four editors when I restart my session after some time. 


Any help will be appreciated.  

Also How can I clear a Viewer area of an Editor in which I have drawn some graphic. Is there any command available to do that. 


Finally does my Save option need to be one derived from the Unidraw Command Hierarchy. Can It be some PushButton defined by me to perfomr some save operation on being pressed. If so could you give me some hint as to how I can possibly do the save 
operation.





Thanks very much

Sriram
From: vlis@WATSON.IBM.COM (John Vlissides)
Newsgroups: comp.windows.interviews
Subject: Re: Source Listing of Schem
Date: 6 Nov 92 13:40:33 GMT
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University

In article <1992Nov5.035005.12898@bert.eecs.uic.edu>, you write:

> In a effort to better understand how Interview/Unidraw works, I am
> interested in obtaining the source code listing and documentation of
> Schem (A schematic capture system), a prototype system built with
> Unidraw. While the source code of Ibuild, Idraw is obtainable from the
> interviews server, schem is missing.
>
> If any of you have an idea as to how this can be obtained , your early
> reply will be appreciated. This system was described in the article
> titled "Unidraw - A frame work for building graphical editors"

Source for both 3.0.1 and 3.1b versions of schem is available for anonymous
ftp from interviews.stanford.edu in pub/contrib/{schem,schem-3.1b}.tar.Z.
Documentation in the form of my thesis is available from Naomi Schulman
<schulman@shasta.stanford.edu> for a nominal charge.  Request a copy of
technical report CSL-TR-90-427 titled "Generalized Graphical Object
Editing."

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: hohndel@informatik.uni-wuerzburg.de (Dirk Hohndel)
Subject: redrawing a patch
Organization: University of Wuerzburg, Germany
X-Newsreader: TIN [version 1.1 PL6]
Date: Sun, 8 Nov 1992 13:10:33 GMT


Hi, I'm using IV-3.1beta3 and have a problem.

I'm displaying a raster object in a patch and after changing the raster
object, flushing the raster object and redrawing the patch still I don't
get the Window updated.

Even worse, some time it works (i.e. I get the new raster displayed)
and some time it doesn't. I haven't found the rule when it redraws and when
not, yet :-(

Can anybody help ?
Have you ever tried to redisplay a changed raster ? How ?

		Dirk
--
 hohndel@informatik.uni-wuerzburg.de (Dirk Hohndel) 
 Lehrstuhl Informatik I, Universitaet Wuerzburg, Am Hubland, D-8700 Wuerzburg
From: mab@ecmwf.co.uk (Baudouin Raoult)
Newsgroups: comp.windows.interviews
Subject: FAQ ?
Date: 11 Nov 92 12:16:58 GMT
Organization: ECMWF

Is there a FAQ for this group ?

Thaks, Baudouin.

-- 

---------------------------------------------------
Baudouin Raoult. 
European Center for Medium Range Weather Forecast
Reading, UK
---------------------------------------------------
Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor Muthuswamy Sriram)
Subject: Displaying Characters Slantingly
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 6 Nov 1992 22:41:36 GMT


Dear IV Users,

        I was going through the "ifb" program InterViews Font Browse
r. There it has options for displaying A Font in diffrent point size
s and different slants like oblique, italic etc.

What I wanted to know is When the user chooses the option
from the ifb dialog say to display characters at a point size of 18 
or a slant which is italic What X calls does InterViews make to 
set up these paramaters , do that while drawing on the screen
teh characters appear correctly.

Any help will be appreciated. 

Thanks

Sriram
Newsgroups: comp.windows.interviews
From: IFK_USER@ifk20.mach.uni-karlsruhe.de (Institut fuer Foerdertechnik)
Subject: creating a movable glyph
Organization: University of Karlsruhe, FRG (Dept. of Mechanical Engineering)
Date: Sun, 8 Nov 1992 15:48:21 GMT
X-News-Reader: VMS NEWS 1.20

I've tried to create a little example-program where I can move a glyph.
After really long time (!) I was able to drag it, but there was another
problem:
With the help of some transformers the glyph was drawn on the right positions,
but when I released it and the wanted to move it again, I could only create an
event at the old location and not on the position where the glyph was actually
drawn.


Now I ask:

How I have to set the transformers to get the event on the right position?

Perhaps my understanding of glyphs is completely wrong.

What would be the best way?

1. Create an InputHandler with a given size which is empty. (Glyph, MonoGlyph,
I don't know)
2. Push a new Glyph (like a little box) on the given screen of the
InputHandler.
3. Write the functions press, drag, release and so on to get the right
behaviour in drawing the glyph.

Are these steps ok, or is there a better way to do it?

And, most important, how to get the glyph in the empty screen?

HELLLLLLLLLLP ME, it's very urgent !!


Axel Katzenberger
Newsgroups: comp.windows.interviews
From: gupta@utopia.sps.mot.com (Rajesh Gupta)
Subject: Connections (Save and Open)
Reply-To: gupta@utopia.sps.mot.com
Organization: Motorola, Inc.
Date: Wed, 11 Nov 1992 20:10:35 GMT

The "ConnectTool" of Unidraw allows a user to connect Connectors.
These connections are restored when a file with connected connectors
is read in. How is this achieved?

Is this done by writing out the CSolver when a save is done and then
reading that back in?

--- Rajesh
************************************************************************
Rajesh Gupta                                gupta@ssdt-tempe.sps.mot.com
Motorola, Inc.            
Tel: 602 897 3991                           FAX: 602 897 3518
************************************************************************

Newsgroups: comp.windows.interviews
From: har@SSDP.CALTECH.EDU (Harold Levy)
Subject: Unsubscribe
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 9 Nov 1992 18:26:34 GMT


Please remove me from the mailing list.
Thanks,

har@caltech.edu
Newsgroups: comp.windows.interviews
From: @colargol ()
Subject: ibuild dumps core
Organization: Colargol, Trondheim College of Engineering
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 9 Nov 92 15:28:11 GMT


INTERVIEWS-3.1.BETA3

MACHINE: 486 pc

OS: Interactive-3.0 SYSVR3.2

COMPILER: gcc-2.3.1

COMPILIATION FLAGS:
        CPU=X386
	-Dcplusplus_2_1 -Div2_6_compatible -DISC -DISC22 -DSYSV -DSYSV386 
	-fpcc-struct-return -fwritable-strings

INPUT FILES: none

BUG REPORT:
ibuild dumps core when choosing 'Execute' from the 'File' menu.

Here is a bactrace produced by gdb, I hope someone can fix this or maybe
give some hints about what is going wrong. 

alpha:/usr/local/src/iv/src/bin/ibuild/X386# a.out
Segmentation fault (core dumped)
alpha:/usr/local/src/iv/src/bin/ibuild/X386# gdb a.out core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.7, Copyright 1992 Free Software Foundation, Inc...
Core was generated by `a.out'.
#0  0x5a7d33 in end ()
(gdb) bt
#0  0x5a7d33 in end ()
#1  0x5a7bab in end ()
#2  0x1a6185 in ivCommandControl::Do (5929940)
#3  0x1c05a1 in ivControl::Up (5929940)
#4  0x1bfe60 in ivControl::Handle (5929940, 2147481788)
#5  0x1c01c1 in ivControl::Grab (5929940)
#6  0x1c00d8 in ivControl::Select (5929940)
#7  0x1c099e in ivControlState::NotifySelection (5915392, 5929940)
#8  0x1bffe4 in ivControl::Enter (5929940)
#9  0x1bfe80 in ivControl::Handle (5929940, 2147482232)
#10 0x22988a in ivInteractorHandler::event (5930144, 2147482232)
#11 0x223dd5 in ivEvent::handle (2147482232)
#12 0x1aa8bc in ivUnidraw::Run (5828468)
#13 0x1134d7 in main (argc=1, argv=0x7ffffbd4) at main.c:137
(gdb) Quit

bjornw>

Bjoern.Wennberg@colargol.edb.tih.no
--
The sooner all the animals are dead, the sooner we'll find all their money.
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: IV3.1Beta3 bug in Display::ungrab()
Date: 12 Nov 1992 19:32:49 GMT
Organization: sgi
Distribution: comp
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com

In article <1992Nov11.111612.17589@Informatik.TU-Muenchen.DE>, roell@informatik.tu-muenchen.de (Thomas Roell) writes:
|> Ok I found a little bug in xwindow.c. The problem in the routine is
|> that from a list possibly more than one element is deleted. Hence
|> after the deletion of one element the list is one element shorter, but
|> ListItr only looks at instantiation time at the length of the list.
|> Due to this there is always a nonexisting element being referenced
|> (which breaks my application as one might have already guessed ...).

A better fix is to change ListItr to look at the count at each
iteration.  This solves some other problems as well.
Just change references to end_ to use count() instead.
From: juando@cnm.us.es
Newsgroups: comp.windows.interviews
Subject: Re: RS/6000 port, IV 3.1, g++-2.3.1
Date: 12 Nov 92 22:49:14 GMT
Organization: Internet-USENET Gateway at Stanford University
X-Unparsable-Date: Thu, 12 Nov 1992 23: 26:25 UTC+0100

>X-Envelope-to: interviews@interviews.stanford.edu, tmcconne@sedona.intel.com

In article <1992Nov12.204345.7586@ichips.intel.com>tmcconne@sedona.intel.com
(Tom McConnell~) writes:
>
>  I have not been able to build IV-3.1-beta3 on an RS/6000 AIX-3.1.6, using
>gcc-2.3.1. The problem is in collect2 from gcc.
>
>  Has anyone managed to build IV-3.1 beta3 on the RS/6000?
>
>  Here is the failure from "make World":
>
>g++    -o a.out *.o     -L../../../.././src/lib/IV/IBMr2 -lIV
> -L/stor/x11dev/R5/aix/lib -lXext -lX11 -lm  -lbsd
>0706-317 ERROR: Unresolved or undefined symbols detected:
>                 Symbols in error (followed by references) are
>                 dumped to the load map.
>.select__FUlPvN21P7timeval
>
>  The linker is apparently not demangling this correctly. Maybe g++ mangled it
>incorrectly in the first place?
>
>  Thanks for any help.
>
>    Cheers,
>
>    Tom McConnell
>-- 
> Tom McConnell          |     Internet: tmcconne@sedona.intel.com
> Intel, Corp. C3-91     |     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.

It looks like select (system call) is not declared extern "C". Try to find out
where is it declared and bracket it with:

extern "C" {
...
}

Hope it helps.

-- 
Juan D. Martin                     Centro Nacional de Microelectronica
<juando@cnm.us.es>                                   Edificio C.I.C.A.
Phone: 34-5-4623811                             Av/ Reina Mercedes s/n
Fax:   34-5-4624506                               41012-SEVILLA, SPAIN
Newsgroups: comp.windows.interviews