HDTenEightyP/NetNews huggingface dataset:
From: tmcconne@sedona.intel.com (Tom McConnell~)
Subject: RS/6000 port, IV 3.1, g++-2.3.1
Originator: tmcconne@sedona
Organization: Intel Corporation
Date: Thu, 12 Nov 1992 20:43:45 GMT


  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.
Newsgroups: comp.windows.interviews
From: dfr@ioc.co.uk (Doug Rabson)
Subject: Re: Problem with doc.
Date: Fri, 13 Nov 1992 13:52:11 GMT
Distribution: comp
Organization: Intelligent Office Company Ltd.

In article <9211101953.AA09104@hrt213.brooks.af.mil> tjm@hrt213.brooks.af.mil (Tim Miller) writes:
> 
> 	I just build and installed IV 3.1 beta 3 using gcc 2.3.1 and
> libg++ 2.2.2 on a SparcII (SunOS 4.1.3); the build and install went
> flawlessly, I was pleased to note.
> 
> 	However; doc seg faults (w/o dumping core) on execution.  Am I
> missing a patch somewhere?
> 
> 	E-mail appreciated, but I'll scan this group for posts as well. 
> 
> -- Cerebus <tjm@hrt213.brooks.af.mil>

I did this using gcc 2.3.1 and libg++ 2.2 on an rs6000 under AIX
3.2.1 and saw the same behaviour.  I dug around with the debugger and
it turned out that gcc was generating bogus vtables for TextViews.  It
seems that gcc did not like having two copies of Resource in the
TextView (which were there because in 3.1 Resource is not a virtual
baseclass of Glyph and Handler).  I edited the InterViews headers to
make Resource a virtual baseclass of all of its derived classes,
recompiled the lot and doc started working.

Doc still freezes on me when I try to drag a float around but I
haven't looked for this one yet.
--
Doug Rabson, IOC Ltd.	| Email:  dfr@ioc.co.uk
Phone: +44 81 528 9864	|	  drabson@cix.compulink.co.uk
Fax:   +44 81 528 9878	|	  
Newsgroups: comp.windows.interviews
From: zhouj@POPLAR.SSC.GOV (Jiasheng Zhou)
Subject: Use of Panner in Unidraw app
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 12 Nov 1992 19:50:13 GMT


----- Begin Included Message -----

From daemon@interviews.Stanford.EDU Thu Nov 12 13:37:07 1992
Date: Thu, 12 Nov 92 13:35:25 CST
From: bhogaval@phaser.ssc.gov (Bhogavalli Narasimha)
To: interviews@interviews.stanford.edu
Subject: Use of Panner in Unidraw app
Cc: bhogaval@phaser.ssc.gov
Content-Length: 798


Hello IV users,

Can somebody help me with this problem?

I am running IV 3.1beta on Sun OS 4.1.1 using Sun C++ 2.1.

I have a Unidraw application which draws a tree like structure. The Nodes in the tree (derived from GraphicComps) consist of Rectangle with Text inside. 

Nodes in the tree expand when selected with an "Expand Tool" engaged. Before drawing the children, I compute the area required for the children nodes and check if there are any objects already drawn in the area using ViewsIntersecting function of GraphicView.

My problem is that when the tree is magnified using the panner, how do I get the scale of magnification? If I do not have the scale of magnification, I am
not able to compute the correct area to check for intersection.

Thank you,

Rao  (bhogaval@phaser.ssc.gov)


----- End Included Message -----
From: thomson@sol.UUCP (Lori Thomson)
Newsgroups: comp.windows.interviews
Subject: Iconify while editing text leads to crash
Keywords: iconify edit text crash Unidraw
Date: 4 Nov 92 20:37:55 GMT
Organization: Vista Technologies, Inc. Schaumburg, IL 60173 USA

I am using Unidraw with InterViews 3.1 beta 1.

I have a problem with idraw.  If I iconify idraw while in the middle of
editing text, when I de-iconfiy the window and click in the viewer,
idraw crashes.  This happens in other Unidraw applications as well.

Does anyone else get this behavior?  Does anyone know what causes it?
Is it fixed in later versions InterViews?

Please respond via email (to thomson@vistatech.com).
Thanks.

Lori


-------------------------------------------------------------------------
Lori Thomson				internet: thomson@vistatech.com
Vista Technologies, Inc.		uucp: ...!nucsrl!vistech!thomson
1100 Woodfield Road, Suite 108		voice: (708) 706-9300
Schaumburg, IL  60173			fax: (708) 706-9317

