HDTenEightyP/NetNews huggingface dataset:
From: d89-kgo@nada.kth.se (Klas Gthager)
Subject: TBBox/LRBox
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Thu, 28 Jan 1993 00:37:37 GMT

Is there a certain reason for not implementing a horizontal scrollbox (i.e a
LRScrollBox) when there exists a TBScrollBox?

-- 

Klas Gthager            Email: d89-kgo@nada.kth.se
regrundsgatan 11/882
115 59  Stockholm

Everything you know is wrong!
From: alex@kirsche.intellektik.informatik.th-darmstadt.de (Alexander Gassmann)
Newsgroups: comp.windows.interviews
Subject: Re: Ibuild example - question.
Date: 27 Jan 1993 13:53:41 GMT
Organization: Technische Hochschule Darmstadt
Distribution: world
NNTP-Posting-Host: kirsche.intellektik.informatik.th-darmstadt.de

In article <1993Jan27.084420.23833@wyrdrune.demon.co.uk>, guy@wyrdrune.demon.co.uk (Guy Gascoigne-Piggford) writes:
|> 
|> I've been working through the tutorial in the ibuild users guide,
|> building the Namer example and have run into an irritating problem,
|> I've related the pushButton instance to the StringEditor instance and
|> filled in the rest of the Namer::entered() method, but when I run the
|> program and test it I find that I go through this method TWICE instead
|> of once, regardless of whether I've pressed return in the string field
|> or clicked on the entered button.

Aaah yes, that sounds very familiar to me. I think it is a timing
problem... When the ButtonState is set to 1, the associated method
is called. But it seems that InterViews calls it twice, once
when the ButtonState is 1, a second time when the ButtonState is
0. To avoid that your method gets called twice, you need to do 
the following thing:

  Give your ButtonState a good name (in IBuild, e.g. ConfirmBS)

  Export the ButtonState from the core class (Check the Export-Box)

  Regenerate the source code of the core class

  In your associated method, you need to do the following things FIRST:

    int ButtonStateValue;
    ConfirmBS->GetValue(ButtonStateValue);
  
    // To make sure that the Dialog shows up only when needed:
    if (ButtonStateValue==0) return;

  At the end of the method, make sure the ButtonState is reset:

    // Now the Button can be reset
    ConfirmBS->SetValue(0);

Since I am quite new to InterViews myself, I am not sure it is the
best method. At least it works :-)

If anybody has a better suggestion, please feel free to correct me.

Hope that will help,

Alexander Gassmann
Newsgroups: comp.windows.interviews
From: spxtrb@thor.cf.ac.uk (Tim Barnett - programmer)
Newsgroups: comp.windows.interviews
Subject: DragZones and friends (request for repost).
Date: 21 Jan 93 16:19:19 GMT
Organization: University of Wales College at Cardiff
X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway

I recall that someone posted examples (or pointers to examples) of the
use of DragZones, DragSinks, et al. to this group recently.  Our site has
expired them - would some kind soul consider mailing them to me  (or even
reposting them if anyone else missed them) ?

Many thanks in advance for your help,
Tim
Newsgroups: comp.windows.interviews
From: denisb@leland.Stanford.EDU (Denis Bohm)
Subject: Re: DragZones and friends (request for repost).
Organization: DSG, Stanford University, CA 94305, USA
Date: Sat, 23 Jan 93 17:43:16 GMT

There is an example program in the examples directory distributed with
the interviews source.
-- 
Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu)
From: alex@kirsche.intellektik.informatik.th-darmstadt.de (Alexander Gassmann)
Newsgroups: comp.windows.interviews
Subject: Problems with Messages
Date: 27 Jan 1993 16:19:29 GMT
Organization: Technische Hochschule Darmstadt
Distribution: world
NNTP-Posting-Host: kirsche.intellektik.informatik.th-darmstadt.de

I use Dialogs with Messages built with IBuild (Message-Tool).
Sometimes, these Messages change, and I want to avoid that
the text gets edited (it is a plain information). That is the
reason I do not use the StringEditor. 

