HDTenEightyP/NetNews huggingface dataset:
From: dburton@sei.cmu.edu (Daniel Burton)
Subject: STARS '92 Conference, 8-10 Dec 92
Organization: The Software Engineering Institute
Date: Tue, 18 Aug 1992 14:20:52 GMT



	SOFTWARE TECHNOLOGY FOR ADAPTABLE, RELIABLE SYSTEMS (STARS)


Our annual conference, STARS '92, will be held 8-10 December at the Omni 
Shoreham in Washington, D.C. Format will be similar to last year, except
an additional day has been added in order to support more and technical
presentations and discussions. This year we'll be focusing on:
	* Technology Advances
	* Tool Integration
	* Maturing Tools Oriented Toward Megaprogramming
	* Planning for the STARS Demonstration Projects
	* Technology Transition and user Activities
	* Commercialization Activities
	* Insight into other DARPA SW Technology Efforts such at DSSA
	   and Prototech

As last year, demonstrations of tools and capabilities from STARS primes,
commercial counterparts and related vendors will play a major role.

The next issue of the STARS Newsletter will contain an advance registration
form and additional information. You may also obtain additional information
by faxing your request to the STARS Technology Center, Fax: (410) 267-0332,

or write: The STARS '92 Conference Center
          3 Church Circle - Suite 194
	  Annapolis, MD 21401

or E-Mail: STARS92-Desk@STARS.Rosslyn.Unisys.Com  
Newsgroups: comp.lang.ada
From: rmo@sei.cmu.edu (Robert Ollerton)
Subject: Re: Dynamic Task Creation/Control
Organization: Software Engineering Institute
Date: Sat, 22 Aug 1992 17:57:17 GMT

There is a confusing error in my previous post.  

Substitute "New_Task := new Reusable_Task;" for
           "New_Task := new Example;"

Sorry,


These opinions are my own and nobody else's.

Robert Ollerton
Naval Command, Control and Ocean Surveilance Center Research, Development,
Test and Evaluation Division
ollerton@nosc.mil
From: dymm@cards.com (David Dymm)
Newsgroups: comp.lang.ada
Subject: Lex and Yacc for Ada
Date: 21 Aug 92 17:12:06 GMT

Does anyone know where I can get versions of lex and yacc for
Ada?  I have versions for C, but in my organization, I am
requried to write code in Ada, not C.

Than you.

David Dymm - Principal Engineer

USMAIL: Electronic Warfare Associates
        1401 Country Club Road
        Fairmont, WV  26554
PHONE:  304 367-0770
FAX:    304 367-0775
INTERNET: dymm@cards.com
From: andrewd@cs.adelaide.edu.au (Andrew Dunstan)
Newsgroups: comp.lang.ada
Subject: Re: Instanciation
Date: 22 Aug 92 01:52:25 GMT

In article <tp923021.714292909@kari>, tp923021@kari.canberra.edu.au (Ben Elliston) writes:
|> Hi.
|> 
|> I've got a package which I'm currently coding which uses a static data
|> structure (an array of records to be precise).  Now, this package is an
|> ADT with a private data type.
|> 
|> I want to be able to modify the size of this array from within a client
|> program at runtime.
|> 
|> Can anyone suggest how I might be able to go about this?
|> 
|> Thanks.
|> 

Depends if you want to be able to modify it arbitrarily, or just at
instantiation time. If the latter, make the package generic and pass in the
size you want as a generic parameter. For more flexibility, you can't do
it using a purely static data structure, since the size of such objects is
irrevocably fixed by their declaration. You could try something like this:


package mine is

   type my_type is private;
   procedure expand(m : in out my_type; by : positive);
   ...
private
   type my_array is array(positive range <>) of my_record;
   type my_access is access my_array;
   type my_type is record
      ma : my_access := new my_array(1..initial_size);
   end record;

end mine;

