HDTenEightyP/NetNews huggingface dataset:
From: wyattw@tekig1.PEN.TEK.COM (Wyatt A Webb)
Newsgroups: comp.lang.clu
Subject: CLU for the Mac?
Date: 6 Jan 93 00:44:06 GMT
Distribution: comp.lang.clu
Organization: Tektronix, Inc., Beaverton,  OR.


I asked this when this group was created, but I'll ask again for any new
readers...

Does anyone know of a CLU that I can use on a Mac?  Standalone or with
MPW?  Any help would be appreciated...

	-Wyatt

--
=====================================================================
|   wyattw@tekig1.pen.tek.com	|  			 	    |
|     Engineers are better	|       "I'm all ears!"		    |
|	   by design		|  		-Ross Perot 	    |
From: cyberman@exucom.com (Stephen R. Phillips)
Newsgroups: comp.lang.clu
Subject: FAQ what is CLU
Date: 9 Jan 93 17:07:15 GMT
Organization: ExuCom Multimedia Inc.
X-Newsreader: TIN [version 1.1 PL8]


Title states it all I have posted this questions every month for the last
4, no answer.  Assistance would be kind.  Is it a hardware description
langauge?

Cyberman
-- 
This is my sig file!
Read rec.games.programer!
Newsgroups: comp.lang.clu
From: andru@thor.lcs.mit.edu (Andrew Myers)
Subject: Re: Comparison?
Organization: /u/andru/.organization
Date: Mon, 4 Jan 1993 19:45:19 GMT

In article <9212311409.AA27039@netcom.netcom.com> mjohnson@netcom.com (Mark Johnson) writes:

   What are the main differences in the approach toward objects
   between CLU and G++ ?

   Thank you, MJ