When the Messages are exported, I can change them with the
aMessage->Message(const char*) method. My problem seems to be
that when the Message gets changed, the redraw method crashes.

Is there some kind of an update method which needs to be called
before the next redraw, to notify that the message has changed?

Thanks 4 your help,

Alexander Gassmann
From: leech@cs.unc.edu (Jon Leech)
Newsgroups: comp.windows.interviews
Subject: Re: InterViews 3.1 HPUX Series 700 (PA-RISC)
Date: 26 Jan 1993 17:58:32 GMT
Organization: The University of North Carolina at Chapel Hill
Distribution: world
NNTP-Posting-Host: mahler.cs.unc.edu

In article <9301261736.AA03927@ramsesii.ultryx.com>, win@RAMSESII.ULTRYX.COM (Win) writes:
|> Someone MUST have some ideas on what to attempt next.
|>
|> I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC).
|> When attempting to compile action.c, I get the following (Note: the compile
|> options for more information):

    Use the compatibility mode (-Ac) preprocessor so you can up the
memory size (this is an HP bug). From my local.def:

#ifdef HPArchitecture
/* For HP, use -Ac to get compatibility mode preprocessor, because
 *  ANSI mode preprocessor won't accept "-H400000" argument.
 */
#ifdef ExtraCCFlags
#undef ExtraCCFlags
#endif
#define ExtraCCFlags -Ac -Wp,-H400000
#endif /*HPArchitecture*/

    Jon
    __@/
Newsgroups: comp.windows.interviews
From: bryan@sphinx.phys.Virginia.EDU (bryan wright)
Subject: IV binaries for a DECstation?
Organization: University of Virginia
Date: Thu, 28 Jan 1993 19:54:24 GMT

Hi folks,
	Does anyone out there have binaries of doc and idraw for a
DECstation 3100?
				Thanks in advance,
				Bryan
===============================================================================
Bryan Wright                |"If you take cranberries and stew them like 
Physics Department          | applesauce, they taste much more like prunes 
University of Virginia      | than rhubarb does."  --  Groucho 
Charlottesville, VA  22901  |			
(804) 924-6814              |         bryan@sphinx.phys.virginia.edu
===============================================================================

--
===============================================================================
Bryan Wright                |"If you take cranberries and stew them like 
Physics Department          | applesauce, they taste much more like prunes 
University of Virginia      | than rhubarb does."  --  Groucho
From: jayg+@CS.CMU.EDU (Jay Gowdy)
Newsgroups: comp.windows.interviews
Subject: More info on zooming problem
Date: 27 Jan 93 19:39:22 GMT
Article-I.D.: cs.C1J2Lw.F33.1
Organization: Carnegie Mellon University

In case you're interested, the two different transformation matrices that erroneously result in the same key in tx_key are:

(class ivTransformer) = 
{ 
 unsigned int ivResource::refcount_ = 0x1; 
 osboolean identity_ = 0x0; 
 float mat00 = 4.096000e-01; 
 float mat01 = 0.000000e+00; 
 float mat10 = 0.000000e+00; 
 float mat11 = 4.096000e-01; 
 float mat20 = 1.359938e+02; 
 float mat21 = 3.403380e+01; 
} 
x = 1152.960
y = 1152.960

and

(class ivTransformer) = 
{ 
 unsigned int ivResource::refcount_ = 0x1; 
 osboolean identity_ = 0x0; 
 float mat00 = 3.276800e-01; 
 float mat01 = 0.000000e+00; 
 float mat10 = 0.000000e+00; 
 float mat11 = 3.276800e-01; 
 float mat20 = 1.832190e+02; 
 float mat21 = 8.125903e+01; 
} 
x = 1152.960
y = 1152.960

Both result in a key value of 8487168, even though they are at different scales.

					Jay
From: win@RAMSESII.ULTRYX.COM (Win)
Newsgroups: comp.windows.interviews
Subject: InterViews 3.1 HPUX Series 700 (PA-RISC)
Date: 26 Jan 93 17:36:28 GMT
Article-I.D.: ramsesii.9301261736.AA03927
Organization: Internet-USENET Gateway at Stanford University

Someone MUST have some ideas on what to attempt next.