package body mine is

   procedure expand(m : in out my_type; by : positive) is
      new_ma : my_access := new my_array(1..m.ma'length+by);
   begin
      new_ma(1..m.ma'length) := m.ma(1..m.ma'length);
      m.ma := new_ma;
   end expand;

   ...
end mine;

Note:
  (1) Self-organising structures, which expand automatically as needed
      are better (and easier to use) than those which you have to
      manipulate explicitly.
  (2) Expansion in a scheme like this is better and more efficiently done
      by expanding by a constant FACTOR, say 1.5 or 2. It turns out that
      the ammortised cost of expanding is kept lower that way.
  (3) I have not included any garbage collection in my skeleton code.
      When I use this scheme, I generally include it, by using
      unchecked_deallocation. 
--  
-- 
#######################################################################
#  Andrew Dunstan                   #   There's nothing good or bad   #
#  Department of Computer Science   #   but thinking makes it so.     #
#  University of Adelaide           #                                 #
#  South Australia                  #          - Shakespeare          #
#  net: andrewd@cs.adelaide.edu.au  #                                 #
#######################################################################
Newsgroups: comp.lang.ada
From: tp923021@kari.canberra.edu.au (Ben Elliston)
Subject: Instanciation
Organization: Info Sci & Eng, University of Canberra, AUSTRALIA
Date: 20 Aug 92 06:41:49 GMT

Hi.

I've got a package which I'm currently coding which uses a static data
structure (an array of records to be precise).  Now, this package is an
ADT with a private data type.

I want to be able to modify the size of this array from within a client
program at runtime.

Can anyone suggest how I might be able to go about this?

Thanks.

Cheers,
%Ben%
------------------------------------------------------------------------------
Ben Elliston                                           | This message
Bachelor of Engineering (Computer Engineering)         | brought to you
University of Canberra                                 | by the machine
Internet: tp923021@fir.canberra.edu.au                 | that goes
FidoNet:  3:620/262                                    | 'ping'!
-------------------------------------------------------+----------------------
If a train station is where the train stops, what is a workstation?
------------------------------------------------------------------------------

Newsgroups: comp.lang.ada
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: ftp site for Ref. Man. for Ada prog lang
Keywords: ada
Organization: George Washington University
Date: Tue, 18 Aug 1992 03:06:55 GMT

In article <sjs.714089113@sbphy.physics.ucsb.edu> sjs@sbphy.physics.ucsb.edu (Steve J. Schmidhauser) writes:
>I am looking for ftp site for the Reference Manual for the Ada
>Programming Language ( ANSI/MIL-STD-1815A-1983 ) TIA
>--
anonymous ftp to ajpo.sei.cmu.edu; directory public/lrm (I think).

Mike Feldman
------------------------------------------------------------------------
Michael B. Feldman
co-chair, SIGAda Education Committee

Professor, Dept. of Electrical Engineering and Computer Science
School of Engineering and Applied Science
The George Washington University
Washington, DC 20052 USA
(202) 994-5253 (voice)
(202) 994-5296 (fax)
mfeldman@seas.gwu.edu (Internet)

"Americans wants the fruits of patience -- and they want them now."
------------------------------------------------------------------------
From: jot@sps.com (Joe Tallet)
Newsgroups: comp.lang.ada
Subject: Re: Type Extensions VS Classes (was Re: Object Oriented Ada...)
Date: 11 Aug 92 20:15:08 GMT
Organization: Software Productivity Solutions, Inc (SPS), Melbourne, FL, USA

In article <9222000.23050@mulga.cs.mu.OZ.AU> fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
>Does Ada-9X have any concept similar to C++'s abstract base classes?
>
>For example, in C++ I might have something like
>
>	class Shape {
>	public:
>		virtual void draw() = 0;
>		virtual ~Shape {}
>	};
>
>	class Circle: public shape { virtual void draw() { ... } };
>	class Square: public shape { virtual void draw() { ... } };
>	// etc.
>
>How would you do this in Ada-9X?
>

. . . use Classic-Ada PDL . . .

----------------
  class Shape is
    -- Used to define behavior common to both Circle and Square.
    -- If there is no common behavior then there is no need to have it here.
    -- An abstract class has no methods to create instances.
    instance method Draw;
    instance method Finalize;
  end Shape;

----------------
  class Circle is
    superclass Shape;
    method Create (New_Object : out Object_Id);
    instance method Draw;
    instance method Finalize;
    instance method Delete;
  end Circle;

----------------
  class Square is
    superclass Shape;
    method Create (New_Object : out Object_Id);
    instance method Draw;
    instance method Finalize;
    instance method Delete;
  end Square;

----------------
  -- No need to 'with' or 'use' the destination object.
  procedure Client (A_Shape : Object_Id) is
  begin
    send (A_Shape, Draw);
  end Client;


jot

Newsgroups: comp.lang.ada
From: ucaa2385@ruscvx.rus.uni-stuttgart.de (Peter Hermann)
Subject: Re: Multiple Inheritance -- the last post?
Organization: User ruscvx Comp.Center (RUS) University of Stuttgart, Germany
Date: Thu, 20 Aug 1992 12:26:58 GMT

In article <1992Aug20.114552.1118@sei.cmu.edu> wellerd@ajpo.sei.cmu.edu (David Weller) writes (citing Booch):
>multiple inheritance is like a parachute -- you don't always need it,
>but when you do, you're quite happy to have it.

correct. You need a parachute in the worst case only.

Peter
Newsgroups: comp.lang.tcl
From: sinclair@dcs.glasgow.ac.uk (Duncan Sinclair)
Newsgroups: comp.lang.tcl
Subject: Help save my TkLife...
Summary: How do I write the game of Life in Tk/Tcl?
Keywords: Conway, Life, Tk
Date: 20 Aug 92 14:06:01 GMT
Organization: Glasgow University Computing Science Dept.

A group of us here are investigating the usefulness of Tcl & Tk
at providing easy user interfaces for functional language programs.

Because I know something about X, and Tk, I've been given the task
of writing a few small demos to try it out.

My first task is Conway's game of Life.

Now what I know about Tcl and Tk you could probably fit on the
inside cover of a prayer book, so I thought I would turn to the
net to help me out.

(I'm reading the tutorial slides on Tcl & Tk as I write...)

So, onto the substance of this message...

Has anyone out there written Life in Tk?  Can somebody help me out?
Is the Canvas widget suited to this sort of thing anyway?

I'd be grateful for any assistance anybody out there can give me...



-- 
Duncan Sinclair                     |  Try one    sinclair@dcs.glasgow.ac.uk
Computing Science Research Student  |  of these:  sinclair@uk.ac.glasgow.dcs
University of Glasgow               |..!mcsun!ukc!uk.ac.glasgow.dcs!sinclair
           ---  Rave Culture: Don't techno for an answer.  ---
From: libes@cme.nist.gov (Don Libes)
Newsgroups: comp.lang.tcl
Subject: Re: How to expect.
Date: 22 Aug 92 18:57:44 GMT
Organization: National Institute of Standards and Technology

In article <1992Aug21.164145.11775@cc.gatech.edu> clayton@cloudgen1.gatech.edu (R. Clayton) writes:
>I have a program that presents text a screen at at time.  I have an expect
>front-end to the program that issues a sequence of page commands, picks apart
>the screens and prints the resulting text with send_user.  I'd like to run the
>text through a pager (e.g., more) so the user can control the spew of text, but
>am unsure how to go about it.
>
>One thing I could do is write the text to a file, spawn a pager on the file,
>and then let the user interact with the pager.  This is the effect I want, but
>I don't want to have the user sitting around waiting while the script writes
>400+ pages to a file.  Another possibility is to fork with the file writer in
>one copy and the pager in the other, but this raises coordination problems
>(e.g., when the user pages to the current end-of-file before the writer
>finished writing the file) in addition to the fact that I haven't been able to
>get sample scripts written in this style to work.  A third possibility is to
>make a pipeline with the pager and multiplex between the two tasks in the
>script itself, but I haven't been able to come up with a multiplexing scheme
>that doesn't involve re-implementing the pager in the script.
>
>Any ideas?

Do this:

exec "mknod fifo p"		;# make a fifo
spawn pager fifo		;# run your pager on the fifo output

Loop waiting for output from 1) your program, 2) pager, and 3) user,
such that output from:

	user goes to pager
	pager goes to user
	your program goes to fifo

