HDTenEightyP/NetNews huggingface dataset:
From: zhou@BORIS.CS.UIUC.EDU (Tom Zhou)
Subject: Event translation in InterViews
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 22 Jul 1992 21:19:48 GMT

I tried to find in InterViews something similar to the translation 
mechanism in X Toolkit but didn't succeed. The Xt translation lets the
user specify in the form of a text string how a sequence of events
translate into one or more function calls. It seems that InterViews only
hardwires events into higher-level actions like move(), drag(), etc. Is
this really the case, or did I overlook some place?

-Tom

Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: rubberbanding
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Wed, 22 Jul 1992 20:15:38 GMT

In article <9207221631.AA13904@sc.zuken.com>, daw@sc.zuken.com (Don Walters) writes:
|> Thanks for the example on how to rubberband.  It certainly looks
|> easy enough, but I am clearly not understanding something yet
|> (and starting to feel pretty dense :-).  I tried using your
|> approach in my code, and got different results, so I went back
|> to your example and replaced the "TransformFitter(new Image" line
|> with a line to instance my own Glyph which draws some graphics.
|> I must not be doing something properly in my Glyph, because now when
|> I do the "press/drag/release" the image clears, the rubberband
|> box seems to draw on top of itself (so you get a sort of upside-down
|> L shape) and when your release, the rubberband box is left behind.

The approach in the example relies on the selector's body
being opaque and not having any glyphs under it.  Otherwise,
the rubberbanding damage will cause the glyphs underneath
to redraw.  If you put the background inside the selector
rather than around the selector, then you will find the results
to be what you want.
Newsgroups: comp.windows.interviews
From: ringel@forwiss.uni-passau.de (Joerg Ringel)
Subject: FileBrowser
Organization: University of Passau, Germany
Date: Thu, 23 Jul 1992 07:59:04 GMT


I'm using the FileBrowser to select something (not a file).
After that I need the selected string (as char*).

Is there a possibility to get the selected string
in the FileBrowser ?

                Thanks for your help,


                        joerg ringel
                        ringel@forwiss.uni-passau.de


Newsgroups: comp.windows.interviews
From: c42394a@NUCC.CC.NAGOYA-U.AC.JP (Hammad Amin)
Subject: RasterComp with TIF files
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 21 Jul 1992 12:36:47 GMT


I have added a new GraphicCompTool that has a RasterComp
to the application drawing as follows:

Raster* rast = TIFFRaster::load("jello.tif");
    RasterRect* raster = new RasterRect(rast, stdgraphic);

    RasterComp* rasterComp = new RasterComp(raster);
    Include(
        new GraphicCompTool(
            new ControlInfo("rasterComp"), rasterComp
        ), tools, "RasterRect.tool"
    );

When this tool is used the picture jello.tif, which looks
very nice when imported to idraw, is displayed in the viewer
but it is distorted badly.

Any idea about what should be done?

Amin Hammad 
Nagoya Univ., Japan
Newsgroups: comp.windows.interviews
From: c42394a@NUCC.CC.NAGOYA-U.AC.JP (Hammad Amin)
Subject: Accessing members of GraphicComps
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 23 Jul 1992 02:18:56 GMT


I have developed a new component deriving from GraphicComp/GraphicView
and defining the component's appearance in terms of predefined structured
graphics objects. I have used a Picture and inserted the predefined
graphics into it. Thanks for the assistance of Haber and Vlissides.

My new problem is: How can I access the graphics objects inside the
picture and manipulate them independently? Is this possible at all?

I have tried to study the Narrow tool in IBUILD which have similar function.
I am wondering if the group/ungroup command can be used to solve this
problem (pre-grouping the graphics objects and ungrouping them later).

Is there some direct method that I am not aware of? Your advice is appreciated.

Amin Hammad

Nagoya Univ. Japan.
Newsgroups: comp.windows.interviews
Subject: ibuild core dumping
From: glenn@grant.ncd.com (Glenn Shapland)
Date: 27 Jul 92 20:03:24 GMT
Organization: Network Computing Devices, Mt. View, CA, USA

I am having a problem with ibuild (3.0.1) core
dumping. It seems to be very repeatable. All
I have to do is create a few radio buttons,
select them, cut them and then repeat that same
sequence and I get a core dump:

GDB 4.6, Copyright 1992 Free Software Foundation, Inc...
Core was generated by `a.out'.
Program terminated with signal 10, Bus error.
#0  0x4c1668 in ButtonSharedName::~ButtonSharedName (this=0x10163880, 
    __in$chrg=3) at ../ibvars.c:351
351         delete _func;
(gdb) where
#0  0x4c1668 in ButtonSharedName::~ButtonSharedName (this=0x10163880, 
    __in$chrg=3) at ../ibvars.c:351
#1  0x5a4b84 in ivResource::flush () at ../../InterViews/resource.c:98
#2  0x5d93a8 in ivEvent::handle (this=0x7fffbac0) at ../../IV-X11/xevent.c:160
#3  0x4da720 in Unidraw::Run (this=0x100a2040) at ../unidraw.c:267
#4  0x4d4534 in main (argc=1, argv=0x7fffbb74) at ../main.c:112

I built interviews on a DEC5000 ultrix4.2 with
gcc-2.2.2, libg++-2.2, and iv-3.0.1-g++-2.0 patches.
Did anyone else run into this?
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Window name/iconName
Date: 30 Jul 92 00:29:31 GMT
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi

In article <1992Jul29.164925.19146@tom.rz.uni-passau.de>, ringel@forwiss.uni-passau.de (Joerg Ringel) writes:
|> 
|> I'm programming in IV 3.1-beta.
|> 
|> Is there a possibility to change the name and iconName of the window,
|> without unmapping it?

This is a bug.  Window should trigger style changes so that setting the
name or iconName attribute will update automatically.  For now,
you could workaround it by getting the ManagedWindowRep and call wm_hints
directly (after setting the style attribute).
Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: Printing a glyph?
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Fri, 24 Jul 1992 20:16:28 GMT

In article <15525@star.cs.vu.nl>, ben@cs.vu.nl (Bruschke BAH) writes:
|> We have the following question:
|> 
|> Can anyone tell us how to print a glyph? The glyph class contains a member
|> print, but we don't know how it works. We also would like to know how we can
|> tell a glyph to break itself on printer-page boundaries. (We suspect that
|> things like the enum in the glyphclass with f.e. the pre_break member has to be
|> used, but again we don't know how).

You are asking two questions, one having to do with printing and
one having to do with formatting (page breaks make sense
on the screen as well).  To print a collection of glyphs, just create
a Printer object and pass it to the root glyph via Glyph::print.
The result is a file containing PostScript.

To format, you may want to investigate using an LRComposition
for line breaks and a TBComposition for page/column breaks.
From: bcs@waikato.ac.nz
Newsgroups: comp.windows.interviews
Subject: Tell me about Interviews
Date: 23 Jul 92 14:56:01 +1200
Organization: University of Waikato, Hamilton, New Zealand

Hi all,

my boss says "Find idraw for me".  A couple of hours later I realise it's 
built with Interviews and we're going to need the whole shebang.  I know 
nothing about Interviews - hell, I don't even know if it is commercial
software or not.  I know I can find the unpacked 3.0.1 release by anon ftp,
but that I can't find a tar file.  Please, someone email me and put me out
of my misery.

TIA,

+-Brent Summers, U of Waikato, NZ----------------------------------------+
|    "Laugh and the world ignores you.  Crying doesn't help either."     |
|      All opinions expressed are, of course, solely my own errors.      |
+------------------------------------------------------bcs@waikato.ac.nz-+
From: coller@alnitak.usc.edu (Lee D. Coller)
Newsgroups: comp.windows.interviews
Subject: Specifying window location and size
Date: 28 Jul 1992 17:50:43 -0700
Organization: University of Southern California, Los Angeles, CA
Distribution: world
NNTP-Posting-Host: alnitak.usc.edu

I have a need in my system to be able to open up a ManagedWindow, move
and/or reshape it, close it, and then to create a new window with the same
contents at the same location.

When I create a new window, giving it the location of the old window using
place(Coord,Coord), It seems to be offset by the titlebar height and border
width.  I know this is due to interaction with the window manager (I'm using
the motif wm), but does anyone know of a general fix around this.  I can
figure out what the offset is going to be and adjust, but this is not
general.

I would also like the contents of the window to have the same normal size,
stretchability, and shrinkability.  The problem is best explained by
example.  Suppose I have an open window whose interior cannot be shrinked
but can be infinitely stretched.  I stretch the window, close it, and then
create a new window with the same interior but stretched to the size of the
previous window.  I do this by giving the new window a geometry string with
the size of the previous window.  I would like to be able to then shrink
that window back to the normal size of the interior, but I am unable to
shrink that window at all.  Does anyone know of a solution to this problem?

I am using interviews 3.0 and Unidraw.

Thanks-

Lee Coller (coller@alnitak.usc.edu)
-- 
-----------------------------------------------------------------
Lee D. Coller (coller@alnitak.usc.edu)		+1 (310) 379-0844
USC Behavioral Technology Labs, 250 N. Harbor Dr. Ste 309
Redondo Beach, California, 90277
From: bcs@waikato.ac.nz
Newsgroups: comp.windows.interviews
Subject: 3.1Beta/g++ 2.2.2 - patches?
Date: 29 Jul 92 08:57:04 +1200
Organization: University of Waikato, Hamilton, New Zealand

Hi again all,

thanx to the many who replied to my previous query with pointers to the 
packed-up distribution.  I had the right host, just missed the directory.
It would help if the tarfiles had "interviews" or even "iv" in their names 
so that archie can get a handle on them, but...

Anyway.  I want to compile 3.1Beta with g++ under SunOS 4.1.2.  I caught a 
group of patches by Mark Linton a couple of dozen posts ago - are these the 
ones fabled to make 3.1Beta g++-able?  We are awaiting an overdue Sun C++ 
upgrade, but I'd rather not wait...and I'd rather go GNU 8-)

Replies by mail puh-leez (as if I don't have enough news to read!)

+-Brent Summers, U of Waikato, NZ----------------------------------------+
|    "Laugh and the world ignores you.  Crying doesn't help either."     |
|      All opinions expressed are, of course, solely my own errors.      |
+------------------------------------------------------bcs@waikato.ac.nz-+
Newsgroups: comp.windows.interviews
From: najafi@hood.ee.umn.edu (Hossein Lari-Najafi)
Subject: HELP FOR SIMPLE ANIMATION
Keywords: plot, animation
Organization: University of Minnesota, Minneapolis, EE dept.
Date: Tue, 21 Jul 1992 16:34:43 GMT

I want to use InterViews for a simple animation task.  Can any one
help me in accomplishing the following simple task using InterViews:

	*	Open an X window
	*	for (say 1 to 100)
		* Draw a line at random coordinates
		* Erase the line
	* 	Close the window
	*	Exit program

Thank you

Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: 3.0 Glyph Features
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 21 Jul 1992 17:07:42 GMT


Hi,
      In 2.6 the "Scene" class provides a member functions called
      "Place" to control the placement of individual components
      inside the Scene class. I was wondering as to how the
      same functionality can be achieved in a Glyph based
       application. I was wondering as to probably a Layout 
      object  is suitable for this but I am not not sure.

      Any pointers especially some sample code will be highly
      appreciated.  

      Thanks for your time.

Sriram 
Newsgroups: comp.windows.interviews
From: teo@Xenon.Stanford.EDU (Patrick ChengSan Teo)
Subject: Rpc missing?
Organization: Computer Science Department, Stanford University.
Date: Sat, 25 Jul 1992 19:41:07 GMT

Hi,

I thought have compiled interviews successfully, but when I tried
building vwork to see its RPC capabilities, I got the following
error.

ld: Undefined symbol 
   dpRpcReader::dpRpcReader(int,int,unsigned int) 
   dpRpcReader::~dpRpcReader() 
   dpRpcReader::map(unsigned long) 
   dpRpcReader::inputReady(int) 
   dpRpcService::~dpRpcService() 
   dpistreamb::operator>>(int&) 
   dpRpcService::dpRpcService(int) 
   dpRpcService::inputReady(int) 
Compilation failed


Could the problem be that during compilation that part of the library
didn't compile properly (and didn't get linked)?  Currently, I only
have the libUnidraw and libID libraries.  Am I missing any?

Another question.  Where can I get the documentation to Interviews
(Interviews Reference Manual)?  Is it in the distribution of interviews?

-Patrick

-------------------------------------------------------------------------------
Patrick Cheng-San Teo                                       teo@cs.stanford.edu
Department of Computer Science                                  teo@csl.sri.com
Stanford University   

"Everything should be made as simple as possible, but not simpler"
-- Albert Einstein
-------------------------------------------------------------------------------
From: hardarso@smith.cs.unc.edu (Kari Hardarson)
Newsgroups: comp.windows.interviews
Subject: Stencils in Unidraw - problem
Date: 23 Jul 92 17:46:08 GMT
Organization: University of North Carolina, Chapel Hill

I have attached two graphic views to a rect view; a TextView and a StencilView.
Since the two attachments are siblings, they receive exactly the same treatment
in my code.  When I resize the rectangle, the Text and the bitmap in the
stencil get resized properly too.  However:  If I give the rectangle a pattern
other than "none", the bitmap decides to adopt the pattern as it's foreground
color whereas the Text does not.  When the pattern is a solid white, the bitmap
dissappears!  A comment somewhere in the InterViews code mentions working
around a botch in the Stencil implementation.  Is this related?

Thanks,
  Kari

-- 
Kari Hardarson, 217 Jackson Circle, Chapel Hill NC27514, (919)-933-6692
Own: Opposite of Awf.
Nyawlins: The largest city in Loosyana.
                                                 (How to speak southern)
Newsgroups: comp.windows.interviews
From: norbert@MOZART.INFORMATIK.RWTH-AACHEN.DE (Norbert Kiesel)
Subject: automatic resize problem
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 24 Jul 1992 14:45:24 GMT

Hello,

I want to build a complex Glyph which contains Glyphs of varing size.
For sake of simplicity, imagine a Window displaying a HBox containing
two Labels separated by a HGlue. The application replaces one of the
Labels with larger new ones. What I'm trying to do is that the window
always resizes as needed. What actually happens is that the new lables
are only drawn within the extension? of the initial Label. I tried to
wrap the changing Label(s) within a Patch and calling
reallocate-redraw-reallocate on it, but without sucess.

Enlarging the Window manually (using the window manager) also only
enlarges the glue, but don't pushes the glue to get more space for the
now larger Label.

So I have two questions: (1) How can I force reallocation of all
components of the composite glyph and (2) is it possible to even ask
the window manager for a greater window if neccessary?

Thanks a lot,

		so long

			Norbert


*******************************************************************************
* Norbert Kiesel	Institut f. Informatik III     NN       NN    KK   KK *
* RWTH Aachen           Ahornstr. 55  		       NNN      NN    KK  KK  *
* West Germany		D-5100 Aachen 		       NN N     NN    KK KK   *
*                       +49 241 80-7266		       NN  N    NN    KKKK    *
* 		                 		       NN   N   NN    KKKK    *
* EUNET:    norbert@rwthi3.uucp       		       NN    N  NN    KK KK   *
* USENET:   ...!mcvax!unido!rwthi3!norbert	       NN     N NN    KK  KK  *
* INTERNET: norbert@rwthi3.informatik.rwth-aachen.de   NN      NNN    KK   KK *
*******************************************************************************
Newsgroups: comp.windows.interviews
From: aixserv!ease!madere@efim.austin.ibm.com (Steve Madere)
Subject: InterViews on RS6000 with GCC ?
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 20 Jul 1992 21:07:39 GMT




  Hi Guys, I'm back.

  After almost a year of working with another windowing system,
  I have come crawling back to InterViews, gasping for Object Oriented
  relief.  I've been using another GUI library with C and our project
  has become very difficult to maintain.

  I haven't worked with InterViews lately because I'm developing on
  RS/6000s and we couldn't get GCC 2.x when I started on this project.
  However, I have seen posts as of late that InterViews 3.1 works
  with the latest release of GCC and that GCC is now available for
  the RS/6000.

  Anybody out there got InterViews running compiled with GCC on an
  RS6000?  I would most especially appreciate replies from people at
  IBM.  However, even if you are not at IBM, if you have InterViews
  3.x up and running compiled with GCC on an RS/6000 I would like
  very much to hear from you.

  Thanks very much for your help.

  Sincerely,


Steve Madere
(512) 823-8430
(Do not reply with R.  Use the following address.)
madere%aixserv@uunet.uu.net

Newsgroups: comp.windows.interviews
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: Glyph Event Handling
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 23 Jul 1992 05:52:46 GMT


Hi,
	Just as Interactors set their Events of interest by 
	means of input = new Sensor (updownEvents) how  can the 
 	same be done by Glyphs . Do we have to use the Listener class. ALso
	I saw that there was an InteractorHandler class. Is there any 
	relation or connection of these, to do Input Handling.

	THanks in advance,

Sriram
Newsgroups: comp.windows.interviews
From: chen@IE.UTORONTO.CA (Chen Wang)
Subject: Re:  HELP: patches and buttons
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 29 Jul 1992 15:58:03 GMT

I have a very similar problem. Right now, we have a tree displaying application.
when ever I add a horizontal scrollbar in addition to the vertical scrollbar,
the buttons refuses to click.

	-- Chen Wang
Newsgroups: comp.windows.interviews
From: chimmel@EECOM.GATECH.EDU (Christopher Derek Himmel)
Subject: Building InterViews
Organization: Internet-USENET Gateway at Stanford University
Date: Tue, 21 Jul 1992 23:38:14 GMT

I am trying to build InterViews v3.1 on an HP730 and I get the following error, even though I follow the directions in the README:

>chimmel@serpente>  make World XCONFIGDIR=/usr/local/X11R5/lib/X11/config
>
>Building InterViews 3.0 on Tue Jul 21 19:22:59 EDT 1992
>
>        make Makefile XCONFIGDIR=/usr/local/X11R5/lib/X11/config
>        imake -T "InterViews/template" -I./src/config -I/usr/local/X11R5/lib/X11/config  -DTOPDIR=. -DCURDIR=.
>
>        make Makefiles
>Making Makefiles for HP800 in ./src
>./src/config/InterViews/iv-hp.cf: 2: Can't find include file hp.cf
>imake: Exit code 1.  Stop.
>circular definition STOPPED at -@if
>Make:  Don't know how to make -@if.  Stop.
>*** Error code 1 (ignored)
>
>        make depend
>depending for HP800 in ./src
>
>        make -k all
>making all for HP800 in ./src
>
>InterViews build completed on Tue Jul 21 19:23:01 EDT 1992

What should I do to fix this?

chris
Newsgroups: comp.windows.interviews
From: calvin@imux120.ncu.edu.tw (Calvin)
Subject: none
Reply-To: calvin@imux120.ncu.edu.tw
Organization: Sun Microsystems, Inc.
Date: Wed, 22 Jul 1992 15:43:45 GMT



Newsgroups: comp.windows.interviews
From: linton@marktwain.rad.sgi.com (Mark Linton)
Subject: Re: 3.0 Glyph Features
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Date: Wed, 22 Jul 1992 16:30:02 GMT

In article <9207211707.AA06693@sparc0.brc.uconn.edu>, sriram@brc.uconn.edu (Chittathoor M. Sriram) writes:
|>       In 2.6 the "Scene" class provides a member functions called
|>       "Place" to control the placement of individual components
|>       inside the Scene class. I was wondering as to how the
|>       same functionality can be achieved in a Glyph based
|>        application. I was wondering as to probably a Layout 
|>       object  is suitable for this but I am not not sure.

The position of an interactor is set by Scene::Place and is retained
as part of the interactor state.  The same glyph may appear
in several places, so the position (allocation) is passed to draw, pick,
allocate, and print.
From: stuart@genethon.fr (Stuart Pook)
Newsgroups: comp.windows.interviews
Subject: accented ISOlatin1 characters in doc
Keywords: doc isolatin1 accents
Date: 27 Jul 92 14:12:51 GMT
Organization: Genethon -- CEPHB Human Polymorphism Study Center, Paris, France
Originator: stuart@genethon.genethon.fr


I have just installed the InterViews that is distributed with the X11R5
tape (Interviews 3.0.1, I think).  I am on a Sun Sparc running SunOS
4.1.2 and used Sun's cfront 2.1.

I use xmodmap to map some ISOlatin1 accented characters to some of the
function keys, for example:

	keysym F9 = eacute
	keysym F11 = agrave

When I use these function keys in idraw all goes well: the accented
characters are displayed and printed correctly.  However when I type
eacute in doc I get a large (2 characters widths maybe) space and
when I type agrave I get a new line.  When I save the file the line
contains:
	\begin{document}
	Je suis n\37777777751 \37777777740 Paris%
	\end{document}

When I read the file back into doc I get:
	Je suis n77777751 77777740 Paris.

Note that I see exactly the same problem when I add the accented characters
(351 and 340) with the "Special->Other Character ..." menu option.

Is InterViews supposed to work with the ISOlatin1 character set or are
we stuck with US ASCII?  Perhaps there is some problem with sign
extension of chars on Suns?  Is this problem known?  Is it fixed in
InterViews.3.1-beta?

Regards
Stuart Pook
Newsgroups: comp.windows.interviews
From: valsta@kuusi.metla.fi (Lauri Valsta)
Subject: Interviews FAQ  -- (was: interviews ftps ite)
Organization: Metsantutkimuslaitos
Date: Fri, 31 Jul 92 12:45:03 GMT

chew@HPLCHEW.HPL.HP.COM writes:
>> > 	Where can i have an interviews ftp site?
>> 	If I understood what you want, try interviews.mit.edu.

>um... no.  interviews.stanford.edu, not mit.
>(you could also have checked the FAQ, i believe).

>-Chee

If an FAQ exists, could someone repost it or, perhaps, mail me a copy.
Thank you.

-- 
| Lauri T. Valsta   Finnish Forest Research Institute |
| valsta@metla.fi   Helsinki, Finland                 |