I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC).  
When attempting to compile action.c, I get the following (Note: the compile
options for more information):

--------------- Begin make output -------------------------
/usr/local/src/InterViews/iv/src/lib/IV/HP800> make
        CC +p -v -E +i     -Dcplusplus_2_1  -DSYSV   -I../../../.././src/include
 -I/usr/include/X11R4   -c ../../InterViews/action.c
 /usr/lib/Cpp.ansi -Dcplusplus_2_1 -DSYSV -I../../../.././src/include -I/usr/inc
lude/X11R4 -D__hp9000s700 -D_PA_RISC1_1 -$ -Dc_plusplus -D__cplusplus -D__hp9000
s800 -D__hppa -D__hpux -D__unix -Dhp9000s800 -Dhppa -Dhpux -Dunix -I/usr/include
/CC -I/usr/include ../../InterViews/action.c
# 1 "../../InterViews/action.c"
# 25

# 1 "../../../.././src/include/InterViews/action.h"
# 32

# 1 "../../../.././src/include/InterViews/resource.h"
# 32

# 1 "../../../.././src/include/InterViews/enter-scope.h"
# 28

# 1 "../../../.././src/include/InterViews/iv.h"
# 36

# 29 "../../../.././src/include/InterViews/enter-scope.h"




# 1 "../../../.././src/include/InterViews/_undefs.h"
# 304

# 33 "../../../.././src/include/InterViews/enter-scope.h"

# 1 "../../../.././src/include/InterViews/_defines.h"
# 304

# 34 "../../../.././src/include/InterViews/enter-scope.h"
# 45

# 1 "../../../.././src/include/OS/enter-scope.h"
# 28

# 1 "../../../.././src/include/OS/os.h"
# 34

# 29 "../../../.././src/include/OS/enter-scope.h"
# 34

# 1 "../../../.././src/include/OS/_defines.h"
# 25

# 35 "../../../.././src/include/OS/enter-scope.h"

Pid 11356 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
CC: error: `/usr/lib/Cpp.ansi' terminated with signal 11 (1922)
*** Error code 1

Stop.

--------------- End make output -------------------------

Experiments have shown:

	o	increasing maxssiz from 8388608 to 134,217,728 results only in a larger 
		core file (from approx. 13MB to 58MB).

	o	Not including #include <InterViews/enter-scope.h> in resource.h
		causes no core but also generated compiler warnings and errors
		since boolean is not defined.
	
	o	#if 0 ... #endif around code sample to follow, in 
		iv/src/include/OS/enter-scope.h results in moving the error further
		along to the return from resource.h
		
--------------- Begin code sample of enter-scope.h -------------------------
#ifndef os_boolean
#define os_boolean

typedef unsigned boolean;

static const unsigned false = 0;
static const unsigned true = 1;

#endif

#ifndef os_u_char
#define os_u_char

typedef unsigned char u_char;

#endif
--------------- End code sample of enter-scope.h -------------------------

Any ideas would be greatly appreciated!

Thanks In Advance,

Win
win@ultryx.com
From: wjin@cs.uh.edu (W. Woody Jin)
Newsgroups: comp.windows.interviews
Subject: Re: new release of InterViews 3.1 patch kit for g++
Date: 25 Jan 1993 00:57:44 GMT
Organization: University of Houston
NNTP-Posting-Host: rodin.cs.uh.edu

In article <9301221157.AA06454@mirkwood.cygnus.com> mrs@MIRKWOOD.CYGNUS.COM (Mike Stump) writes:
>I have finally upgraded my InterViews to 3.1, ported over my patches, and
>verified everything works pretty well when compiled with g++.
>
>First is the README, then the patches.
>
>							January 22, 1993
>
>This file comes to you from:
>
>    pub/contrib/g++/iv-3.1-g++-3.1.tar.Z@interviews.stanford.edu
>
>
>Here is a set of patches to help you get iv-3.1 working with a free
>compiler.  I am using iv-3.1 and libg++-2.2 and gcc-2.3.3 on a Sun ELC
>(sun4 SPARC) running SunOS 4.1.2.  Future versions of libg++ and gcc
>should continue to work as well as the versions describe here.

I think that I tried the above patch to decstations running Ultrix 4.2 A
but it did not compile.
After the above patch, I could manage to compile by defining 
  _G_BROKEN_SIGNED_CHAR
and using cc instead of gcc for TIFF.

Without patch, interviews3.1 compiles without problem on decstation,
but doc core dumps ( 8-( ).

-- 
____   ____  ____ ____________________________________ (___) _________________
|  |   |  |  |  |  W. Woody Jin (wjin@cs.uh.edu)       (o o)      Moo.... 
|  |   |  |__|  |  PhD Student. Research Asst.  o=======\ /  I'm  a Cow Lover.
|  |   |        |  Dept. of Computer Science   / |     ||O   My wife  was born
\  |---|  |--|  |  University of Houston      `  ||'---||    in Cow year. Mooo
 \____/|__|  |__| _______________________________^^    ^^_____________________