If your control of your program is simple enough, you can just fork
the last part off, and call "interact" and let it handle the first two
parts of the loop.

Look in kibitz for an example of how to wait on output from three
different sources.

Feel free to mail further questions directly to me.

Don Libes          libes@cme.nist.gov      ...!uunet!cme-durer!libes
From: ouster@sprite.Berkeley.EDU (John Ousterhout)
Newsgroups: comp.lang.tcl
Subject: Re: Bug report - text and canvas widgets leave pixel turds in OW 3.0
Date: 17 Aug 1992 15:45:06 GMT
Organization: U.C. Berkeley Sprite Project
Distribution: world
NNTP-Posting-Host: tyranny.berkeley.edu

In article <1992Aug11.230311.5499@awds.imsd.contel.com>, mh@awds.imsd.contel.com (Mike Hoegeman) writes:
|> John, here's a bug report. This may be an openwindows problem?
|> 
|> Under openwindows 3.0 the text widget cursor leaves pixel turds behind
|> when scrolling the widget with the insertion cursor at the bottom left
|> hand corner of the widget. The column of pixels on the left hand side
|> of the insertion cursor are not being cleared as scrolling is taking
|> place.
|> 
|> Similarly, in the item types canvas demo in the 'widget ' script if you
|> drag the outlined pie arc (the green one on color machines) toward the
|> top of the screen it leaves around pixel turds at the bottom part of
|> the outline and at the right hand tips of the area where the slice is
|> taken out of the pie. If you drag the pie arc downwards the bottom
|> those same pixels are not being blitted with the rest of the pie arc.
|> -- 
|> ------------------------------------------------------------------------------
|> Mike Hoegeman               email: mh@wx.gtegsc.com  tel: (818)706-4145
|> GTE Weather Systems Group   31717 La Tienda Dr, Westlake Village CA. 91359