Newsgroups: comp.windows.interviews
From: janin@espresso.boeing.com (Adam Janin 5-3545)
Subject: Why do some files use -O and others not?
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 5 Nov 1992 01:52:21 GMT

I've noticed that some of the files in the InterViews libraries are
compiled using the -O flag (optimize) and some are not.  I was
wondering if there were any reason I should not be using the -O flag
in some cases.  I know that it occasionally produces incorrect or
inferior code, but I am surprised by how few InterViews files are
compiled with -O.

	Thanks,

	Adam Janin
	janin@espresso.boeing.com
Newsgroups: comp.windows.interviews
From: eneira@dcc.uchile.cl (Eloy Neira Anabalon)
Subject: Subclass ok  LinkComp  
Originator: eneira@chaiten
Date: Fri, 06 Nov 1992 14:26:38 GMT
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion


  Hello,

	I have any questions about the class  LinkComp.

	This is subclass of the GraphicComp  and I can to use
	the  member Append( GraphicComp *), but this isn't 
	Updated in the viewer.

	How do the update of the  elements  to added in the 
	element link?

	Is necesary create one subclass from  LinkComp  and 
	to modify the function  Update?.

	Thanks .

	Send me the answer e-mail  to  eneira@anakena.dcc.uchile.cl

-- 
 *--------------------------------*   Ama  a  tu projimo  
 * ELOY  NEIRA ANABALON *  ^   ^  *   como a ti mismo. 
 *                      *    |    *  
 *------------------------ -\_/- -*            Jesus 
Newsgroups: comp.windows.interviews
From: zen@syl.dl.nec.com
Subject: Re: defining a new graphic shape
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 6 Nov 1992 14:41:52 GMT

Thanks for your reply.  I will try that.  Can I send you questions
directly?

-----------------------------------------------------------------
Zen Kishimoto          C&C Software Technology Center (CSTC)
		       NEC Systems Laboratory, Inc.
		       1525 Walnut Hill Lane Irving, Texas 75038
		       Tel:(214)518-3529  NEC*NET:8722-3529
 		       Fax:(214)518-3552  NEC*NET:8722-3552
		       zen@syl.dl.nec.com
-----------------------------------------------------------------
Newsgroups: comp.windows.interviews
From: khan@pslu1.psl.wisc.edu (Mumit Khan)
Subject: Re: zapeof
Organization: Center for X-ray Lithography, University of Wisconsin
Date: Thu, 5 Nov 92 17:14:11 GMT

In article <9211051449.AA04635@olympia.miro.com> rme@miro.com (Richard M. Emberson) writes:
>
>Greetings,
>  I'm trying to compile  3.1-beta3 with gcc-2.3.1 and I've run into
>an obstacle. In the InterViews file Dispatch/rpcbuf.c, in methods
>int rpcbuf::overflow(int) and int rpcbuf::underflow()
>there is a method called int zapeof(char). I can not find it any where.
>
>  Could someone please tell me what its suppose to do so that I can
>write an equivalent function and get on with the build.
>
>  Thanks.
>
>RIchard Emberson
>rme@miro.com


zapeof() is a macro in AT&T iostreams package and this is what
iostreams.h says about it:

            /* extracts char from c. The critical requirement is
             *      zapeof(EOF)!=EOF
             * ...
             */

Since I have no clue as to the legality of posting excerpts from 
proprietary header files, I'll refrain from posting any more from
iostream.h, but the macro is obviously trivial given the requirement 
above.

I've gotten Dispatch to compile and link under gcc-2.3.1 and libg++-2.2, 
but have severe problems right now ... Let me know if you have any more
luck.

hope this helps.
mumit -- khan@xraylith.wisc.edu
From: gerald@atlastele.com (Gerald Aden)
Subject: problem compiling 3.1beta2
Keywords: g++
Organization: Atlas Telecom Inc.
Date: Thu, 5 Nov 1992 16:56:31 GMT

I am compiling 3.1beta3 with gcc 2.3.1 and am getting the following error:

g++ -Dbw_kit -Dopenlook_kit -Ddefault_kit=openlook_kit    -Dcplusplus_2_1  -B/acs/sun4/tools/lib/gcc-lib/   -I../../../.././src/include  -I/acs/sun4/tools/lib/g++-include  -c ../../InterViews/kit.c
../../InterViews/kit.c: In function `class ivWidgetKit* static ivWidgetKitImpl::make_kit ()':
../../InterViews/kit.c:751: parse error before `1'
../../InterViews/kit.c:768: warning: control reaches end of non-void function
*** Error code 1
make: Fatal error: Command failed for target `kit.o'

Any help would be greatly appreciated.

Thanks in advance,
Gerald Aden
-- 
Gerald Aden                         EMAIL: gerald@atlastele.com
Atlas Telecom                       VOICE: [USA] 1+503.228.1400 x659
4640 SW Macadam Ave.                FAX1:  [USA] 1+503.225.5518
Portland, OR 97201                  FAX2:  [USA] 1+503.228.0368
Newsgroups: comp.windows.interviews
From: mzaleski@alias.com (Mathew Zaleski)
Subject: tablets
Keywords: pressure sensitive pen tablet X extension
Reply-To: mzaleski@alias.com (Mathew Zaleski)
Organization: Alias Research, Inc. Toronto Canada
Distribution: na
Date: Thu, 5 Nov 1992 04:10:12 GMT

Has anyone got tablets with pressure sensitive pens integrated into InterViews?

-- 
Mathew Zaleski,  matz@alias.com, Alias Research, Toronto, (416)362-9181 x442.
Newsgroups: comp.windows.interviews
From: janin@espresso.boeing.com (Adam Janin 5-3545)
Subject: Using 2nd screen.
Organization: Internet-USENET Gateway at Stanford University
Date: Sat, 7 Nov 1992 01:15:33 GMT


I'd like to bring one window up on screen 0 and one up on screen 1.  How can
I do this?  I've tried session->default_display()->set_screen(1), but when
the window gets mapped, I get a segmentation violation.  I've also tried to
open a new display, do a window->display(display), and map, but this fails
too.  Any ideas?

	Thanks,

	Adam Janin
	janin@espresso.boeing.com
Newsgroups: comp.windows.interviews
From: zhouj@POPLAR.SSC.GOV (Jiasheng Zhou)
Subject: Glyph and Unidraw?
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 12 Nov 1992 19:46:28 GMT


	Can anobody give me an example that uses both Glyph-based kit and
Unidraw?
===============================================================================
Jiasheng Zhou					"I am a quick man!"
SSC Lab, MS 4011				
2550 Beckleymeade Ave.
Dallas, TX 75237
e-mail: zhouj@poplar.ssc.gov			Phone#: 214-708-3461
===============================================================================
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Why do some files use -O and others not?
Date: 6 Nov 92 17:57:34 GMT
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
NNTP-Posting-Host: marktwain.rad.sgi.com

In article <9211050152.AA14198@espresso.bcs.eca>, janin@espresso.boeing.com (Adam Janin 5-3545) writes:
|> I've noticed that some of the files in the InterViews libraries are
|> compiled using the -O flag (optimize) and some are not.  I was
|> wondering if there were any reason I should not be using the -O flag
|> in some cases.  I know that it occasionally produces incorrect or
|> inferior code, but I am surprised by how few InterViews files are
|> compiled with -O.

On many systems, -O significantly increases compile time.
For relatively small files with no time-critical loops,
we don't find that it is worthwhile to build with -O.
From: qing@stl.panasonic.com (Qing Yu)
Subject: User Defaults
Organization: Internet-USENET Gateway at Stanford University
Date: Mon, 9 Nov 1992 19:19:01 GMT

  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.

Qing Yu
Speech Technology Lab
Santa Barbara, CA
Newsgroups: comp.windows.interviews
From: rme@miro.com (Richard M. Emberson)
Subject: zapeof
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 5 Nov 1992 14:49:40 GMT


Greetings,
  I'm trying to compile  3.1-beta3 with gcc-2.3.1 and I've run into
an obstacle. In the InterViews file Dispatch/rpcbuf.c, in methods
int rpcbuf::overflow(int) and int rpcbuf::underflow()
there is a method called int zapeof(char). I can not find it any where.

  Could someone please tell me what its suppose to do so that I can
write an equivalent function and get on with the build.

  Thanks.

RIchard Emberson
rme@miro.com
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: text classes in 3.1; 2.6 vs. 3.x
Date: 12 Nov 1992 19:37:36 GMT
Organization: sgi
Distribution: comp
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
NNTP-Posting-Host: marktwain.rad.sgi.com

In article <PSHANNON.92Nov11102843@iapetus.cv.nrao.edu>, pshannon@iapetus.cv.nrao.edu (Paul Shannon) writes:
|> I don't understand 
|> 
|>     - what happened to the IV design between 2.6 and 3.0

Glyphs were introduced as cheaper objects with lots of nice properties.
Unidraw was introduced as a layer about 2.6 with support
for graphical editing.

|>     - if I should avoid 2.6 classes for a new project

If you use Unidraw, then you probably want to use 2.6 classes.
Otherwise, you are probably better off with 3.0.

|>     - what to replace the 2.6 text classes with if that's the right
|>       thing to do.

The glyph classes don't include high-level support for text yet.
You can use the 2.6 text editor with glyphs or evolve the
examples/preview or doc code.

|>     - should I use Unidraw classes even if my project is not really
|>       a "domain-specific graphical editor"?

Depends a bit on what you do want to do, but you wouldn't
get as much out of Unidraw if you were not doing graphical editing.
From: dave@kanga.lcs.mit.edu (David Sternlicht)
Newsgroups: comp.windows.interviews
Subject: A Tale of 2 Toolkits: Introduction
Date: 12 Nov 92 05:09:37 GMT
Article-I.D.: mintaka.1992Nov12.050937.5359
Organization: mit X consortium

-- 
README

The next 6 messages contain the split postscript for a research paper
comparing the development of an XCMS color editor tool in two rival 
technologies: the MIT X Intrinsics and the Interviews/Fresco toolkits.  
This work was done at the X Consortium and its authors hope their results
will be entertaining and thought provoking to anybody who cares to read 
further. 

Of course, if your the kinda guy who just likes to build programs 
just ftp ACEvsICE.tar.Z from export.lcs.mit.edu and go for it :-)

			
				dave sternlicht
				mit X consortium
				dave@expo.lcs.mit.edu

ABSTRACT

Title:
        A Tale of Two Toolkits:
        Developing an Application Using First and Second Generation
        Object Oriented User Interface Technology.

Authors: 
        Imran Bashir 
	Department of Electrical &
	Computer Engineering 
	111 Link Hall, Syracuse University 
	Syracuse, NY 13244 
        ibashir@cat.syr.edu
	and
	David M Sternlicht 
	MIT X Consortium 
	545 Technology Square 
	Cambridge, MA 02139
        dave@expo.lcs.mit.edu

Abstract
	This paper takes an objective look at developing an application
	using the Intrinsic based Athena widgets, and the C++ based InterViews
	toolkit.  The test application chosen is a color editor that 
	interprets and sets stimuli values using the X color management system 
	(Xcms).  A view data paradigm was chosen to organize the relationship 
	between the color displayed, and its representation in the various 
        color spaces.
From: knight@henson.cc.wwu.edu (Matthew Scott)
Newsgroups: comp.windows.interviews
Subject: has anyone made a "file system view"
Date: 10 Nov 92 03:03:35 GMT
Article-I.D.: henson.1992Nov10.030335.1993
Organization: Western Washington University

What I am looking for is a program that displays, in some sort of tree
form, and entire file system (or what ever part fits on the screen).
Dec has what they call their User Executive, which is simalar to what I
am looking for.

The reason I need this is in a project I am working on I need to let the
user select portions of a file system.  Basicly describe a path, but I
would like to show the paths that they can choose from.

I have thought of several ways of doing this, but I figure if someone has
done something simalar then that would save me a lot of work.

Oh yea, I would like this for InterViews (hence the news group), BTW I am 
using InterViews 3.0.1.


Thank you for any help you can provide!

Matthew J. Scott
knight@cs.wwu.edu
Newsgroups: comp.windows.interviews
From: clueless@cis.umassd.edu (Thomas R. Johnson)
Subject: Compiling 3.0.1 under occ for Decstation 3100
Keywords: Numerous difficulties with make when using occ
Organization: University of Massachusetts Dartmouth
Date: Fri, 6 Nov 1992 01:02:41 GMT

I have been working on getting Interviews running on our school's Dec for about
10 hours now.  Unfortunately we are running occ instead of cc, and I am
having major pains trying to get it to make and compile it.

Specific problems:

1)  make CPU returns MIPSEL.  Looking through the config directory, I would
    have expected it to return ULTRIX.

2)  changing the DependCCFlags in local.def seems to make no differences
    where make is looking for the include files.

3)  undefining TurnOnOptimizing in local.def does not get rid of the -O
    parameter when compiling.  (occ barfs on the -O)

Has anyone got any suggestions.  Interviews looks very interesting to me and
I don't want to give up on this, but it is very frustrating.

I hope you can help!

Tom Johnson
From: prestonm@cs.man.ac.uk (Martin Preston)
Newsgroups: comp.windows.interviews
Subject: Minor problem with scrollbar
Keywords: scrollbars
Date: 11 Nov 92 09:27:49 GMT

This is probably an obvious question, but does anyone know how to create a
vscroll_bar where the sliding box starts at the top (i.e., an inverted
scroller to the default one)?

thanks in advance

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   |                   |
---------------------------------------------------------------------------
Newsgroups: comp.windows.interviews
From: chew@HPLCHEW.HPL.HP.COM
Subject: Re: Displaying Characters Slantingly
Organization: Internet-USENET Gateway at Stanford University
Date: Fri, 6 Nov 1992 22:58:08 GMT


>         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.

look in fontbrowser.c.   The arrays at  the top specify the parts  of
the specification that can be varied.  FontBroser::UpdateFontname at the
bottom updates the font and shows it.  The program just loads up a new
font each time you change a spec.  it doesn't modify the existing font.

-Chee
Newsgroups: comp.windows.interviews
From: haber@bashan.cs.wisc.edu (Eben Merriam Haber)
Subject: How to make g++ 2.3?
Organization: University of Wisconsin, Madison -- Computer Sciences Dept.
Date: Fri, 6 Nov 1992 17:25:03 GMT

I've been trying to build g++ 2.3, which I picked up via ftp from 
pub/contrib/g++/gcc.xtar.Z.

When I build it, it seems to think that it's version 2.2.2.  Is this the
case?  Did I take the wrong thing via ftp?  Is there something special I
need to do to get 2.3?

Thanks!

Eben M Haber
haber@cs.wisc.edu


Newsgroups: comp.windows.interviews
From: DAHMS@ifk20.mach.uni-karlsruhe.de (Heribert Dahms)
Subject: Problem with iv3.1-beta3 string class (lacks documentation!)
Organization: University of Karlsruhe, FRG (Dept. of Mechanical Engineering)
Date: Fri, 13 Nov 1992 16:05:16 GMT
X-News-Reader: VMS NEWS 1.20

I'm just porting iv3.1-beta3 to VAX/VMS and got a little problem with the
string class of InterViews in session.c .

I miss a complete description of the string class in A.6 of the iv-Manual
and also in the man pages (which i converted to a VMS help library).

I try cutting the argv[0] string (program name) from e.g.
	ifkvs2$dkb0:[interviews31]idemo.exe;7
first to
	idemo.exe;7
which works, but then i want to get
	idemo
i.e. the part of the string to the left of the dot (if any), but several
attempts resulted in keeping
	idemo.exe;7

That's obviously no problem with VMS itself, only with the string handling!
What's wrong?


Thanks,
Heribert Dahms	(dahms@ifk20.mach.uni-karlsruhe.de)

=============================================================================
Extract of src/lib/interviews/session.c :
=============================================================================

/*
 * Use ICCCM rules to find an application's instance name
 * from the command line or an environment variable.
 */

String* SessionRep::find_name() {
    String name;
    if (find_arg(String("-name"), name)) {
	return new String(name);
    }

    const char* res_name = getenv("RESOURCE_NAME");
    if (res_name != nil) {
	return new String(res_name);
    }

    if (argc_ > 0) {
	String s(argv_[0]);
#ifdef VMS		// H. Dahms  12.11.92
	int slash = s.rindex(']');
#else
	int slash = s.rindex('/');
#endif
	if (slash >= 0) {
	    s = s.right(slash + 1);
	}
#ifdef VMS		// H. Dahms  13.11.92
	int dot = s.index('.');
	if (dot >= 0) {
	    s = s.substr(0, dot);
	}
#endif
	return new String(s);
    }

    return new String("noname");
}
From: ssshah@bert.eecs.uic.edu.noname (Sanjeev Shah,chang,10/08/91,10/08/91,02/10/93)
Newsgroups: comp.windows.interviews
Subject: Source Listing of Schem
Date: 5 Nov 92 03:50:05 GMT
Article-I.D.: bert.1992Nov5.035005.12898
Reply-To: ssshah@bert.eecs.uic.edu.noname
Organization: Sun Microsystems, Inc.

Hi,

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"

Thank you,


********************************************************************************

Sanjeev Shah                                     Email: ssshah@bert.eecs.uic.edu
Concurrent Software Lab.                             Phone : (312) 413-7568
Dept. of EECS                                     Phone(Home) (312) 226-4102
University of Illinois at Chicago
*******************************************************************************
Newsgroups: comp.windows.interviews,gnu.g++.help