Newsgroups: comp.windows.interviews
From: hemmer@SG2.CR.USGS.GOV (Jim Hemmer)
Subject: Tabs
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 27 Jan 1993 14:44:19 GMT


I am trying to define a class Tab which would be used as
a special Character and would be placed in an LRComposition
with other Character instances  (see src/examples/preview/main.c)
Tab stops would be defined at specific horizontal locations.  

The problem is the width of a Tab instance is dependent on its
Horizontal position in the LRComposition.  For instance if a 
Tab is placed at 2 inch and the Tab instances location is 1.5 inch, 
the Tab's width would be (2 inch - 1.5 inch) = .5 inch.

When the LRCompositor requests the Tab's width, via ::request,
the horizontal location is unknown.

Any feedback on how Tab could be implemented would be appreciated.
-- 

================================
| Hughes STX Corporation       |
| EROS Data Center             |
| Sioux Falls, SD 57198        |
|                              |
| att: 605-594-6862            |
| fax: 605-594-6589            |
| hemmer@sg2.cr.usgs.gov       |
================================


Newsgroups: comp.windows.interviews
From: sahul@loading-zone.Stanford.EDU (Zakir H. Sahul)
Subject: Unidraw/idraw stretch questions
Organization: Stanford University
Date: Wed, 27 Jan 93 01:16:51 GMT

Could someone please help me stretch/modify a GraphicComp in Unidraw using a
Command instead of a tool?  

I basically want to stretch a rectangle component so that its height is doubled. 
The user would select the rectangle, pull down a menu, and select a menu entry
called "double height".  This executes a command that I have defined. 

Ideally I just want to compute the height of the rectangle, add half that height
to the top vertices and subtract half that height from the bottom vertices.  I
have gotten to the coordinates and computed the height etc, but I do not know how
to change the coordinates.  There doesn't seem to be a member function besides
the constructor that sets the coordinates.

So far, I have been able to move the rectangle, rotate it, change it's
colors, delete it, etc. but I do not know how to just simply alter the 
coordinates.  I tried to use the "ReplaceCmd" from Unidraw and it segmentfaults.

Thanks in advance for all replies!

-Zak.


Newsgroups: comp.windows.interviews
From: philipp@siemens.co.at (Christian Philipp)
Subject: Re: Doc screws up after printing.
Date: Mon, 25 Jan 1993 08:59:52 GMT
Distribution: na
Organization: SIEMENS Austria Corp., A-1100 Wien, Gudrunstr. 11
X-Newsreader: TIN [version 1.1 PL8]

ACPS7221@RyeVm.Ryerson.Ca wrote:
:    Has anyone found a problem with doc after printing.  I don't lose any of my
: file, but I can't enter anything. The menus work fine and I can exit, then
: restart and continue.  Only happens after I print (creates a .ps file).
:    Can anyone comment on this?
:                              Regards, Michael.