I haven't had a chance to look at the problems with the text widget cursor,
but I've fixed a couple of bugs in bounding-box computations that were
responsible for the problems with the green arc.  These will be in the
upcoming 2.3 bug-fix release.

However, OpenWindows does not display arcs correctly so I can't completely
eliminate the pixel turd problems.  For example, the red outline pie-arc
at the very lower left of the "Item Types" demo leaves turds behind from
its left edge and I can't easily make this stop.  The problem is that
OpenWindows doesn't obey the X spec when drawing arcs.  If anyone out there
has contacts with the OpenWindows developers, you might forward this message
on to them.  A wide arc is supposed to be drawn with a constant width all
around, even if the arc is elliptical in shape.  OpenWindows stretches the
width in proportion to the arc's eccentricity so that it has the specified
width at the narrow sides of the arc but is wider at the longer sides of
the arc by the aspect ratio of the arc's defining ellipse.  I suspect that
this behavior comes from using Postscript primitives in NeWS to draw arcs
(e.g. draw a wide circular arc, then stretch it to make an elliptical arc).
For now I'm not going to try to compensate for this in Tk, since it only
happens under OpenWindows.
From: stiles@rdd.lmsc.lockheed.com (Randy Stiles)
Newsgroups: comp.lang.tcl
Subject: What are the new features of tk2.2?  - Where is it?
Keywords: tk2.2
Date: 14 Aug 92 19:36:02 GMT
Reply-To: stiles@rdd.lmsc.lockheed.com
Organization: Lockheed Missles & Space Co., Inc.