There are many differences between the concepts of objects in CLU
and C++ (G++ doesn't differ from C++ in this respect). Off the top
of my head:

1. CLU objects are always allocated on the heap, whereas C++ objects
   may be stack-allocated. As a byproduct of this, C++ has the types
   "T &" and "T *" for (most) any type "T".
2. CLU objects are garbage-collected. C++ objects must be explicitly
   deallocated.
3. C++ has subtyping on pointer and reference types, and inheritance.
   CLU has no subtyping, though its abstraction mechanism does share
   the identity-preserving aspect of the usual inheritance mechanisms.
4. CLU's parameterized types are more powerful, since
   they can be used like functions to generate new types. Typechecking
   of C++ templates is done at instantiation time, but CLU parameterized
   clusters can be typechecked before instantiation because of the
   "where" clauses.
5. The CLU methodology of abstraction only allows type operations to
   be visible from the outside. C++ allows fields (member variables)
   to be visible as well. C++ class declarations are forced to mention
   all members of the type, even if they are private. CLU declarations
   can only mention public operations.
6. Variables in CLU are pointers to objects, and assignment is a special
   statement form. Variables in C++ are containers for objects, and
   assignment is a member function (method).

Andrew
From: sanjay@thor.lcs.mit.edu (Sanjay Ghemawat)
Newsgroups: comp.lang.clu
Subject: Re: FAQ what is CLU
Date: 10 Jan 93 16:46:11 GMT
Organization: /u/sanjay/.organization

In article <1993Jan9.170715.9689@exucom.com> cyberman@exucom.com (Stephen R. Phillips) writes:

   Title states it all I have posted this questions every month for the last
   4, no answer.  Assistance would be kind.  Is it a hardware description
   langauge?

It is a programming language developed at MIT.  Here are some of the
important features --

	* Strong static type checking
	* Abstract data types with encapsulation
	* Exception handling
	* Parameterized types (sort of like C++ templates, but IMHO
	  done much better).
	* Garbage collection
	* Heap allocation for all objects

CLU is used in the software engineering and compiler construction
courses taught at MIT to undergraduates.

-Sanjay Ghemawat
From: marques@vax.oxford.ac.uk
Newsgroups: comp.lang.asm370
Subject: Waiting for a 3270 to become active
Date: 11 Jan 93 17:07:57 GMT
Organization: Oxford University Library Automation Team

I would like to write a program that waits for a 3270 (emulated 7171) to
become active.  The idea is that I will have a virtual machine (this is
under VM/ESA R2 in a 370 mode virtual machine) with a dedicated terminal.  
I need a program that will wait for this terminal to become active, ie. 
powered on.  Does anybody out there have any sample code the could give me?
Help will be most welcome as the only assembler I ever really learned was
for a 6502.
-- 
Jose Marques, Systems Programmer
 %INCLUDE STDDIS; /* Standard Disclaimer */
From: mwalker@novell.com (Mel Walker)
Newsgroups: comp.lang.modula3
Subject: Where can I get info on Modula-3?
Date: 7 Jan 93 22:18:42 GMT
Followup-To: comp.lang.modula3
Organization: Novell, Inc.
NNTP-Posting-Host: chezmoto.ai.mit.edu

The title says it all. FTP sites are preferable. Thank you.

----------------------------------------------------------------
Mel Walker                                    mwalker@novell.com
All opinions expressed are of the author.
Novell, Inc. is not responsible for the content of this article.
Newsgroups: comp.lang.modula3
From: pyeatt@Texaco.com (Larry D. Pyeatt)
Subject: Re: Modula 3&Linux
Organization: Texaco
Date: Mon, 11 Jan 1993 18:00:39 GMT

In article <C0I3K9.5Jz@undergrad.math.waterloo.edu>, papresco@lambert.uwaterloo.ca (Paul Prescod) writes:
|> Has anyone successfully compiled Modula 3 on linux?  We are doing it in
|> school, so I would like to work at home.

Don't know, but would be interested if anyone has.

|> Also: Are there any indepth docs (and/or FAQ) for Modula 3?  I can't
|> find a book on it to save my life (and couldn't afford it if I could).
|> 
|> Thanks.
|> 

I recommend that you get "Modula-3" by Samuel P. Harbison, 
published by Prentice Hall.  It is well worth the money.


-- 
Larry D. Pyeatt                 The views expressed here are not
Internet : pyeatt@texaco.com    those of my employer or of anyone
Voice    : (713) 975-4056       that I know of with the possible
                                exception of myself.
Newsgroups: comp.lang.modula3
From: kalsow@src.dec.com (Bill Kalsow)
Subject: Re: Documentation for modula-3 libraries?
Reply-To: kalsow@src.dec.com
Organization: DEC Systems Research Center
Date: Mon, 11 Jan 93 19:48:02 GMT


Unfortunately, there isn't a single coherent exposition of the
SRC Modula-3 libraries.  The actual interfaces are often the
best documentation.  There are a few other sources:

  "Systems Programming with Modula-3" edited by Greg Nelson
  describes the required interfaces (Text, Thread, Word, Fmt, and Pkl),
  the basic I/O streams (Rd, Wr, and Stdio), and gives a brief
  overview of the Trestle window system.

  SRC Report #68,  "Trestle Reference Manual" by Mark S. Manasse
  and Greg Nelson, provides a detailed description of the
  Trestle interfaces.  Send e-mail to "src-reports@src.dec.com"
  for a copy.

  The soon-to-be available "FormsVBT Reference Manual" by Marc H.
  Brown and James R. Meehan describes the higher-level FormsVBT
  UI toolkit.

  A small group of here at SRC are working to build a small, portable,
  core collection of interfaces.  Today that set includes sequences,
  atoms, tables, random numbers, times, dates, files, paths, directories
  command-line parameters, and environment variables.  The documentation
  should be available soon.

I hope this helps.

 - Bill Kalsow


Newsgroups: comp.lang.modula3
From: papresco@lambert.uwaterloo.ca (Paul Prescod)
Subject: Modula 3&Linux
Organization: University of Waterloo
Date: Thu, 7 Jan 1993 20:28:56 GMT

Has anyone successfully compiled Modula 3 on linux?  We are doing it in
school, so I would like to work at home.

Also: Are there any indepth docs (and/or FAQ) for Modula 3?  I can't
find a book on it to save my life (and couldn't afford it if I could).

Thanks.

Newsgroups: comp.lang.modula3
From: cflatter@nrao.edu (Chris Flatters)
Subject: Re: i386?
Reply-To: cflatter@nrao.edu
Organization: NRAO
Date: Fri, 8 Jan 1993 16:55:08 GMT

In article 93Jan8115329@chinchon.dit.upm.es, jlruiz@dit.upm.es (Jose Luis Ruiz Sanchez) writes:
>Hi, I'd like to have Modula 3 running on a 386 machine. Does anybody
>know if there is any implementation available for SCO or BSD?. It seems
>that in gatekeeper the only 386 version is for AIX386. Could it be
>possible to port the AIX386 version to SCO or BSD? Has anybody done
>it?

It is possible to port SRC Modula 3 to new systems but you need a system that
it already runs on to perform a cross compilation down to C code.  The doc
file gives some sketchy instructions for generating a new port.

I'm still getting my 386BSD system in order after adding some disk space.
After I finish stuffing the new disk with X11 goodies I intend having a
go at Modula 3 (unless someone else does it first, GNU Modula 3 miraculously
appears or I run out of disk or get interested in something else).

	Chris Flatters
	cflatter@nrao.edu


Newsgroups: comp.lang.modula3
From: jlruiz@dit.upm.es (Jose Luis Ruiz Sanchez)
Subject: i386?
Organization: Dept. Ingenieria de Sistemas Telematicos, UPM, Madrid, Spain.
Distribution: comp.lang.modula3
Date: Fri, 8 Jan 1993 10:53:29 GMT

Hi, I'd like to have Modula 3 running on a 386 machine. Does anybody know if there is any implementation available for SCO or BSD?. It seems that in gatekeeper the only 386 version is for AIX386. Could it be possible to port the AIX386 version to SCO or BSD? Has anybody done it?
Thanks,
Jose L Ruiz.

------------------------
jlruiz@dit.upm.es
From: lpratt@slate.mines.colorado.edu (Lorien Pratt)
Newsgroups: comp.lang.modula3
Subject: Proper use of interfaces/modules for top-down programming?
Date: 8 Jan 93 16:33:40 GMT
Organization: Colorado School of Mines

Hi,
  I wonder if somebody could answer some questions about, or give me a pointer
to a reference for, how to do proper top-down programming with
modula-3?  I'm teaching this language for a data structures course and
learning it at the same time, and I want to be sure I communicate
whatever is the usual philosophy for modular coding in modula-3.  I have
the Harbison book, but chapter 8 seems to present more legal syntax than
stylistic issues; and the programming conventions chapter doesn't get into
modularity.

  For example, what's the proper way to go about developing a program?
Do you write the Main module, then the interfaces, then try to compile to
check for type consistency, then fill in the modules for the interfaces?
Or do people typically write their interfaces and modules that export them,
before trying to incorporate them into the main procedure?  Is it a good
idea to have multiple procedures per module?  

  Thanks in advance for any help or pointers you can give!
			  --Lori Pratt


-- 
L. Y. Pratt                           Dept. of Math and Computer Science
lpratt@franklinite.mines.colorado.edu Colorado School of Mines    
(303) 273-3878 (work)                 402 Stratton                
(303) 278-4552 (home)                 Golden, CO 80401, USA      
Newsgroups: comp.lang.modula3
From: dagenais@vlsi (Michel Dagenais)
Subject: Re: Modula 3&Linux
Organization: Ecole Polytechnique
Date: Tue, 12 Jan 1993 14:27:36 GMT


>   Has anyone successfully compiled Modula 3 on linux?  We are doing it in
>   school, so I would like to work at home.

The question of Modula 3 on intel platforms has been discussed in the past.
With the freely available LINUX which can coexist with DOS, the problem
could be solved easily (as compared with trying a port to DOS). Is anyone
working on this by any chance?

>   Also: Are there any indepth docs (and/or FAQ) for Modula 3?  I can't
>   find a book on it to save my life (and couldn't afford it if I could).

On Modula 3 you have the excellent book "Modula-3" from Sam Harbison,
Prentice-Hall. There is a FAQ (gatekeeper.dec.com:pub/DEC/Modula-3/FAQ) and
some documentation bundled with the DEC SRC compiler... and a friendly
newsgroup too :-) .

--
---------------------------------------------------------------------

Prof. Michel Dagenais			    dagenais@vlsi.polymtl.ca
Dept of Electrical and Computer Eng.
Ecole Polytechnique de Montreal		    tel: (514) 340-4029

---------------------------------------------------------------------
From: lpratt@slate.mines.colorado.edu (Lorien Pratt)
Newsgroups: comp.lang.modula3
Subject: Trouble with stdin on RS/6000
Date: 12 Jan 93 17:26:41 GMT
Organization: Colorado School of Mines

Hi,
  I'm trying to write a simple modula-3 program that takes input from the
terminal.  Unfortunately, the program doesn't pause to wait for input from
stdin; instead it receives an end of file indication.  If I echo the input
to the program, however, it does work.  
  Specifically, I've typed in Example 1-8 in Harbison (page 12).  It looks
like this:
----
MODULE WriteSum EXPORTS Main;
IMPORT Wr, Rd, Fmt, Scan, Stdio;
 
PROCEDURE Read(): INTEGER =
  BEGIN
    RETURN Scan.Int( Rd.GetLine(Stdio.stdin));
  END Read;

PROCEDURE Write(t:TEXT) =
  BEGIN
    Wr.PutText(Stdio.stdout, t);
  END Write;

VAR n1, n2: INTEGER;
BEGIN
  Write("Please type two numbers on separate lines:\n");
  n1 := Read();
  n2 := Read();
  Write("The sum of " & Fmt.Int(n1) & " And " & Fmt.Int(n2) & " is " &
Fmt.Int (M^n1 + n2) & ".\n");
END WriteSum.

-----
Now, if I compile this and try to run it, I get the following error
message:
----
a.out
****************** EXCEPTION HANDLER STACK *********************
0x2ff7fa98 TRY-FINALLY  proc = 0x2006daac   frame = 0x2ff7fa8c
0x2ff7fb4c RAISES {}
****************************************************************


***
*** runtime error:
***    Exception "Rd.EndOfFile" not in RAISES list
***

Please type two numbers on separate lines:
Quit(coredump)
----
But if I echo the proper input to the program, it works:
----
echo "1
2" |a.out
Please type two numbers on separate lines:
The sum of 1 And 2 is 3.
----

I'd appreciate any pointers for how tell modula-3 to generate code to
expect stdin from the terminal.  Thanks!

  --Lori




-- 
L. Y. Pratt                           Dept. of Math and Computer Science
lpratt@franklinite.mines.colorado.edu Colorado School of Mines    
(303) 273-3878 (work)                 402 Stratton                
(303) 278-4552 (home)                 Golden, CO 80401, USA      
Newsgroups: comp.lang.modula3
From: suwandi@fraser.sfu.ca (Julian Suwandi)
Subject: faq?
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Tue, 5 Jan 1993 06:04:01 GMT

Hi! I am interested to know more about M-3. Is there any FAQs for this group?
Thanx! :)
-- 
      Julian Suwandi        |  Quotes / Unquote of the week
         643-0827           |      Insanity is hereditary... 
      suwandi@sfu.ca        |      You get it from your kids.
From: lpratt@slate.mines.colorado.edu (Lorien Pratt)
Newsgroups: comp.lang.modula3
Subject: Documentation for modula-3 libraries?
Date: 8 Jan 93 00:09:12 GMT
Organization: Colorado School of Mines

Hi,
  We've recently installed moedula-3 here at Mines and I'm using it in
data structures course.  I am using the Harbison book, which I had presumed
had full syntax, but now I notice that it seems to be missing information
on the various library routines.  I'm trying to put together my first
lecture, and to tell students what Wr.PutText takes as an argument list.
There is no description that I can find that indicates that the first
argument can be a file descriptor like Stdio.stdout.  I wonder if there's
some online documentation that might talk about the interfaces in a bit
more detail?  Or do I need to buy the big modula-3 reference book?
  Thanks for an answer ASAP!
    --Lori
-- 
L. Y. Pratt                           Dept. of Math and Computer Science
lpratt@franklinite.mines.colorado.edu Colorado School of Mines    
(303) 273-3878 (work)                 402 Stratton                
(303) 278-4552 (home)                 Golden, CO 80401, USA      
Newsgroups: comp.lang.modula3
From: oliver@extro.ucc.su.OZ.AU (Oliver Bock)
Subject: Has Modula 3 been ported to MIPS Risc/OS?
Summary: Has Modula 3 been ported to MIPS Risc/OS?
Keywords: MIPS
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Date: Sun, 10 Jan 1993 03:15:56 GMT

I'd like to run Modula 3 on a MIPS R4000 running MIPS' RISC/OS with X.  
My porting skills are minimal so can someone tell me which of the ports 
on gatekeeper.dec.com (or elsewhere) is going to be closest to my system?


  Oliver
From: kalsow@src.dec.com (Bill Kalsow)
Newsgroups: comp.lang.modula3
Subject: Re: Proper use of interfaces/modules for top-down programming?
Date: 11 Jan 93 21:18:34 GMT
Reply-To: kalsow@src.dec.com
Organization: DEC Systems Research Center

There is no single "proper" way to develop a system.  At this level of
detail, writing Modula-3 programs is not much different from writing
Modula-2 programs.  Both languages have separate interfaces and
implementations.

Often each person and project has a different style.  Some design
detailed specs, others jump in and write code.  I would say it's typical
to design the abstractions and interfaces from the top-down.  As soon
as an interface is specified, its implementation can begin.

The new question for Modula-3 programmers is whether an abstraction
should be implemented as a module with exactly one instantiation
or as an object type with multiple instantiations.  So far I don't have
any particularly insightful advice or religious position on the issue.

 - Bill Kalsow
From: valery@ra.cs.umb.edu (Valery C)
Newsgroups: comp.lang.modula3
Subject: Sorry,  test
Date: 6 Jan 93 04:50:34 GMT
Organization: University of Massachusetts at Boston, Dept of Math and CS

Sorry,  test
Newsgroups: comp.lang.modula3
From: mjordan@src.dec.com (Mick Jordan)
Subject: Re: Trouble with stdin on RS/6000
Organization: DEC Systems Research Center
Date: Wed, 13 Jan 93 04:05:47 GMT

In article <1993Jan12.172641.40124@slate.mines.colorado.edu>, lpratt@slate.mines.colorado.edu (Lorien Pratt) writes:
|> Hi,
|>   I'm trying to write a simple modula-3 program that takes input from the
|> terminal.  Unfortunately, the program doesn't pause to wait for input from
|> stdin; instead it receives an end of file indication.  If I echo the input
|> to the program, however, it does work.  

There is nothing wrong with program and it works on a DECstation, so I would
suspect something is amiss in the RS6000 runtime system. Lets hope an
RS6000 M3 wizard can help.

|> I'd appreciate any pointers for how tell modula-3 to generate code to
|> expect stdin from the terminal.  Thanks!
|> 

For the record, the compiler knows nothing about the input/output system.
Stdio, Rd and Wr are just modules like any other. The Stdio module
arranges, as part of its initialisation code, to connect stdin/stdout/stderr
to the Unix file descriptors of the same name.

Two improvements I would suggest to the program:

1. Stdio.stdout is buffered and, perhaps to your suprise, the buffer is
   not flushed by the '\n' character. You need to call "Wr.Flush(Stdio.stdout)"
   either after each output or before any input requests.

2. I find the concatenation of text literals and text values rather unreadable.
   You can rewrite:

   Write("The sum of " & Fmt.Int(n1) & " And " & Fmt.Int(n2) & " is " &
         Fmt.Int (n1 + n2) & ".\n");

   as:

   Write(Fmt.F("The sum of %s and %s is %s.\n", Fmt.Int(n1), Fmt.Int(n2),
               Fmt.Int (n1 + n2)));

   which is about as close to "printf" as you can get without wiring
   input/output into the compiler.

Mick Jordan
             
Newsgroups: comp.lang.modula3
From: cflatter@nrao.edu (Chris Flatters)
Subject: Re: Proper use of interfaces/modules for top-do
Reply-To: cflatter@nrao.edu
Organization: NRAO
Date: Sun, 10 Jan 93 22:23:57 GMT

In article 12922@slate.mines.colorado.edu, lpratt@slate.mines.colorado.edu (Lorien Pratt) writes:
>  I wonder if somebody could answer some questions about, or give me a pointer
>to a reference for, how to do proper top-down programming with
>modula-3?  I'm teaching this language for a data structures course and
>learning it at the same time, and I want to be sure I communicate
>whatever is the usual philosophy for modular coding in modula-3.  I have
>the Harbison book, but chapter 8 seems to present more legal syntax than
>stylistic issues; and the programming conventions chapter doesn't get into
>modularity.
>
>  For example, what's the proper way to go about developing a program?
>Do you write the Main module, then the interfaces, then try to compile to
>check for type consistency, then fill in the modules for the interfaces?
>Or do people typically write their interfaces and modules that export them,
>before trying to incorporate them into the main procedure?  Is it a good
>idea to have multiple procedures per module?  

The common practice in developing a program using a language supporting
modules (be it Modula 3, Modula 2, Ada, Fortran 90 or whatever) is to
determine what data structures will be needed by the program and what
functions act on each data structure.  You then write a module for each
different data structure including the definition of that data structure
and the functions that act upon it: aspects of the data structure that
need not be known in order to use it should be made private to the module
(this minimizes the chances that changing the implementation of the
data structure will require changes in the program that uses it).  Hopefully
you will then have a data structure and its associated functions packaged
in such a way that they can be used in a number of different programs.

	Chris Flatters
	cflatter@nrao.edu
Newsgroups: comp.lang.perl
From: sbo@bcars307.bnr.ca (Stephane Boucher)
Subject: Re: getopts.pl bug fix
Organization: /u/sbo/.organization
Date: Fri, 8 Jan 1993 15:16:32 GMT

In article <1993Jan8.062100.20495@uvaarpa.Virginia.EDU> Alan Stebbens <aks%anywhere@hub.ucsb.edu> writes:

   Second, if you give two consecutive options, both of which want
   arguments, the second option is used as the value for the first.  Eg:
   '-x -y' results in $opt_x eq '-y', not the expected result of setting
   both $opt_x and $opt_y.

And what if you want to give a value that start with a '-' ?
E.G. value -y to option -x !
--
  ,
Stephane Boucher | Bell-Northern Research
sbo@bnr.ca       | 3500 Carling
Newsgroups: comp.lang.perl
From: anton@analsyn.gts.org (Anton J Aylward)
Subject: Re: PERL
Reply-To: anton@lethe.gts.org
Organization: ASCI: UNIX Database and Communications
X-Newsreader: TIN [version 1.1 PL8]
Date: Sun, 10 Jan 1993 00:49:28 GMT

In the article (<1993Jan8.175041.5709@tc.fluke.COM>) Gary Benson (inc@tc.fluke.COM) posted to comp.lang.perl:

: As I rewrote this, it occurred to me that I should also mention one other
: piece of information that all new Perl learners should be aware of:

:     ISBN 0-937175-64-1
:     
: This is the number of the book called "Programming Perl" by Larry Wall and
: Randal Schwartz, a couple of guys who seem to know quite a bit about the
: subject.  It has a camel on the front. Get two copies.

You don't say how often to get two copies.  You don't say if you have to
buy them at the same time.

Two copies a year seems right, unless you are going to take one apart
and laminate each page.

--
Anton J Aylward	
	"The body politic is swerving from left to right and right to
	 left looking for quick fixes for systemic problems."
	   - Paul Palango, Journalist, ex The Globe and Mail
From: mosemann@unlinfo.unl.edu (Russell Mosemann)
Newsgroups: comp.lang.perl
Subject: How to disable setuid scripts in SunOS 4.1.3?
Date: 4 Jan 1993 13:11:38 GMT
Organization: University of Nebraska--Lincoln	
Distribution: world
Reply-To: mosemann@unl.edu
NNTP-Posting-Host: unlinfo.unl.edu
Summary: How does one disable setuid/setgid scripts in SunOS 4.1.3?
Keywords: setuid SunOS disable

   How does one disable setuid/setgid scripts in SunOS 4.1.3?  A side
question, if I am using a setuid Perl script, which then runs suidperl,
does that mean that I cannot use curseperl?  Thanks.
--
Russell
mosemann@unl.edu
Newsgroups: comp.lang.perl