I found this problem too.
(The behaviour was, that the cursor didn't blink anymore)
What I did was to iconize and deiconize the doc-application and then I was 
able to continue working with the doc-application.

But this is not a good solution, so I'm interested in a more user friendly one.

Thanks
-- 
*************************************************************************
Name:		Christian Philipp
Organization:	SIEMENS AG Austria; PSE 1343
EMail:		philipp@siemens.co.at
From: matsj@Delfi.CMD.UU.SE (Mats Johnson)
Newsgroups: comp.windows.interviews
Subject: Re: Events Monitor for Interviews wanted
Date: 26 Jan 93 12:48:21
Organization: CMD - Center for human computer studies, Uppsala University
Reply-To: Mats.Johnson@CMD.UU.SE
NNTP-Posting-Host: delfi.cmd.uu.se
In-reply-to: cshi@mga.com's message of 25 Jan 93 19:11:21 GMT


Since Interviews runs under X, xscope can also be used for Interviews
applications. There is also the DebugGlyph which can be used to trace
glyph calls. It can trace (selectively) request, allocate, draw,
print, pick and undraw calls.

--
Mats Johnson, CMD, Uppsala University, Laegerhyddsvaegen 18, S-752 37 UPPSALA
Mats.Johnson@CMD.UU.SE
Newsgroups: comp.windows.interviews
From: daw@sc.zuken.com (Don Walters)
Subject: Problem with unmap/map
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 28 Jan 1993 19:06:49 GMT

I am having a problem re-mapping a window after calling unmap
on that window.  Symptoms are:

    1. Have mapped a window (any ManagedWindow).
    2. Call window->unmap(), and window->display()->sync();
       Window unmaps just fine.
    3. Call window->map();
       The window maps, but it's contents are not displayed.
       However, the InputHandler objects are still active.

I have checked that the draw method of the top-level glyph
is getting called at map time, so it appears that the
double-buffering is the problem.

Does anyone know of other things that should be done either
when unmapping or re-mapping?  Do I need to unbind/bind?

Following is a simple example that demonstrates the problem.
Thanks for any advice.

Don Walters

----------------------------------------------
#include <IV-look/kit.h>
#include <InterViews/background.h>
#include <InterViews/display.h>
#include <InterViews/layout.h>
#include <InterViews/session.h>
#include <InterViews/window.h>
#include <stdio.h>
#include <unistd.h>

static ApplicationWindow* appWindow;

class App {
public:
    void msg();
};

declareActionCallback(App)
implementActionCallback(App)

void App::msg() {
    appWindow->unmap();
    appWindow->display()->sync();
    Session::instance()->quit();
}

int main(int argc, char** argv) {
    Session* session = new Session("Unmap", argc, argv);
    WidgetKit& kit = *WidgetKit::instance();
    const LayoutKit& layout = *LayoutKit::instance();
    App* a = new App;
    appWindow = 
	new ApplicationWindow(
	    kit.inset_frame(
		layout.margin(
		    kit.push_button(
			"Push Me To Unmap", new ActionCallback(App)(a, &App::msg)
		    ),
		    10.0
		)
	    )
	);
    session->run_window(appWindow);
    printf("sleeping for 3 seconds, then remapping.\n");
    sleep(3);
    appWindow->map();
    session->run_window(appWindow);
}
Newsgroups: comp.windows.interviews
From: kizakker@kluge.fiu.edu (Ranjana Kizakkevariath)
Subject: I get a core dump when trying to add something to Punidraw
Organization: Florida International University, Miami
Date: Sun, 24 Jan 1993 17:26:32 GMT

Hi,

I have the following code which creates a core dump when I run the program . 
This compiles fine.

Can somebody help me with this. I am trying to modify the "Punidraw" program to 
put some new GraphicComp in it.

Here is the relevant lines from code....

class PictComp : public GraphicComp {
 ..........................
 .......................
 };

 ........................
 class MyComp : public GraphicComps {
 public:
       MyComp() {};
       }


.................................
...............................

Picture* picture = new Picture();
GraphicComp* Newcomp = new MyComp();
GraphicView* view = (GraphicView*) Newcomp->Create(COMPONENT_VIEW);
Newcomp->Attach(view);

Label* MyLabel = new Label ("New Comp");
MyLabel->SetTransformer(new Transformer(1, 0, 0, 1, 18, 1.5));
picture->Append(MyLabel);
PictComp* pcomp = new PictComp(picture);
Newcomp->Append(pcomp);

ControlInfo* _VPanelControl_924_info = new ControlInfo(Newcomp, "r", "r
  ");
Tool* _VPanelControl_924_tool = new GraphicCompTool(_VPanelControl_924_info, (GraphicComp*) Newcomp->Copy());
VPanelControl* _VPanelControl_924 = new VPanelControl("_instance_521", _VPanelControl_924_info, _curCtrl_0);
GetKeyMap()->Register(_VPanelControl_924);

.........................



 Am I totally in the wrong track? Is there a better way to do this?

 Thank you
 Ranjana



Newsgroups: comp.windows.interviews
From: vlis@WATSON.IBM.COM (John Vlissides)
Subject: Re: help in creating a tool with different graphic comps in it
Reply-To: vlis@watson.ibm.com
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 27 Jan 1993 13:18:27 GMT

In article <C0yMCE.12L@fiu.edu>, you write:

> Has anyone written a tool which creates a combination of different
> graphic parts.  For Example , a tool with one ellipse and a rectangle
> in it.  Or can someone tell me how to do that?

A GraphicCompTool instantiates copies of a prototype component.
Simply create a GraphicComps containing an EllipseComp and a RectComp;
then create a GraphicCompTool with the GraphicComps instance as its
prototype.

--
John Vlissides / IBM T.J. Watson Research / vlis@watson.ibm.com
Newsgroups: comp.windows.interviews
From: lenox%goofy.cti-pet.com@CTI-PET.COM (Mark Lenox)
Subject: Re: Help
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 27 Jan 1993 12:33:22 GMT



Under 3.1, a MenuItem can be disabled (grayed out) by modifying it's 
TelltaleState.  For example, a MenuItem m:

   m->state()->set(TelltaleState::is_enabled,False);

You will find this information in section 9.6 of the InterViews 3.1 manual.
Newsgroups: comp.windows.interviews
From: rosen@EQUINOX.UNR.EDU (David B. Rosen)
Subject: binaries?
Organization: Internet-USENET Gateway at Stanford University
Date: Wed, 27 Jan 1993 23:29:53 GMT

Are precompiled versions of Interviews, and especially of Idraw,
available for HP9000/300 (or /200 or /400)?
From: leech@cs.unc.edu (Jon Leech)
Newsgroups: comp.windows.interviews
Subject: Re: InterViews 3.1 HPUX Series 700 (PA-RISC)
Date: 27 Jan 1993 14:04:54 GMT
Organization: The University of North Carolina at Chapel Hill
Distribution: world
NNTP-Posting-Host: mahler.cs.unc.edu

In article <1993Jan27.112347.29999@Informatik.TU-Muenchen.DE>, stumpf@Informatik.TU-Muenchen.DE (Markus Stumpf) writes:
|> In article <9301261736.AA03927@ramsesii.ultryx.com>, win@RAMSESII.ULTRYX.COM (Win) writes:
|> |> I'm having a problem compiling InterViews 3.1 on HPUX Series 700 (PA-RISC).
|> |> When attempting to compile action.c, I get the following (Note: the compile
|> |> options for more information):
|> Yup! It's a bug in HP cpp (in both, ansi and non-ansi versions) which they
|> promised to fix for the next release!

    If you use the "non-ansi" cpp, you can successfully crank up the
preprocessor table size, as I posted yesterday. Using the GNU cpp
doesn't gain you anything.
    Jon
    __@/
Newsgroups: comp.windows.interviews
From: ashish@mcc.com (Ashish Parikh)
Subject: Interviews & MSWindows
Organization: Microelectronics and Computer Technology Corp.
Date: Sat, 23 Jan 1993 00:11:31 GMT

Has anyone ported InterViews to Microsoft Windows?  If so, please
e-mail me at the address below.

Thanks
Ashish
-- 
--------------------------------------------------------------------
Ashish Parikh  	  |Chaos. I can relate to that. My life is chaos most
ashish@mcc.com 	  |of the time. I am in tune with the universe. 
512 250 2879	  |It feels like home. - Robert Fulghum
--------------------------------------------------------------------