Hi,

I have been exploring tk2.1, which I downloaded from barkley.berkley.
I have seen several mentions of tk2.2 on this newsgroup, but I can't find
it anywhere for downloading?  Where is it?  Is some small group beta-testing
it?

And a related question - I'm fairly familiar with the features of 2.1.  What
are the added improvements for 2.2?  Is there any more support
for the canvas widget, such as bitmaps, windows, curves and crvagons?

Thanks in advance,

-Randy

---
## Randy Stiles, Office: 415.354.5256, Fax: 415.354.5235 
## stiles@titan.rdd.lmsc.lockheed.com
## Lockheed AI Center, Orgn 96-20 Bldg 254F, 
## 3251 Hanover St., Palo Alto, CA 94304-1191
Xref: sparky comp.lang.tcl:1182 comp.unix.aix:8766 comp.windows.x:15184
From: nwinton@axion.bt.co.uk (Neil Winton)
Newsgroups: comp.lang.tcl,comp.unix.aix,comp.windows.x
Subject: Re: Font problem in tk2.2 ?
Keywords: tk2.2 font AIX RS/6000 X
Date: 13 Aug 92 10:35:11 GMT
Organization: BT Laboratories

(I'm cross-posting to comp.unix.aix and comp.windows.x in case any of the experts
there can shed any light on this)

In article <1992Aug11.200305.15968@rchland.ibm.com>, shmdgljd@rchland.vnet.ibm.com (Jay Schmidgall) writes:
|> I've noticed a font problem w/tk2.2 on a 6000 running AIX 3.2/x11r4.
|> Seems that the trailing portions of various letters are being truncated.
|> In particular, when I select Text:Display styles in the widget demo, the
|> word `large' has the rightmost edges of the `a', `g' and `e' truncated.
|> It almost looks like it is trying to fit the characters in the same amount
|> of space as the smaller font.  Unfortunately, this happens in other places
|> where the font size is all the same, such as Text:Command bindings; the
|> first sentence has various `m' and `s' characters truncated; again this
|> could be because those characters are bold.
|> 
|> Anyways, is this likely just a problem with my server, and has anyone else
|> seen this?

I've got this problem on AIX3.2/AIXwindows/tk2.2 as well.  I did post a report to
this group some time agao, but didn't see any response (although I may have
missed it).

It's a strange problem in that only some Tk widgets suffer from it -- for example
the menubuttons do, but the menus pulled down from them don't, even if using
exactly the same font!  Running Tk to a remote (non-AIX) display does not exhibit
the problem so I start to suspect the server ... but on the other hand nothing
other than Tk has ever produced this behaviour (tk2.1 did exactly the same). 
I've tried various things, including fiddling with graphics context values, but
the weird thing is that the calls to XDrawString that succeed and those that foul
up look identical ...

Oh, there is one more thing, not really related to this problem, but just to be
nit-picking.  It would be nice if the font names coded into Tk and the various
library files instead of being `*-times-*' or `*-helevetica-*' were specified as
`*-adobe-times-*' and `*-adobe-helvetica-*' and so on.  IBM deliver various
others (linotype-helvetica, urw-courier etc.) and these get picked up in
preference.

I really would like to use Tk on the RS/6000, it's a great package (thanks,
John!) but this font problem is really annoying ...

	Neil

*   Neil Winton			306, SSFT, BT Labs, Martlesham Heath    *
*   nwinton@axion.bt.co.uk	IPSWICH IP5, 7RE   (Tel +44 473 646079) *
*   The works of the Lord are great, sought out of all them that have   *
*   pleasure therein.					Psalm 111 v 2   *
*       (Found at the entrance to the Cavendish Labs, Cambridge.)       *
Newsgroups: comp.lang.tcl
From: normanb@citi.umich.edu (David R. Richardson)
Subject: insertion of non-formated strings
Reply-To: normanb@citi.umich.edu
Organization: IFS Project, University of Michigan
Date: Wed, 12 Aug 1992 21:53:21 GMT


What is the proper way to operate on strings that might not
be well formatted -- strings that might contain quotations,
braces, spaces, etc.?  For example, I'd like to be able
to insert the results of an mh "scan" into individual listbox
entries.  But if the subject line contains any such characters,
tcl/tk get confused.  The simple method:

foreach i [exec scan] {
    .frame.list insert end $i
}

breaks up all of the fields (date, from, subj, etc. by spaces) into
seperate entries

foreach i [list [exec scan]] {
    .frame.list insert end $i
}

results in one big entry being added that contains all of the
subject lines in one.

-- 
david richardson		Institutional File System Project
normanb@citi.umich.edu		The University of Michigan
Newsgroups: comp.lang.tcl
From: rdavis@convex.com (Ray Davis)
Subject: Re: insertion of non-formated strings
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
Date: Thu, 13 Aug 1992 17:14:31 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

normanb@citi.umich.edu (David R. Richardson) writes:

>What is the proper way to operate on strings that might not
>be well formatted -- strings that might contain quotations,
>braces, spaces, etc.?

>foreach i [exec scan] {
>    .frame.list insert end $i
>}

Try this...

    set fd [open "| scan" r]
    while {![eof $fd]} {
	gets $fd line
	if {[string length $line]} {
	    .ls.list insert end $line
	}
    }
    close $fd

Are you doing the very thing I've been thinking of?  Making a
tk based tool for mh?  Maybe we can share ideas.

Ray
From: snl+@cs.cmu.edu (Sean Levy)
Newsgroups: comp.lang.tcl
Subject: BOS mailing list!
Date: 22 Aug 92 19:09:56 GMT
Article-I.D.: cs.4eZk64200hNSM6VQs8
Organization: Carnegie Mellon, Pittsburgh, PA

Okay, the ayes have it. The BOS mailing list lives. Send ADMINISTRATIVE
REQUESTS ("please add me to your stupid list", etc.) to
	snl+bos-requests@cmu.edu
and other messages to
	snl+bos@cmu.edu
The -requests address is not (yet) a robot (although when/if I make it
one, I'll use tcl/bos to do it, of course); so, please be patient.

I've added all the folks who asked to be added as of the date on this
message, which isn't everyone who has emailed me about bos. So, if you
want to be on the list, that number was
	snl+bos-requests@cmu.edu

If it gets big enough, I'll turn it into a real, blessed mailing list in
CS.CMU.EDU, but that's too much work for now.

BTW, I've gathered about five or six messages that I've sent to various
people with example code, answers to questions, etc. and am editing the
mess into some sort of FAQ/document, which I will send to the list.
Thanks for the impetus to do it. Currently, the topics are: 
	* examples
	* why are my makefiles so strange
	* how to stick bos into any app that uses tcl
	* how inheritance in bos works
and probably others.

Cheers,
			-- Sean
--
Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213
Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229
From: gaede@sda.com (Steve Gaede)
Newsgroups: comp.lang.tcl
Subject: changing cursors
Summary: where to look for list of possible cursors
Date: 20 Aug 92 00:44:18 GMT

I need to change my cursor to an hourglass or something during
an operation that takes a long time.  The "options" manual page
says that I can use any of the forms acceptable to TkGetCursor.
The "GetCursor" manual page says that I can use any X identifier
for a cursor.

How can I find out what are the possible X identifiers I can use
for setting a cursor in wish? 

Of course I'm ignorant about how to find this stuff in X, and not
wanting to know *too* much about X Windows is one of my main reasons
for using tk!  I have the same problem-- not knowing where to find
lists of X definitions-- in looking for possible key bindings, as well.

Steve Gaede
--
Steve Gaede (gaede@sda.com)
Software Design & Analysis, Inc.
(303) 444-9100