From andrew@cs.chalmers.se  Fri Jan 24 14:44:50 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 24 Jan 1997 06:44:54 MST
Received: from animal.cs.chalmers.se by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA23887; Fri, 24 Jan 1997 06:44:52 MST
Received: from groob.cs.chalmers.se (groob.cs.chalmers.se [129.16.226.115]) by animal.cs.chalmers.se (8.8.3/8.7.3) with ESMTP id OAA00714 for <info-sr@cs.arizona.edu>; Fri, 24 Jan 1997 14:44:50 +0100 (MET)
Date: Fri, 24 Jan 1997 14:44:50 +0100 (MET)
Message-Id: <199701241344.OAA00714@animal.cs.chalmers.se>
Received: by groob.cs.chalmers.se (8.8.4/3.14+gl) id NAA05648; Fri, 24 Jan 1997 13:44:49 GMT
From: Andrew Moran <andrew@cs.chalmers.se>
To: info-sr@cs.arizona.edu
Subject: Porting SR
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Does there exist a document detailing what needs to be done to port SR to a
new platform?

Cheers,

Andy

From olsson@cs.ucdavis.edu  Fri Jan 24 05:48:45 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 24 Jan 1997 06:48:49 MST
Received: from toadflax.cs.ucdavis.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA23953; Fri, 24 Jan 1997 06:48:48 MST
Received: from ivy.cs.ucdavis.edu by toadflax.cs.ucdavis.edu (4.1/UCD.CS.2.6)
	id AA29765; Fri, 24 Jan 97 05:48:46 PST
Received: by ivy.cs.ucdavis.edu (5.65/UCD.CS.2.6)
	id AA20585; Fri, 24 Jan 1997 05:48:45 -0800
Date: Fri, 24 Jan 1997 05:48:45 -0800
From: olsson@cs.ucdavis.edu
Message-Id: <9701241348.AA20585@ivy.cs.ucdavis.edu>
To: andrew@cs.chalmers.se
Cc: info-sr@cs.arizona.edu
In-Reply-To: <199701241344.OAA00714@animal.cs.chalmers.se> (message from Andrew Moran on Fri, 24 Jan 1997 14:44:50 +0100 (MET))
Subject: Porting SR

   Date: Fri, 24 Jan 1997 14:44:50 +0100 (MET)
   From: Andrew Moran <andrew@cs.chalmers.se>

   Does there exist a document detailing what needs to be done to port SR to a
   new platform?

See the document by Gregg Townsend and Dave Bakken in ps/port.ps
(source in doc/port.ms).

From steve@atlas.ex.ac.uk  Tue Feb  4 21:37:06 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 4 Feb 1997 14:37:25 MST
Received: from hermes.ex.ac.uk by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA18907; Tue, 4 Feb 1997 14:37:20 MST
Received: from atlas [144.173.14.11] by hermes via SMTP (VAA03358); Tue, 4 Feb 1997 21:37:07 GMT
From: steve@atlas.ex.ac.uk
Received: from sirius.dcs.exeter.ac.uk by atlas.dcs.exeter.ac.uk; Tue, 4 Feb 97 21:37:05 GMT
Date: Tue, 4 Feb 97 21:37:06 GMT
Message-Id: <15231.9702042137@sirius.dcs.exeter.ac.uk>
To: gmt@cs.arizona.edu
Cc: info-sr@cs.arizona.edu, nyaacob@atlas.ex.ac.uk
Subject: forwarding invocations


I'm having some problems when forwarding invocations from one virtual
machine to another.  To illustrate the problem, the following example
is based on the program on p158 of the "SR Programming Language" book,
except that procedure g is in a separate resource R.

If I create R on the same virtual machine as the main resource, it
works as described in the book:

olib% a.out
f starts on: 0
f ends on: 0
g starts on: 0
g ends on: 0
a = 12
olib% 

However, if I create R on a remote virtual machine, there is no 
return to the main resource:

olib% a.out cen
f starts on: 0
g starts on: -1001
f ends on: 0
g ends on: -1001
[vm 1] RTS warning: blocked process: fun.p : file test.sr, line 27
olib% 

This is using the latest version of SR on SGI machines under
IRIX Release 5.3:

olib% sr -v
SR version 2.3.1, December 1995
olib% 

Any help would be appreciated.

Steve

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

resource R
  op g(y: int) returns z: int

body R()
  proc g(y) returns z
    write("g starts on:", mymachine())
    z := y+10
    write("g ends on:", mymachine())
  end 
end 

resource fun()
  import R
  op f(x: int) returns z: int

  var r: cap R
  
  if numargs() > 0 ->
    var name: string[20]
    getarg(1, name)  
    var vm1: cap vm := create vm() on name
    r := create R() on vm1
  [] else -> r := create R()
  fi

  process p
    var a := f(1); write("a =", a)
  end

  proc f(x) returns z
    write("f starts on:", mymachine())
    forward r.g(2*x)
    write("f ends on:", mymachine())
  end

end 

-------------------------------------------------------------------------------
Stephen J. Turner			   |  Parallel Systems Laboratory
Email: steve@dcs.exeter.ac.uk   	   |  Department of Computer Science
WWW:   http://www.dcs.exeter.ac.uk/~steve  |  University of Exeter
Fax:   +44 1392 264067			   |  Prince of Wales Road
Tel:   +44 1392 264048			   |  Exeter EX4 4PT England
-------------------------------------------------------------------------------


From lauren@myself.com  Thu Feb 13 17:04:04 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Thu, 13 Feb 1997 16:07:45 MST
Received: from pine.ucs.uwplatt.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA08399; Thu, 13 Feb 1997 16:07:43 MST
Received: from lauren.ucs.uwplatt.edu ([137.104.17.28])
 by uwplatt.edu (PMDF V5.1-5 #17356)
 with ESMTP id <01IFDIATY580C048OJ@uwplatt.edu> for info-sr@cs.arizona.edu;
 Thu, 13 Feb 1997 17:10:07 CST
Content-Return: allowed
Date: Thu, 13 Feb 1997 17:04:04 -0600
From: Lauren Buchholz <lauren@myself.com>
Subject: Installation prob...
X-Sender: Lauren Buchholz <lauren@myself.com> (Unverified)
To: SR Mailing List <info-sr@cs.arizona.edu>
Message-Id: <33039DE4.4A41@myself.com>
Mime-Version: 1.0
X-Mailer: Mozilla 4.0b1 (Win95; I)
Content-Type: multipart/alternative; boundary="----------AFF6D6A1E231"
X-Priority: Normal


------------AFF6D6A1E231
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

I am having problems getting SR to compile from the source on my linux
box.  I am using this for a op sys porgramming course, and it's been a
few years since I have used unix so I am a little rusty.  When I try to
compile it, it says it can't find some of the .h files.  Is there
someone out there that has gotten this to work on linux and can either
give me a hand, or mail me a compiled binary I can use?

Thanks

Lauren Buchholz
University of Wisconsin
Lauren@myself.com
http://vms.www.uwplatt.edu/~buchholz

------------AFF6D6A1E231
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset=us-ascii

<HTML><BODY>

<DT>I am having problems getting SR to compile from the source on my linux
box.&nbsp; I am using this for a op sys porgramming course, and it's been
a few years since I have used unix so I am a little rusty.&nbsp; When I
try to compile it, it says it can't find some of the .h files.&nbsp; Is
there someone out there that has gotten this to work on linux and can either
give me a hand, or mail me a compiled binary I can use?</DT>

<DT>&nbsp;</DT>

<DT>Thanks</DT>

<DT>&nbsp;</DT>

<DT>Lauren Buchholz</DT>

<DT>University of Wisconsin</DT>

<DT>Lauren@myself.com</DT>

<DT>http://vms.www.uwplatt.edu/~buchholz&nbsp;</DT>

</BODY>
</HTML>
------------AFF6D6A1E231--


From WTERWEY@Athena.valpo.edu  Thu Feb 13 23:09:35 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Thu, 13 Feb 1997 22:09:57 MST
Received: from pluto.valpo.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA13395; Thu, 13 Feb 1997 22:09:56 MST
Received: from athena.valpo.edu ([152.228.34.202]) by pluto.valpo.edu
          (Netscape Mail Server v2.02) with ESMTP id AAB13300
          for <info-sr@CS.Arizona.EDU>; Thu, 13 Feb 1997 23:04:57 -0600
Received: from ATHENA/SMTPQ by athena.valpo.edu (Mercury 1.21);
    13 Feb 97 23:09:48 CST
Received: from SMTPQ by ATHENA (Mercury 1.21); 13 Feb 97 23:09:44 CST
From: "WESLEY TERWEY" <WTERWEY@Athena.valpo.edu>
To: info-sr@cs.arizona.edu
Date:          Thu, 13 Feb 1997 23:09:35 CST
Subject:       I need a little bit of help.
Priority: normal
X-Mailer: Pegasus Mail for Windows (v2.0-WB1)
Message-Id: <3F65370255@athena.valpo.edu>

Hello.
My name is Wes Terwey.
I've been working on a program for my math research group and we've 
been using your language to try and work our program in parallel.

Now, I was tossed into this with little knowledge of the language, so 
I'm a novice learning from the book and using the book for examples.

Recently, we have gotten the program running and I got this error:
[vm 1] RTS abort: sr_net_more: Connection reset by peer

I'm confused as to this message's meaning and I would appreciate any 
advice you can give me on how to fix this hopefully very small bug.  
If you could help me soon, it would be preferable, because we have a 
presentation to make by early March and this program needs to be 
running well before then, hopefully by the 18th.

Thank you much,
-Wes Terwey

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

It matters not how strait the gate
  How charged with punishment the scroll,
I am the master of my fate:
  I am the captain of my soul.
  
           -- William Ernest Henley's "Invictus"
               
***************************************************      
      

From gmt  Mon Feb 17 13:33:10 1997
Received: from hawk.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 17 Feb 1997 13:33:03 MST
Received: by hawk.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
	id AA10759; Mon, 17 Feb 1997 13:33:10 -0700
Date: Mon, 17 Feb 1997 13:33:10 -0700
From: Gregg Townsend <gmt>
Message-Id: <9702172033.AA10759@hawk.CS.Arizona.EDU>
To: info-sr@cs.arizona.edu, lauren@myself.com
Subject: Re:  SR Installation prob...

    Date: Thu, 13 Feb 1997 17:04:04 -0600
    From: Lauren Buchholz <lauren@myself.com>
    
    I am having problems getting SR to compile from the source on my linux
    box.  I am using this for a op sys porgramming course, and it's been a
    few years since I have used unix so I am a little rusty.  When I try to
    compile it, it says it can't find some of the .h files.  Is there
    someone out there that has gotten this to work on linux and can either
    give me a hand, or mail me a compiled binary I can use?

Did you make the small change noted in the README.LINUX file on the
FTP site?  What is the error message you're seeing, and where in the
build process does it occur?

   Gregg Townsend / gmt@CS.Arizona.EDU / +1 520 621 4325 / 32 13 45N 110 57 16W
   Computer Science / Univ of Arizona / 1040 E 4th St / Tucson AZ 85721-0077


From gmt  Mon Feb 17 13:45:44 1997
Received: from hawk.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 17 Feb 1997 13:45:39 MST
Received: by hawk.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
	id AA10720; Mon, 17 Feb 1997 13:45:44 -0700
Date: Mon, 17 Feb 1997 13:45:44 -0700
From: Gregg Townsend <gmt>
Message-Id: <9702172045.AA10720@hawk.CS.Arizona.EDU>
To: WTERWEY@Athena.valpo.edu, info-sr@cs.arizona.edu
Subject: Re:  Connection reset by [SR] peer

    From: "WESLEY TERWEY" <WTERWEY@Athena.valpo.edu>
    Date:          Thu, 13 Feb 1997 23:09:35 CST
    
    Recently, we have gotten the program running and I got this error:
    [vm 1] RTS abort: sr_net_more: Connection reset by peer
    
From the standpoint of the VM reporting the problem, all it knows is that
it lost communication to another VM for reasons unknown.  This is usually
just a side effect of another problem, such as a segmentation fault, in
the other VM.  Check for other messages that might give a clue, possibly
in stderr or stdout if they've been redirected.  

   Gregg Townsend / gmt@CS.Arizona.EDU / +1 520 621 4325 / 32 13 45N 110 57 16W
   Computer Science / Univ of Arizona / 1040 E 4th St / Tucson AZ 85721-0077

From cuav1@uxa.ecn.bgu.edu  Fri Feb 21 14:28:20 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 21 Feb 1997 13:29:02 MST
Received: from uxa.ecn.bgu.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA26482; Fri, 21 Feb 1997 13:29:00 MST
Received: from eiu.eiu.edu (eiuts103.eiu.edu [139.67.16.103]) by uxa.ecn.bgu.edu (8.8.2/8.8.2) with SMTP id OAA22006 for <info-sr@CS.Arizona.EDU>; Fri, 21 Feb 1997 14:28:46 -0600 (CST)
Message-Id: <3.0.32.19970221142748.006880c8@uxa.ecn.bgu.edu>
X-Sender: cuav1@uxa.ecn.bgu.edu
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Fri, 21 Feb 1997 14:28:20 -0600
To: info-sr@cs.arizona.edu
From: cuav1@uxa.ecn.bgu.edu
Subject: sr language
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

please include me in the mailing list!

From tkam@eecs.wsu.edu  Thu Feb 27 03:12:45 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Thu, 27 Feb 1997 04:12:49 MST
Received: from dns1.eecs.wsu.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA19888; Thu, 27 Feb 1997 04:12:47 MST
Received: from sigill.eecs.wsu.edu by dns1.eecs.wsu.edu (8.7.1/8.950224)
	id DAA14943; Thu, 27 Feb 1997 03:12:46 -0800 (PST)
From: Teng Kam - EECS (CPTS350) <tkam@eecs.wsu.edu>
Received: by sigill.eecs.wsu.edu (8.7.1) id DAA20056; Thu, 27 Feb 1997 03:12:45 -0800 (PST)
Message-Id: <199702271112.DAA20056@sigill.eecs.wsu.edu>
Subject: need help in setting up SR on linux!
To: info-sr@cs.arizona.edu
Date: Thu, 27 Feb 1997 03:12:45 -0800 (PST)
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi
 
 Recently, I downloaded the SR program from the CS ftp site.  However,
 I don't know how to set up SR in order to run on my linux system at
 home. Can you give me some information about setting up the SR.
 
 If any of you know the answer, please e-mail me to the adress below.
 
 tkam@eecs.wsu.edu
 
 Thank you.

From gmt  Fri Feb 28 16:31:55 1997
Received: from hawk.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 28 Feb 1997 16:31:49 MST
Received: by hawk.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
	id AA06298; Fri, 28 Feb 1997 16:31:55 -0700
Date: Fri, 28 Feb 1997 16:31:55 -0700
From: Gregg Townsend <gmt>
Message-Id: <9702282331.AA06298@hawk.CS.Arizona.EDU>
To: info-sr@cs.arizona.edu, tkam@eecs.wsu.edu
Subject: Re:  need help in setting up SR on linux!

    From info-sr-sender Thu Feb 27 04:14:18 1997
     
     Recently, I downloaded the SR program from the CS ftp site.  However,
     I don't know how to set up SR in order to run on my linux system at
     home. Can you give me some information about setting up the SR.

When you unpack the tar file, you'll find several PostScript files in
the "ps" directory.  The file ps/install.ps contains installation
instructions.

Also, be sure to make the minor change noted in the README.LINUX file
in the FTP area:  edit csw/asm.c and change line 11 from
	#ifdef __svr4__
to
	#if (defined(__linux__) && defined(__ELF__)) || defined(__svr4__)
before building.

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246

From garnick@polar.Bowdoin.EDU  Tue Apr  8 14:50:49 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 8 Apr 1997 11:50:57 MST
Received: from polar.Bowdoin.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA22979; Tue, 8 Apr 1997 11:50:54 MST
Received: from localhost by polar.Bowdoin.EDU (5.65v3.0/Bowdoin-V1.6c)
	id AA19067; Tue, 8 Apr 1997 14:50:50 -0400
Message-Id: <9704081850.AA19067@polar.Bowdoin.EDU>
To: info-sr@cs.arizona.edu
Subject: Want to do multi-terminal i/o in SR 
Date: Tue, 08 Apr 97 14:50:49 -0400
From: garnick@polar.Bowdoin.EDU
X-Mts: smtp

I have a student that is building an on-line simulated
market system.  Each participant bids and sells from
their own terminal.  Has anyone written routines for
multi-terminal i/o in SR, - especially the echoing of
input back to the user entering it?
Thanks,
David
------------------------------------------------
David Garnick               phone: 207/725-3569
Dept of Computer Science    garnick@polar.bowdoin.edu
Bowdoin College
Brunswick, ME  04011


From greg  Tue Apr  8 13:15:08 1997
Received: from paloverde.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 8 Apr 1997 13:15:10 MST
Received: by paloverde.CS.Arizona.EDU; (5.65/1.1.8.2/08Nov94-0446PM)
	id AA32418; Tue, 8 Apr 1997 13:15:08 -0700
Date: Tue, 8 Apr 1997 13:15:08 -0700
From: Greg Andrews <greg>
Message-Id: <9704082015.AA32418@paloverde.CS.Arizona.EDU>
To: garnick@polar.Bowdoin.EDU, info-sr@cs.arizona.edu
Subject: Re:  Want to do multi-terminal i/o in SR


> I have a student that is building an on-line simulated
> market system.  Each participant bids and sells from
> their own terminal.  Has anyone written routines for
> multi-terminal i/o in SR, - especially the echoing of
> input back to the user entering it?
> Thanks,
> David
> ------------------------------------------------
> David Garnick               phone: 207/725-3569
> Dept of Computer Science    garnick@polar.bowdoin.edu
> Bowdoin College
> Brunswick, ME  04011
> 

See Chapter 17 of the SR book (Distributed File System) for
an example of interactive I/O in SR.  The code there is part
of the distribution:  examples/chap17/*.sr

Students at Arizona now routinely use multiple windows on
X-terminals in basically this way to do projects in SR.

Greg Andrews

From ljaquez@cs.utep.edu  Tue Apr 22 11:02:09 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Tue, 22 Apr 1997 10:02:22 MST
Received: from cs.utep.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA10987; Tue, 22 Apr 1997 10:02:15 MST
Received: from heron.cs.utep.edu by cs.utep.edu (4.1/SMI-4.1)
	id AA19539; Tue, 22 Apr 97 11:02:11 MDT
Received: by heron.cs.utep.edu (4.1/SMI-4.1)
	id AA17833; Tue, 22 Apr 97 11:02:10 MDT
Date: Tue, 22 Apr 1997 11:02:09 -0600 (MDT)
From: ljaquez@cs.utep.edu
To: info-sr@cs.arizona.edu
Subject: pointer
Message-Id: <Pine.SUN.3.91.970422105707.17820A-100000@heron.cs.utep.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,
	
	I am wondering if it is possible to declare a pointer to
a process in SR?  If so, can you please let me know how you must
go about doing this? 
Your help is appreciated.

		Thank You,
	
can you please reply to my email address:   ljaquez@cs.utep.edu



From dave@swaggerlad.demon.co.uk  Mon Jun  9 02:43:53 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 9 Jun 1997 02:19:17 MST
Received: from punt-2.mail.demon.net by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA29202; Mon, 9 Jun 1997 02:19:15 MST
Received: from swaggerlad.demon.co.uk ([194.222.11.116])
          by punt-2.mail.demon.net  id aa0612001; 9 Jun 97 10:17 BST
Message-Id: <XBguOAAZ$1mzEw3c@swaggerlad.demon.co.uk>
Date: Mon, 9 Jun 1997 02:43:53 +0100
To: info-sr@cs.arizona.edu
From: Dave Norrie <dave@swaggerlad.demon.co.uk>
Subject: Comparison To Occam
Mime-Version: 1.0
X-Mailer: Turnpike (evaluation) Version 3.02 <YN4$XQe5MpJqSg6S65wTBnKesm>


Hi, was just wondering...

Having just got SR, was wondering how it compared to Occam, with 
regards to its concurrency mechanisms.

Is SR better in any way, or is it much better??

Any thoughts would be appreciated.
(Please reply to this email address please!)
-- 
Dave Norrie

Turnpike evaluation. For information, see http://www.turnpike.com/

From colin@dcs.st-and.ac.uk  Mon Jun  9 03:01:20 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 9 Jun 1997 03:01:20 MST
Received: from tamdhu.dcs.st-andrews.ac.uk by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA29462; Mon, 9 Jun 1997 02:59:03 MST
Received: by tamdhu.dcs.st-andrews.ac.uk (4.1/SMI-4.1)
	id AA24365; Mon, 9 Jun 97 10:57:50 BST
Date: Mon, 9 Jun 97 10:57:50 BST
From: colin@dcs.st-and.ac.uk (Colin Allison)
Message-Id: <9706090957.AA24365@tamdhu.dcs.st-andrews.ac.uk>
To: info-sr@cs.arizona.edu, dave@swaggerlad.demon.co.uk
Subject: Re: Comparison To Occam

> From info-sr-sender@cs.arizona.edu Mon Jun  9 10:24:50 1997
> Date: Mon, 9 Jun 1997 02:43:53 +0100
> To: info-sr@cs.arizona.edu
> From: Dave Norrie <dave@swaggerlad.demon.co.uk>
> Subject: Comparison To Occam
> Mime-Version: 1.0
> X-Mailer: Turnpike (evaluation) Version 3.02 <YN4$XQe5MpJqSg6S65wTBnKesm>
> Having just got SR, was wondering how it compared to Occam, with 
> regards to its concurrency mechanisms.
> 
> Is SR better in any way, or is it much better??
>

SR could be called a superset of Occam but that would be slightly
misleading in that Occam is intentionally restrictive to fit 
a particular programming model:  Occam is based largely
on CSP and SR comes with a CSP -> SR translator. Occam is also closely
associated with the trasnputer, which is started life as a hardware 
implementation of the Occam process model 

However, SR is a consolidation of many
different approaches to concurrent and distributed programming from
the last 20 years or so, and can be used to program in a variety of
styles, including an Occam-like style.  The main difference between
programming in an Occam-like style using SR, and Occam itself,
is that the granularity of arguments to the "PAR" construct in SR ("|")
must be processes, whereas Occam allows individual statements to
be treated as PAR arguments, theoretically giving very fine granularity
parallellism.

Which is "better" ? It's easier to prove the correctness of an Occam
program which may be of importance in embedded control systems; however
there's an awful lot that you can't do with Occam (without really tortuous
programming) that is quite straight forward in SR.

apologies to the folks from Arizona if the above is misleading !

Colin Allison
St Andrews

From greg  Mon Jun  9 12:37:31 1997
Received: from paloverde.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 9 Jun 1997 12:37:35 MST
Received: by paloverde.CS.Arizona.EDU; (5.65/1.1.8.2/08Nov94-0446PM)
	id AA18544; Mon, 9 Jun 1997 12:37:31 -0700
Date: Mon, 9 Jun 1997 12:37:31 -0700
From: Greg Andrews <greg>
Message-Id: <9706091937.AA18544@paloverde.CS.Arizona.EDU>
To: colin@dcs.st-and.ac.uk, dave@swaggerlad.demon.co.uk,
        info-sr@cs.arizona.edu
Subject: Re: Comparison To Occam

Collin Allison's characterizations are quite accurate!

Interested readers might also wish to check out Chapter 10 of my
book "Concurrent Programming:  Principles and Practice", Benjamin/
Cummunings (Addison-Wesley), 1991.  Section 10.2 summarizes Occam,
and Section 10.4 summarizes SR.  The rest of the chapter presents
synopses of Turing Plus, Ada, and Linda, and also compares the
features and performance of the various languages.

-- Greg Andrews

From cheongla@iscs.nus.sg  Sun Jun 29 20:56:59 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Sun, 29 Jun 1997 05:53:56 MST
Received: from netman.iscs.nus.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA13770; Sun, 29 Jun 1997 05:53:54 MST
Received: from ssc54.iscs.nus.sg (cheongla@ssc54.iscs.nus.sg [137.132.85.20])
	by netman.iscs.nus.sg (8.8.5/8.8.5) with ESMTP id UAA19225
	for <info-sr@cs.arizona.edu>; Sun, 29 Jun 1997 20:53:52 +0800 (GMT+0800)
Received: (from cheongla@localhost)
	by ssc54.iscs.nus.sg (8.8.5/8.8.5) id UAA06209
	for info-sr@cs.arizona.edu; Sun, 29 Jun 1997 20:57:00 +0800 (GMT-8)
From: E Z A M <cheongla@iscs.nus.sg>
Message-Id: <199706291257.UAA06209@ssc54.iscs.nus.sg>
Subject: Chpt 8 of the SR book
To: info-sr@cs.arizona.edu
Date: Sun, 29 Jun 1997 20:56:59 +0800 (GMT-8)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

First, I would like to resubscribe to this mailing list.
Secondly, I need the chpt 8 of the SR programming language urgently to find
out how to use time() and delay() ways to simulate.
I checked with the distributor and it takes 2 months if I place an order now.

Thanks.


ps: please reply directly to my email if necessary.
-- 
.........................
Lai_Hong Cheong
cheongla@iscs.nus.sg
......................... 

From isaac@calvin.cs.qc.edu  Mon Jun 30 08:14:37 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 30 Jun 1997 05:10:33 MST
Received: from turing.cs.qc.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA04260; Mon, 30 Jun 1997 05:10:32 MST
Received: from calvin.cs.qc.edu by turing.cs.qc.edu (SMI-8.6/SMI-SVR4)
	id IAA19858; Mon, 30 Jun 1997 08:10:54 -0400
Received: by calvin.cs.qc.edu (SMI-8.6/SMI-SVR4)
	id IAA06513; Mon, 30 Jun 1997 08:14:38 -0400
Date: Mon, 30 Jun 1997 08:14:37 -0400 (EDT)
From: Isaac <isaac@calvin.cs.qc.edu>
To: E Z A M <cheongla@iscs.nus.sg>
Cc: info-sr@cs.arizona.edu
Subject: Re: Chpt 8 of the SR book
In-Reply-To: <199706291257.UAA06209@ssc54.iscs.nus.sg>
Message-Id: <Pine.SOL.3.91.970630081404.6478D-100000@calvin>
Comment: /dev/null
Organization: Computer Science Department/Queens College
Distribution: Unbelievable
True-Sender: Ghost
Approved: I think so.  Care to verify?
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I have an extra copy of that book, which I
can sell to you, if you'd like.

Email, if interested.


On Sun, 29 Jun 1997, E Z A M wrote:

> First, I would like to resubscribe to this mailing list.
> Secondly, I need the chpt 8 of the SR programming language urgently to find
> out how to use time() and delay() ways to simulate.
> I checked with the distributor and it takes 2 months if I place an order now.
> 
> Thanks.
> 
> 
> ps: please reply directly to my email if necessary.
> -- 
> .........................
> Lai_Hong Cheong
> cheongla@iscs.nus.sg
> ......................... 
> 


-----------------------------------------------------------------------------
Isaac Rozenfeld
isaac@calvin.cs.qc.edu			
http://tiger.cs.qc.edu:8080/
Queens College of CUNY/Computer Science Department
-----------------------------------------------------------------------------


From greg  Mon Jun 30 11:37:44 1997
Received: from paloverde.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 30 Jun 1997 11:37:47 MST
Received: by paloverde.CS.Arizona.EDU; (5.65/1.1.8.2/08Nov94-0446PM)
	id AA02687; Mon, 30 Jun 1997 11:37:44 -0700
Date: Mon, 30 Jun 1997 11:37:44 -0700
From: Greg Andrews <greg>
Message-Id: <9706301837.AA02687@paloverde.CS.Arizona.EDU>
To: cheongla@iscs.nus.sg, info-sr@cs.arizona.edu
Subject: Re:  Chpt 8 of the SR book

    From: E Z A M <cheongla@iscs.nus.sg>
    Message-Id: <199706291257.UAA06209@ssc54.iscs.nus.sg>
    Subject: Chpt 8 of the SR book
    To: info-sr@cs.arizona.edu
    Date: Sun, 29 Jun 1997 20:56:59 +0800 (GMT-8)
    
    First, I would like to resubscribe to this mailing list.
    Secondly, I need the chpt 8 of the SR programming language urgently to find
    out how to use time() and delay() ways to simulate.


I think you mean Chapter 18, which covers discrete event simulation in SR.

The SR distribution contains source code for all large examples.  See the
directory "examples/chap18" for those from Chapter 18 of the SR book.
The files contain examples the implementation and use of time()
and delay().


    I checked with the distributor and it takes 2 months if I place an order now.
    
    Thanks.
    

I don't know what this means.  You can always get a copy of SR from us
at Arizona, via the Web or by ftp to cs.arizona.edu, and it's free.

We appreciate your interest in SR,

Greg Andrews

From z2191317@student.unsw.edu.au  Mon Jul  7 02:53:56 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Sun, 6 Jul 1997 09:57:10 MST
Received: from rufus.comms.unsw.EDU.AU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA12811; Sun, 6 Jul 1997 09:57:08 MST
Received: from tigershell.home (max515064.servers.unsw.EDU.AU [129.94.15.64]) by rufus.comms.unsw.EDU.AU (8.8.5/8.7.5.kenso-central) with SMTP id CAA05247 for <info-sr@CS.Arizona.EDU>; Mon, 7 Jul 1997 02:57:05 +1000 (EST)
Message-Id: <33BFBF94.358C@student.unsw.edu.au>
Date: Mon, 07 Jul 1997 02:53:56 +1100
From: yin tan cui <z2191317@student.unsw.edu.au>
Reply-To: z2191317@student.unsw.edu.au
Organization: UNSW
X-Mailer: Mozilla 3.01Gold (Win95; I)
Mime-Version: 1.0
To: info-sr@cs.arizona.edu
Subject: SR installation problem(undefined reference to ...)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I tried to install SR into my Linux mechine. (pentium 60MHz,  slackware
3.0)
I followed the installation procedure described in ps/install.ps. after
I type
make, the program started compiling, but after it get out of the
directory
"cstest", the fo;;owing error occured:

cstest.o(.text+0x1b8): undefined reference to `sr_chg_context'
cstest.o(.text+0x2b3): undefined reference to `sr_build_context'
cstest.o(.text+0x2eb): undefined reference to `sr_check_stk'
cstest.o(.text+0x304): undefined reference to `sr_chg_context'
cstest.o(.text+0x323): undefined reference to `sr_check_stk'
cstest.o(.text+0x33c): undefined reference to `sr_chg_context'
cstest.o(.text+0x3a4): undefined reference to `sr_check_stk'
cstest.o(.text+0x3c9): undefined reference to `sr_chg_context'
cstest.o(.text+0x3fe): undefined reference to `sr_check_stk'
cstest.o(.text+0x4eb): undefined reference to `sr_check_stk'
cstest.o(.text+0x593): undefined reference to `sr_check_stk'
cstest.o(.text+0x5ac): undefined reference to `sr_chg_context'
cstest.o(.text+0x5d3): undefined reference to `sr_check_stk'
cstest.o(.text+0x5ec): undefined reference to `sr_chg_context'
cstest.o(.text+0x647): undefined reference to `sr_check_stk'
cstest.o(.text+0x660): undefined reference to `sr_chg_context'
cstest.o(.text+0x68b): undefined reference to `sr_check_stk'
cstest.o(.text+0x6a4): undefined reference to `sr_chg_context'
cstest.o(.text+0x6cf): undefined reference to `sr_check_stk'
cstest.o(.text+0x6e8): undefined reference to `sr_chg_context'
cstest.o(.text+0x713): undefined reference to `sr_check_stk'
cstest.o(.text+0x72c): undefined reference to `sr_chg_context'
cstest.o(.text+0x7ff): undefined reference to `sr_chg_context'
cstest.o(.text+0x83b): undefined reference to `sr_chg_context'
asm.o(.text+0x7d): undefined reference to `_sr_stk_overflow'
asm.o(.text+0x82): undefined reference to `_sr_stk_underflow'
asm.o(.text+0x87): undefined reference to `_sr_stk_corrupted'
make[1]: *** [cstest] Error 1
make: *** [all] Error 2

can anyone tell me if I did something wrong or I missed something?

Thank you.

From z2191317@student.unsw.edu.au  Mon Jul  7 02:59:28 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Sun, 6 Jul 1997 10:02:43 MST
Received: from rufus.comms.unsw.EDU.AU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA12913; Sun, 6 Jul 1997 10:02:41 MST
Received: from tigershell.home (max515064.servers.unsw.EDU.AU [129.94.15.64]) by rufus.comms.unsw.EDU.AU (8.8.5/8.7.5.kenso-central) with SMTP id DAA05359 for <info-sr@CS.Arizona.EDU>; Mon, 7 Jul 1997 03:02:37 +1000 (EST)
Message-Id: <33BFC0E0.13BE@student.unsw.edu.au>
Date: Mon, 07 Jul 1997 02:59:28 +1100
From: yin tan cui <z2191317@student.unsw.edu.au>
Reply-To: z2191317@student.unsw.edu.au
Organization: UNSW
X-Mailer: Mozilla 3.01Gold (Win95; I)
Mime-Version: 1.0
To: info-sr@cs.arizona.edu
Subject: SR installation problem solved.
References: <33BFBF94.358C@student.unsw.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sorry about my mail "SR installation problem(undefine reference to ...)"

After I login to ftp.cs.arizona.edu/sr, I read the file README.LINUX, 
and this is exactly the problem i had.

Thanks

From z2191317@student.unsw.edu.au  Thu Jul 10 22:09:53 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Thu, 10 Jul 1997 05:13:29 MST
Received: from rufus.comms.unsw.EDU.AU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA14046; Thu, 10 Jul 1997 05:13:21 MST
Received: from tigershell.home (max515060.servers.unsw.EDU.AU [129.94.15.60]) by rufus.comms.unsw.EDU.AU (8.8.5/8.7.5.kenso-central) with SMTP id WAA14403 for <info-sr@cs.arizona.edu>; Thu, 10 Jul 1997 22:13:13 +1000 (EST)
Message-Id: <33C4C301.6E8A@student.unsw.edu.au>
Date: Thu, 10 Jul 1997 22:09:53 +1100
From: yin tan cui <z2191317@student.unsw.edu.au>
Reply-To: z2191317@student.unsw.edu.au
Organization: UNSW
X-Mailer: Mozilla 3.01Gold (Win95; I)
Mime-Version: 1.0
To: info-sr@cs.arizona.edu
Subject: how to configure Emacs ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Can anyone tell me exactly what to do so that I can edit SR file in
emacs under SR-mode ? I tried to make link as described in 
sr/ps/install.ps, but it did not work.

thank you.

From cheongla@iscs.nus.edu.sg  Fri Jul 25 15:26:32 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 25 Jul 1997 00:27:13 MST
Received: from netman.iscs.nus.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA28329; Fri, 25 Jul 1997 00:26:52 MST
Received: from sununx.iscs.nus.sg (cheongla@sununx.iscs.nus.sg [137.132.87.11])
	by netman.iscs.nus.sg (8.8.5/8.8.5) with ESMTP id PAA00732
	for <info-sr@cs.arizona.edu>; Fri, 25 Jul 1997 15:26:34 +0800 (GMT+0800)
Received: (from cheongla@localhost)
	by sununx.iscs.nus.sg (8.8.5/8.8.5) id PAA21402
	for info-sr@cs.arizona.edu; Fri, 25 Jul 1997 15:26:32 +0800 (GMT-8)
From: E Z A M <cheongla@iscs.nus.edu.sg>
Message-Id: <199707250726.PAA21402@sununx.iscs.nus.sg>
Subject: dynamic number of tasks
To: info-sr@cs.arizona.edu
Date: Fri, 25 Jul 1997 15:26:32 +0800 (GMT-8)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I am using the Scheduler mentioned in Chpt 18.

Can the number of tasks be changed during the run?
i.e. I starts with 0 task, then at some time later, may have
2 concurrent tasks, and then later decreases and increases until
finally I have 0 task again.

-- 
.........................
Lai_Hong Cheong
cheongla@iscs.nus.sg
......................... 

From olsson@cs.ucdavis.edu  Fri Jul 25 00:58:40 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 25 Jul 1997 00:58:47 MST
Received: from toadflax.cs.ucdavis.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA28680; Fri, 25 Jul 1997 00:58:46 MST
Received: from ivy.cs.ucdavis.edu by toadflax.cs.ucdavis.edu (4.1/UCD.CS.2.6)
	id AA16899; Fri, 25 Jul 97 00:58:40 PDT
Received: by ivy.cs.ucdavis.edu (5.65/UCD.CS.2.6)
	id AA22029; Fri, 25 Jul 1997 00:58:40 -0700
Date: Fri, 25 Jul 1997 00:58:40 -0700
Message-Id: <9707250758.AA22029@ivy.cs.ucdavis.edu>
To: cheongla@iscs.nus.edu.sg
Cc: info-sr@cs.arizona.edu
In-Reply-To: <199707250726.PAA21402@sununx.iscs.nus.sg> (message from E Z A M on Fri, 25 Jul 1997 15:26:32 +0800 (GMT-8))
Subject: dynamic number of tasks
From: olsson@cs.ucdavis.edu (Ron Olsson)

   From: E Z A M <cheongla@iscs.nus.edu.sg>
   Date: Fri, 25 Jul 1997 15:26:32 +0800 (GMT-8)
   Errors-To: info-sr-errors@cs.arizona.edu

   I am using the Scheduler mentioned in Chpt 18.

   Can the number of tasks be changed during the run?
   i.e. I starts with 0 task, then at some time later, may have
   2 concurrent tasks, and then later decreases and increases until
   finally I have 0 task again.

The Scheduler should work with minor changes.  For example, the
variable active needs to be updated as processes come and go, probably
via invoking become_active and become_inactive.

(Of course, varying the number of tasks dynamically doesn't make sense
for the specific simulation problem in Chapter 18, but it would for
some of the simulations problems suggested in the exercises.)

From cheongla@iscs.nus.edu.sg  Mon Jul 28 09:35:46 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Sun, 27 Jul 1997 18:36:24 MST
Received: from netman.iscs.nus.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA20682; Sun, 27 Jul 1997 18:36:19 MST
Received: from sununx.iscs.nus.sg (cheongla@sununx.iscs.nus.sg [137.132.87.11])
	by netman.iscs.nus.sg (8.8.5/8.8.5) with ESMTP id JAA00901
	for <info-sr@cs.arizona.edu>; Mon, 28 Jul 1997 09:35:39 +0800 (GMT+0800)
Received: (from cheongla@localhost)
	by sununx.iscs.nus.sg (8.8.5/8.8.5) id JAA20135
	for info-sr@cs.arizona.edu; Mon, 28 Jul 1997 09:35:47 +0800 (GMT-8)
From: E Z A M <cheongla@iscs.nus.edu.sg>
Message-Id: <199707280135.JAA20135@sununx.iscs.nus.sg>
Subject: Re: dynamic number of tasks
To: info-sr@cs.arizona.edu
Date: Mon, 28 Jul 1997 09:35:46 +0800 (GMT-8)
In-Reply-To: <9707250758.AA22029@ivy.cs.ucdavis.edu> from "Ron Olsson" at Jul 25, 97 00:58:40 am
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

>    I am using the Scheduler mentioned in Chpt 18.
> 
>    Can the number of tasks be changed during the run?
>    i.e. I starts with 0 task, then at some time later, may have
>    2 concurrent tasks, and then later decreases and increases until
>    finally I have 0 task again.
> 
> The Scheduler should work with minor changes.  For example, the
> variable active needs to be updated as processes come and go, probably
> via invoking become_active and become_inactive.
> 
> (Of course, varying the number of tasks dynamically doesn't make sense
> for the specific simulation problem in Chapter 18, but it would for
> some of the simulations problems suggested in the exercises.)

That's what I did.  In doing so, is there any possibility that some
eventlists are not received at all?

-- 
.........................
Lai_Hong Cheong
cheongla@iscs.nus.sg
......................... 

From cheongla@iscs.nus.edu.sg  Tue Jul 29 14:11:06 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 28 Jul 1997 23:13:26 MST
Received: from netman.iscs.nus.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA22434; Mon, 28 Jul 1997 23:11:57 MST
Received: from sununx.iscs.nus.sg (cheongla@sununx.iscs.nus.sg [137.132.87.11])
	by netman.iscs.nus.sg (8.8.5/8.8.5) with ESMTP id OAA17859
	for <info-sr@cs.arizona.edu>; Tue, 29 Jul 1997 14:11:24 +0800 (GMT+0800)
Received: (from cheongla@localhost)
	by sununx.iscs.nus.sg (8.8.5/8.8.5) id OAA27217
	for info-sr@cs.arizona.edu; Tue, 29 Jul 1997 14:11:06 +0800 (GMT-8)
From: E Z A M <cheongla@iscs.nus.edu.sg>
Message-Id: <199707290611.OAA27217@sununx.iscs.nus.sg>
Subject: Re: dynamic number of tasks
To: info-sr@cs.arizona.edu
Date: Tue, 29 Jul 1997 14:11:06 +0800 (GMT-8)
In-Reply-To: <9707282244.AA09778@ivy.cs.ucdavis.edu> from "Ron Olsson" at Jul 28, 97 03:44:54 pm
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

>    > The Scheduler should work with minor changes.  For example, the
>    > variable active needs to be updated as processes come and go, probably
>    > via invoking become_active and become_inactive.
>    That's what I did.  In doing so, is there any possibility that some
>    eventlists are not received at all?
> I don't think so.  Note that an event_list is serviceable only when
> active=0 -- i.e., all tasks are inactive/have delayed.  So, I'd check
> that condition if you're having problems.

What I discovered is this:
  when my delays are 1,2,3 and 10, a number of the 10 type were not woken up.
  when my delays are 1,2,3 (i.e. I change the 10 to 3), everythings work fine.
The program stops because it given up waiting for go_ahead in the delay proc.

-- 
.........................
Lai_Hong Cheong
cheongla@iscs.nus.sg
......................... 

From cheongla@iscs.nus.edu.sg  Tue Jul 29 14:45:37 1997
Received: from optima.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Mon, 28 Jul 1997 23:46:43 MST
Received: from netman.iscs.nus.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA22920; Mon, 28 Jul 1997 23:45:50 MST
Received: from sununx.iscs.nus.sg (cheongla@sununx.iscs.nus.sg [137.132.87.11])
	by netman.iscs.nus.sg (8.8.5/8.8.5) with ESMTP id OAA20167
	for <info-sr@cs.arizona.edu>; Tue, 29 Jul 1997 14:45:39 +0800 (GMT+0800)
Received: (from cheongla@localhost)
	by sununx.iscs.nus.sg (8.8.5/8.8.5) id OAA11397
	for info-sr@cs.arizona.edu; Tue, 29 Jul 1997 14:45:38 +0800 (GMT-8)
From: E Z A M <cheongla@iscs.nus.edu.sg>
Message-Id: <199707290645.OAA11397@sununx.iscs.nus.sg>
Subject: Re: dynamic number of tasks
To: info-sr@cs.arizona.edu
Date: Tue, 29 Jul 1997 14:45:37 +0800 (GMT-8)
In-Reply-To: <199707290611.OAA27217@sununx.iscs.nus.sg> from "E Z A M" at Jul 29, 97 02:11:06 pm
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Pse ignore the previous email.
I have solved my own problem.  I made a mistake by increase the
number of active task too early.

> 
> >    > The Scheduler should work with minor changes.  For example, the
> >    > variable active needs to be updated as processes come and go, probably
> >    > via invoking become_active and become_inactive.
> >    That's what I did.  In doing so, is there any possibility that some
> >    eventlists are not received at all?
> > I don't think so.  Note that an event_list is serviceable only when
> > active=0 -- i.e., all tasks are inactive/have delayed.  So, I'd check
> > that condition if you're having problems.
> 
> What I discovered is this:
>   when my delays are 1,2,3 and 10, a number of the 10 type were not woken up.
>   when my delays are 1,2,3 (i.e. I change the 10 to 3), everythings work fine.
> The program stops because it given up waiting for go_ahead in the delay proc.
> 
> -- 
> .........................
> Lai_Hong Cheong
> cheongla@iscs.nus.sg
> ......................... 
> 


-- 
.........................
Lai_Hong Cheong
cheongla@iscs.nus.sg
......................... 

From owner-info-sr  Thu Aug 14 06:23:59 1997
Return-Path: <z2191317@student.unsw.edu.au>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Thu, 14 Aug 1997 06:23:58 -0500 (EST)
Received: from rufus.comms.unsw.EDU.AU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA19413; Thu, 14 Aug 1997 04:23:54 MST
Received: from tigershell.home (max314113.servers.unsw.EDU.AU [129.94.14.113]) by rufus.comms.unsw.EDU.AU (8.8.5/8.7.5.kenso-central) with SMTP id VAA02337 for <info-sr@cs.arizona.edu>; Thu, 14 Aug 1997 21:23:48 +1000 (EST)
Message-Id: <33F2DC84.6EDA@student.unsw.edu.au>
Date: Thu, 14 Aug 1997 21:23:00 +1100
From: yin tan cui <z2191317@student.unsw.edu.au>
Reply-To: z2191317@student.unsw.edu.au
Organization: UNSW
X-Mailer: Mozilla 3.01Gold (Win95; I)
Mime-Version: 1.0
To: info-sr
Subject: how can I edit sr source code in emacs with sr-mode ?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I think the subject has already explained my question.

From owner-info-sr  Fri Aug 15 01:17:33 1997
Return-Path: <jlewis@ns.bitterroot.net>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Fri, 15 Aug 1997 01:17:31 -0500 (EST)
Message-Id: <199708150617.AA12861@optima.cs.arizona.edu>
Received: from mail.bitterroot.net by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA12861; Thu, 14 Aug 1997 23:17:30 MST
Received: from bitterroot.net.bitterroot.net
          (modem3.bitterroot.net [206.26.92.52]) by mail.bitterroot.net
          (post.office MTA v1.9.1 ID# 0-11713) with SMTP id AAA79;
          Fri, 15 Aug 1997 00:19:58 -0600
Comments: Authenticated sender is <jlewis@mail.bitterroot.net>
From: "Jem Lewis" <jlewis@bitterroot.net>
To: z2191317@student.unsw.edu.au, info-sr
Date: Fri, 15 Aug 1997 00:02:24 -7
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Subject: Re: how can I edit sr source code in emacs with sr-mode ?
Reply-To: jlewis@bitterroot.net
Priority: normal
In-Reply-To: <33F2DC84.6EDA@student.unsw.edu.au>
X-Mailer: Pegasus Mail for Win32 (v2.52)

> how can I edit sr source code in emacs with sr-mode ?

If by your question you mean how to get emacs to automatically load 
sr-mode when you edit an sr file (a file ending with .sr I presume), 
then the header to sr-mode.el should tell you, but putting the 
following two lines into your .emacs file should also work, provided 
you amend the path to sr-mode.el:

(setq auto-mode-alist	(append '(("\\.sr$" . sr-mode)) 
				 auto-mode-alist))
(autoload 'sr-mode "/<sr-mode-path>/sr-mode.el" "SR mode" t  nil)

Or, to make it load faster, you might byte-compile sr-mode, and then 
it would be sr-mode.elc.

Good luck,

Jem Lewis
jlewis@polar.bowdoin.edu

From owner-info-sr  Mon Aug 18 09:51:10 1997
Return-Path: <esuvb@csv.warwick.ac.uk>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Mon, 18 Aug 1997 09:51:09 -0500 (EST)
Received: from pansy.csv.warwick.ac.uk by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA22214; Mon, 18 Aug 1997 07:51:07 MST
Received: from default by pansy.csv.warwick.ac.uk with SMTP
	id PAA09372; Mon, 18 Aug 1997 15:50:55 +0100 (BST)
Message-Id: <33F86171.51@csv.warwick.ac.uk>
Date: Mon, 18 Aug 1997 22:51:29 +0800
From: esuvb <esuvb@csv.warwick.ac.uk>
Reply-To: esuvb@csv.warwick.ac.uk
X-Mailer: Mozilla 3.03 (Win95; I)
Mime-Version: 1.0
To: info-sr
Subject: unsubscribe
References: <33F2DC84.6EDA@student.unsw.edu.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe esuvb@csv.warwick.ac.uk

From owner-info-sr  Mon Aug 18 21:10:06 1997
Return-Path: <lph@np.ac.sg>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Mon, 18 Aug 1997 21:10:06 -0500 (EST)
Received: from moondance.np.ac.sg by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA07497; Mon, 18 Aug 1997 19:08:02 MST
Received: (uucp@localhost) by moondance.np.ac.sg (8.7.1/8.7.1) id KAA03691 for <info-sr@cs.arizona.edu>; Tue, 19 Aug 1997 10:06:02 GMT
Received: from (null)@unknown(153.20.131.162) by moondance.np.ac.sg via smap (V1.3)
	id sma003680; Tue Aug 19 10:05:51 1997
Received: by simph_31r7-19.ccs.np.ac.sg with Microsoft Mail
	id <01BCAC86.F0825640@simph_31r7-19.ccs.np.ac.sg>; Tue, 19 Aug 1997 10:02:02 +-800
Message-Id: <01BCAC86.F0825640@simph_31r7-19.ccs.np.ac.sg>
From: lph <lph@np.ac.sg>
To: "info-sr@cs.arizona.edu" <info-sr>
Subject: unsubscribe
Date: Tue, 19 Aug 1997 10:12:59 +-800
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe lph@np.ac.sg

 


From owner-info-sr  Wed Aug 27 17:18:44 1997
Return-Path: <renganag@next1.msci.memst.edu>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Wed, 27 Aug 1997 17:18:44 -0500 (EST)
Received: from next1 by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA14160; Wed, 27 Aug 1997 15:18:41 MST
Received: by next1 id AA08266
  (5.65c/IDA-1.4.4 for info-sr@cs.arizona.edu); Wed, 27 Aug 1997 16:16:27 -0600
Date: Wed, 27 Aug 1997 16:16:26 -0600 (GMT-0600)
From: Gopal Renganathan <renganag@next1.msci.memst.edu>
X-Sender: renganag@next1
To: info-sr
Subject: unsubscribe
Message-Id: <Pine.NXT.3.91.970827161510.8254A-100000@next1>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


unsubscribe renganag@next1.msci.memphis.edu


 



From owner-info-sr  Wed Aug 27 17:42:06 1997
Return-Path: <aabyan@wwc.edu>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Wed, 27 Aug 1997 17:42:06 -0500 (EST)
Received: from polaris.wwc.edu by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA15174; Wed, 27 Aug 1997 15:42:04 MST
Received: from polaris ([127.0.0.1]) by polaris.wwc.edu (8.6.12/8.6.9) with SMTP id PAA09722 for <info-sr@cs.arizona.edu>; Wed, 27 Aug 1997 15:41:52 -0700
Sender: aabyan@wwc.edu
Message-Id: <3404AD2E.1CFBAE39@wwc.edu>
Date: Wed, 27 Aug 1997 15:41:50 -0700
From: Anthony Aaby <aabyan@wwc.edu>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 4.1.2 sun4c)
Mime-Version: 1.0
To: info-sr
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe aabyan@wwc.edu

From owner-info-sr  Wed Aug 27 19:50:34 1997
Return-Path: <bina@cs.Buffalo.EDU>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Wed, 27 Aug 1997 19:50:34 -0500 (EST)
Received: from castor.cs.Buffalo.EDU by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA20664; Wed, 27 Aug 1997 17:50:33 MST
Received: from centaur.cs.Buffalo.EDU (bina@centaur.cs.Buffalo.EDU [128.205.34.25])
	by castor.cs.Buffalo.EDU (8.8.5/8.8.5) with ESMTP id UAA03141
	for <info-sr@cs.arizona.edu>; Wed, 27 Aug 1997 20:50:31 -0400 (EDT)
From: Bina Ramamurthy <bina@cs.Buffalo.EDU>
Received: (from bina@localhost)
	by centaur.cs.Buffalo.EDU (8.8.5/8.8.5) id UAA29604
	for info-sr@cs.arizona.edu; Wed, 27 Aug 1997 20:50:46 -0400 (EDT)
Message-Id: <199708280050.UAA29604@centaur.cs.Buffalo.EDU>
Subject: unsubscribe
To: info-sr
Date: Wed, 27 Aug 1997 20:50:45 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Please unsubscribe bina@cs.buffalo.edu


From owner-info-sr  Thu Aug 28 11:45:45 1997
From: swaggerlad@pop3.mail.demon.net
Return-Path: <swaggerlad@pop3.mail.demon.net>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Thu, 28 Aug 1997 11:45:45 -0500 (EST)
Received: from punt-1.mail.demon.net by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA26808; Thu, 28 Aug 1997 09:45:43 MST
Received: from swaggerlad.demon.co.uk ([194.222.11.116])
          by punt-1.mail.demon.net  id aa1311727; 28 Aug 97 16:31 BST
Comments: Authenticated sender is <swaggerlad@pop3.demon.co.uk>
To: info-sr
Date: Thu, 28 Aug 1997 16:31:03 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Subject: unsubscribe
Priority: normal
In-Reply-To: <Pine.NXT.3.91.970827161510.8254A-100000@next1>
X-Mailer: Pegasus Mail for Win32 (v2.53/R1)
Message-Id: <872782303.1311727.0@swaggerlad.demon.co.uk>

unsubscribe dave@swaggerlad.demon.co.uk

From owner-info-sr  Thu Aug 28 12:20:44 1997
Return-Path: <jeslin@wipro.com>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Thu, 28 Aug 1997 12:20:43 -0500 (EST)
Received: from surya.wipro.com by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA28002; Thu, 28 Aug 1997 10:20:42 MST
Received: from taj.wipro.com.wipro.com by surya.wipro.com (SMI-8.6/SMI-SVR4)
	id KAA00154; Thu, 28 Aug 1997 10:19:42 -0700
Received: by taj.wipro.com.wipro.com (5.0/SMI-SVR4)
	id AA07514; Thu, 28 Aug 1997 10:21:07 +0000
From: jeslin@wipro.com (Jeslin Antony)
Message-Id: <9708281021.AA07514@taj.wipro.com.wipro.com>
Subject: unsubscribe
To: info-sr
Date: Thu, 28 Aug 1997 10:21:06 +0000 (PST)
Reply-To: jantony@cisco.com
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text


From owner-info-sr  Thu Aug 28 16:01:59 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Thu, 28 Aug 1997 16:01:59 -0500 (EST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA03398; Thu, 28 Aug 1997 14:01:58 -0700
Date: Thu, 28 Aug 1997 14:01:58 -0700
From: Gregg Townsend <gmt>
Message-Id: <9708282101.AA03398@hawk.CS.Arizona.EDU>
To: info-sr
Subject: how to subscribe / unsubscribe

Please send all subscription / desubscription requests to
	info-sr-request@cs.arizona.edu
	        ^^^^^^^
so that they are not rebroadcast to everyone on the list.
Thanks.

From owner-info-sr  Wed Sep 10 10:39:54 1997
Return-Path: <gomezl@lensis7.lsi.us.es>
Received: from optima.cs.arizona.edu by cheltenham.cs.arizona.edu; Wed, 10 Sep 1997 10:39:53 -0500 (EST)
Received: from arturo.lsi.us.es by optima.cs.arizona.edu (5.65c/15) via SMTP
	id AA20539; Wed, 10 Sep 1997 03:54:13 MST
Received: from lensis7.lsi.us.es (lensis7 [150.214.141.58]) by arturo.lsi.us.es (8.7.6/8.7.3) with SMTP id MAA06385 for <info-sr@CS.Arizona.EDU>; Wed, 10 Sep 1997 12:47:36 +0200 (MET DST)
Received: from localhost by lensis7.lsi.us.es (AIX 3.2/UCB 5.64/4.03)
          id AA10742; Wed, 10 Sep 1997 12:39:13 -0500
Date: Wed, 10 Sep 1997 12:39:13 -0500 (CDT)
From: GABRIEL GOMEZ-LIMON SANCHEZ <gomezl@lensis7.lsi.us.es>
To: info-sr
Subject: Bug Found in SR 2.3.1 running on AIX 3.2.5
Message-Id: <Pine.A32.3.95.970910121440.16115A-100000@lensis7.lsi.us.es>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Compiling the following program with SR 2.3.1 and executing it in a IBM
RS/6000 with AIX 3.2.5 will fail:

  resource Fallo()
    var e1 : real := 2.0,
        e2 : real := 3.0

    const Ce1: real := 2.0,
          Ce2: real := 3.0,
          Cv1: real := e1,
          Cv2: real := e2

    write( "Right results:" )
    write( "0.666667 6.00000 5.00000 -1.00000 8.00000" )

    write( "\nResults from operations with variables:" )
    write( e1 / e2, e1 * e2, e1 + e2, e1 - e2, exp( e2, e1 ) )
  
    write( "\nResults from operations with numerical constants:" )
    write( 2.0 / 3.0, 2.0 * 3.0, 2.0 + 3.0, 2.0 - 3.0, exp( 3.0, 2.0 ) )

    write( "\nResults from operations with symbolic constants:" )
    write( Ce1 / Ce2, Ce1 * Ce2, Ce1 + Ce2, Ce1 - Ce2, exp( Ce2, Ce1 ) )
  
    writes( "\nResults from operations with symbolic constants" )
    write( " initialized with variables:" )
    write( Cv1 / Cv2, Cv1 * Cv2, Cv1 + Cv2, Cv1 - Cv2, exp( Cv2, Cv1 ) )
  end Fallo

Results obtained are these:

Right Results:
0.66667 6.00000 5.00000 -1.00000 8.00000

Results from operations with variables:
0.666667 6.00000 5.00000 -1.00000 8.00000

Results from operations with numerical constants:
1.32857e-313 2.23230e+299 0.00000 1.06100e-313 2.12200e-314

Results from operations with symbolic constants:
1.32857e-313 2.23230e+299 0.00000 1.06100e-313 2.12200e-314

Results from operations with symbolic constants initialized with variables:
0.666667 6.00000 5.00000 -1.00000 8.00000
  
Note that operating with numerical constants or symbolic constants not
initialized with variables produce wrong results.


From owner-info-sr  Wed Sep 10 18:58:17 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Wed, 10 Sep 1997 18:58:17 -0500 (EST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA25453; Wed, 10 Sep 1997 16:58:14 -0700
Date: Wed, 10 Sep 1997 16:58:14 -0700
From: Gregg Townsend <gmt>
Message-Id: <9709102358.AA25453@hawk.CS.Arizona.EDU>
To: gomezl@lensis7.lsi.us.es
Subject: Re:  Bug Found in SR 2.3.1 running on AIX 3.2.5
Cc: info-sr

    Date: Wed, 10 Sep 1997 12:39:13 -0500 (CDT)
    From: GABRIEL GOMEZ-LIMON SANCHEZ <gomezl@lensis7.lsi.us.es>
    
    Compiling the following program with SR 2.3.1 and executing it in a IBM
    RS/6000 with AIX 3.2.5 will fail: ....


That's interesting; thanks for the report.  The program gets the right
answers when I run SR 2.3.1 on our AIX 4.1 system.  It's possible that
something changed for the better in the AIX C compiler between 3.2.5
and 4.1.

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246

From owner-info-sr  Wed Oct  8 19:44:24 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id TAA11313
	for <info-sr@cheltenham.cs.arizona.edu>; Wed, 8 Oct 1997 19:44:24 -0700 (MST)
Received: from mail1.socomm.net (root@mail1.socomm.net [207.15.160.25])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id TAA00713
	for <info-sr@cs.arizona.edu>; Wed, 8 Oct 1997 19:44:22 -0700 (MST)
Received: from debbiwal (du-135.tch3nsc.memphisonline.com [207.15.162.135]) by mail1.socomm.net (8.8.5/8.8.2) with SMTP id VAA15722 for <info-sr@cs.arizona.edu>; Wed, 8 Oct 1997 21:45:45 -0500
Message-ID: <343C46D3.1107@mail.memphisonline.com>
Date: Wed, 08 Oct 1997 21:52:03 -0500
From: Debbi Walker <debbi@mail.memphisonline.com>
X-Mailer: Mozilla 2.01 (Win95; U)
MIME-Version: 1.0
To: info-sr@cs.arizona.edu
Subject: SR compatibility issues
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello everyone!

Does an ASUS P/I-P65UP5 dual-Pentium-Pro motherboard with a
dual-Pentium-Pro C-P6ND card; and Solaris v2.5 O/S provide true  
multiprocessing using SR?

Does an AMI Goliath - Series 730 quad-Pentium-Pro motherboard and 
Solaris v2.5.1 O/S provide true multiprocessing using SR?

Can any combination of PC motherboard and operating system provide true
multiprocessing using SR on a tight budget?  I'd really like to set up a 
multiprocessing PC of some kind, as a lab for SR and pThreads.

Many thanks
Larry Schweizer
debbi@mephisonline.com
Larry Schweizer

From owner-info-sr  Thu Oct  9 08:04:13 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU (hawk.CS.Arizona.EDU [192.12.69.50])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id IAA28298
	for <info-sr@cheltenham.CS.Arizona.EDU>; Thu, 9 Oct 1997 08:04:12 -0700 (MST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA14891; Thu, 9 Oct 1997 08:04:11 -0700
Date: Thu, 9 Oct 1997 08:04:11 -0700
From: Gregg Townsend <gmt>
Message-Id: <9710091504.AA14891@hawk.CS.Arizona.EDU>
To: debbi@mail.memphisonline.com, info-sr@cs.arizona.edu
Subject: Re:  SR compatibility issues

    From: debbi@mail.memphisonline.com
    
    Can any combination of PC motherboard and operating system provide true
    multiprocessing using SR on a tight budget?  I'd really like to set up a 
    multiprocessing PC of some kind, as a lab for SR and pThreads.
    
We've never tried such a thing.  It might be as simple as combining the
Solaris thread support with the Intel-architecture context switch code,
but you'd be breaking new ground and it's possible that unexpected snags
might pop up.

(We are not aware of any ports to Linux multiprocessor systems, either.)

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246

From owner-info-sr  Thu Oct  9 11:44:36 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id LAA00387
	for <info-sr@cheltenham.cs.arizona.edu>; Thu, 9 Oct 1997 11:44:35 -0700 (MST)
Received: from zoe.prado.com (root@zoe.prado.com [209.66.80.130])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id LAA18531
	for <info-sr@cs.arizona.edu>; Thu, 9 Oct 1997 11:44:13 -0700 (MST)
Received: from tomw (dyn67.prado.com [209.66.81.67]) by zoe.prado.com (8.8.6/8.7.3) with SMTP id LAA21305; Thu, 9 Oct 1997 11:43:12 -0700 (PDT)
Message-Id: <199710091843.LAA21305@zoe.prado.com>
From: "trsmith" <trsmith@prado.com>
To: "Debbi Walker" <debbi@mail.memphisonline.com>, <info-sr@cs.arizona.edu>
Subject: Re: SR compatibility issues
Date: Thu, 9 Oct 1997 11:43:31 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1008.3
X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.1008.3

 I tried to port  to SR to SMP Linux to gain true multi-processing SR
programs ( not simulated ) on a newer Linux kernel. My hardware was
SMP-compatible and I ran SMP Linux kernel on my dual P100 Asus NP4
motherboard. I tried for months, using the multi-SR port documentation that
is included with the SR package and the various documentation on Pthreads. I
never succeeded, but my C skills are not Linux-kernel-level quality.
Perhaps someone else suceeded ?

--thomas--

-----Original Message-----
From: Debbi Walker <debbi@mail.memphisonline.com>
To: info-sr@cs.arizona.edu <info-sr@cs.arizona.edu>
Date: Wednesday, October 08, 1997 7:49 PM
Subject: SR compatibility issues



>Hello everyone!
>
>Does an ASUS P/I-P65UP5 dual-Pentium-Pro motherboard with a
>dual-Pentium-Pro C-P6ND card; and Solaris v2.5 O/S provide true
>multiprocessing using SR?
>
>Does an AMI Goliath - Series 730 quad-Pentium-Pro motherboard and
>Solaris v2.5.1 O/S provide true multiprocessing using SR?
>
>Can any combination of PC motherboard and operating system provide true
>multiprocessing using SR on a tight budget?  I'd really like to set up a
>multiprocessing PC of some kind, as a lab for SR and pThreads.
>
>Many thanks
>Larry Schweizer
>debbi@mephisonline.com
>Larry Schweizer
>


From owner-info-sr  Thu Oct  9 12:39:08 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id MAA00860
	for <info-sr@cheltenham.cs.arizona.edu>; Thu, 9 Oct 1997 12:39:04 -0700 (MST)
Received: from toadflax.cs.ucdavis.edu (toadflax.cs.ucdavis.edu [128.120.56.188])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with SMTP id MAA19706
	for <info-sr@optima.CS.Arizona.EDU>; Thu, 9 Oct 1997 12:39:00 -0700 (MST)
Received: from ivy.cs.ucdavis.edu by toadflax.cs.ucdavis.edu (4.1/UCD.CS.2.6)
	id AA15548; Thu, 9 Oct 97 12:38:57 PDT
Received: by ivy.cs.ucdavis.edu (5.65/UCD.CS.2.6)
	id AA03855; Thu, 9 Oct 1997 12:38:57 -0700
Date: Thu, 9 Oct 1997 12:38:57 -0700
Message-Id: <9710091938.AA03855@ivy.cs.ucdavis.edu>
To: trsmith@prado.com, debbi@mail.memphisonline.com
Cc: info-sr@optima.CS.Arizona.EDU
In-Reply-To: <199710091843.LAA21305@zoe.prado.com> (trsmith@prado.com)
Subject: Re: SR compatibility issues
From: olsson@cs.ucdavis.edu (Ron Olsson)

Greg Benson (benson@cs.ucdavis.edu) has a Pthreads version of SR.
It's still in development but is close to complete (at least for our
purposes and I hope yours).  It hasn't been tested on a
multiprocessor, but we'd certainly like to do that.

Unfortunately, Greg's out of town until early next week.  I'll ask him
to send you further info then.  (If anyone else on info-sr is
interested, please let us know; we won't send to the entire mailing
list.)

From owner-info-sr  Mon Oct 20 05:20:36 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA19584
	for <info-sr@cheltenham.cs.arizona.edu>; Mon, 20 Oct 1997 05:20:36 -0700 (MST)
Received: from arturo.lsi.us.es (arturo.lsi.us.es [150.214.141.54])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA15614
	for <info-sr@cs.arizona.edu>; Mon, 20 Oct 1997 05:20:14 -0700 (MST)
Received: from arturo (localhost [127.0.0.1]) by arturo.lsi.us.es (8.7.6/8.7.3) with SMTP id NAA01895 for <info-sr@cs.arizona.edu>; Mon, 20 Oct 1997 13:12:59 +0100 (MET)
Sender: jperez@lsi.us.es
Message-ID: <344B4ACA.7FB1@lsi.us.es>
Date: Mon, 20 Oct 1997 13:12:58 +0100
From: "Jose A. Perez Castellanos" <jperez@lsi.us.es>
Organization: Departamento de Lenguajes y Sistemas Informaticos
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4d)
MIME-Version: 1.0
To: info-sr@cs.arizona.edu
Subject: A problem with SR
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am having a problem distributing virtual machines between
Linux and Solaris platforms. I have isolated the problem in the 
following example:

resource EnOtraMaquina()
end EnOtraMaquina

resource Main()
   import EnOtraMaquina

   var CapArt, CapManow: cap vm,
       CapArtEOM, CapManowEOM: cap EnOtraMaquina

   printf("Contactando con Arturo.....")
   CapArt := create vm() on "arturo"
   if CapArt ~= null -> printf("OK\n") fi
   
   printf("Contactando con Manowar.....")
   CapManow := create vm() on "manowar"
   if CapManow ~= null -> printf("OK\n") fi

   CapArtEOM := create EnOtraMaquina() on CapArt
   CapManowEOM := create EnOtraMaquina() on CapManow
   
end Main

	where "arturo" is a Sun machine, and "manowar" is a linux one.
rsh works perfectly (.rhosts files are ok) and I can even start remotely
the program from either the other machine with rsh. But, when the
program starts running and create both virtual machines, it fails to
create the remote one, in BOTH CASES (program starts in arturo or
program starts in manowar). The message I get is (with program started
in
arturo):

Contactando con Arturo.....OK
Contactando con Manowar.....[vm 3] RTS abort: connect: Connection
refused
[vm 3] RTS abort: sr_net_send to unknown destination
[vm 1] RTS abort: attempting to create resource on null machine

	I have got no problem running similar programs where the linux machine
is not involved. Note that the connection is just refused (there is no
problem
about finding executable, no srmap file is needed).

	Any suggestion? I must be something very simple, but I don't see it
anywhere :(

- 
                            ****************************************** 		
                            * Jose Antonio Perez Castellanos         *
                            * Dep. Lenguajes y Sistemas Informaticos *
                            * Universidad de Sevilla - SPAIN         *
                            * jperez@lsi.us.es                       *
                            * -------------------------------------- *
                            * The Gods Made Heavy Metal...           *
                            ******************************************

From owner-info-sr  Mon Oct 20 14:14:42 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU (hawk.CS.Arizona.EDU [192.12.69.50])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id OAA29529
	for <info-sr@cheltenham.CS.Arizona.EDU>; Mon, 20 Oct 1997 14:14:42 -0700 (MST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA02219; Mon, 20 Oct 1997 14:14:41 -0700
Date: Mon, 20 Oct 1997 14:14:41 -0700
From: Gregg Townsend <gmt>
Message-Id: <9710202114.AA02219@hawk.CS.Arizona.EDU>
To: info-sr@cs.arizona.edu, jperez@lsi.us.es
Subject: Re:  A problem with SR

All the physical machines used by a particular SR program must be
of the same architecture:  all Sparc/Solaris, or all x86/Linux,
or whatever.  Putting a virtual machine on a different platform
doesn't work.

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246

From owner-info-sr  Thu Oct 30 04:00:38 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id EAA24369
	for <info-sr@cheltenham.cs.arizona.edu>; Thu, 30 Oct 1997 04:00:37 -0700 (MST)
Received: from animal.cs.chalmers.se (root@animal.cs.chalmers.se [129.16.225.30])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id EAA26983
	for <info-sr@cs.arizona.edu>; Thu, 30 Oct 1997 04:00:32 -0700 (MST)
Received: from groob.cs.chalmers.se (groob.cs.chalmers.se [129.16.226.115])
	by animal.cs.chalmers.se (8.8.5/8.8.5) with ESMTP id MAA19061
	for <info-sr@cs.arizona.edu>; Thu, 30 Oct 1997 12:00:27 +0100 (MET)
Date: Thu, 30 Oct 1997 12:00:27 +0100 (MET)
Message-Id: <199710301100.MAA19061@animal.cs.chalmers.se>
Received: by groob.cs.chalmers.se (8.8.7/3.14+gl) id LAA08502; Thu, 30 Oct 1997 11:00:27 GMT
From: Andrew Moran <andrew@cs.chalmers.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: info-sr@cs.arizona.edu
Subject: SRWin for 24bpp X displays?
X-Mailer: VM 6.31 under Emacs 19.34.1
X-Phone: +46 31 772 5407


SRWin (v2.3) seems to work only for 8bpp X displays; has anyone revised it so
that it works equally well for 24bpp X displays?

Cheers,

Andy

From owner-info-sr  Thu Nov  6 17:27:32 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id RAA20703
	for <info-sr@cheltenham.cs.arizona.edu>; Thu, 6 Nov 1997 17:27:32 -0700 (MST)
Received: from valhalla.cs.wright.edu (valhalla.cs.wright.edu [130.108.2.10])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id RAA07339
	for <info-sr@CS.Arizona.EDU>; Thu, 6 Nov 1997 17:27:30 -0700 (MST)
Received: from oai.cs.wright.edu (oai.cs.wright.edu [130.108.16.33])
	by valhalla.cs.wright.edu (8.8.7/8.8.5) with ESMTP id TAA19331
	for <info-sr@CS.Arizona.EDU>; Thu, 6 Nov 1997 19:27:44 -0500 (EST)
Received: from localhost (mjack@localhost)
	by oai.cs.wright.edu (8.8.6/8.8.6) with SMTP id TAA21177
	for <info-sr@CS.Arizona.EDU>; Thu, 6 Nov 1997 19:26:26 -0500 (EST)
X-Authentication-Warning: oai.cs.wright.edu: mjack owned process doing -bs
Date: Thu, 6 Nov 1997 19:26:26 -0500 (EST)
From: Marcel Jackowski <mjack@cs.wright.edu>
To: info-sr@CS.Arizona.EDU
Subject: emacs mode file 
Message-ID: <Pine.OSF.3.96.971106192418.20723A-100000@oai.cs.wright.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Does anybody have a emacs mode file for the SR language ?
I am currently developing some programs for a class I have and
I would be pleased to have the SR syntax highlighted in the
xemacs editor.

Marcel.
mjack@cs.wright.edu


From owner-info-sr  Fri Nov  7 02:48:17 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id CAA15727
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 7 Nov 1997 02:48:16 -0700 (MST)
Received: from alpha.scs.ubbcluj.ro.ubbcluj.ro (alpha.scs.ubbcluj.ro [193.226.40.137])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with SMTP id CAA16785;
	Fri, 7 Nov 1997 02:47:57 -0700 (MST)
Received: from localhost by alpha.scs.ubbcluj.ro.ubbcluj.ro (4.1/SMI-4.1)
	id AA16676; Fri, 7 Nov 97 11:44:41 +0200
Date: Fri, 7 Nov 1997 11:44:37 +0200 (EET)
From: Buda Elena Gabriela <be7222@scs.ubbcluj.ro>
To: info-sr-request@cs.arizona.edu
Cc: sr-project@cs.arizona.edu, info-sr@cs.arizona.edu
Subject: request
Message-Id: <Pine.SUN.3.95.971107113524.16525A-100000@alpha.scs.ubbcluj.ro>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


	My name is Elena-Gabriela Buda. I'm a student in Computer Science
and my graduating paper is based on the SR Programming Language.
	So, I,m very interested to find out any news about this language.
	My e-mail address is : be7222@scs.ubbcluj.ro 
 


From owner-info-sr  Fri Nov  7 06:05:42 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id GAA07665
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 7 Nov 1997 06:05:42 -0700 (MST)
Received: from chalmers.se (chalmers.se [129.16.1.1])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id GAA18926
	for <info-sr@CS.Arizona.EDU>; Fri, 7 Nov 1997 06:05:39 -0700 (MST)
Received: from quarl0.etek.chalmers.se (quarl0.etek.chalmers.se [129.16.32.20])
	by chalmers.se (8.8.7/8.8.5) with SMTP id OAA02582
	for <info-sr@CS.Arizona.EDU>; Fri, 7 Nov 1997 14:05:37 +0100 (MET)
Received: from quarl103 by quarl0.etek.chalmers.se (6.14 (VSB)/3.14+gl) id AA19425; Fri, 7 Nov 97 14:05:36 +0100
Received: from quarl103 by quarl103.etek.chalmers.se (8.6.9/3.14+gl) id OAA26642; Fri, 7 Nov 1997 14:05:35 +0100
Sender: e3jonas@etek.chalmers.se
Message-Id: <3463121F.167E@etek.chalmers.se>
Date: Fri, 07 Nov 1997 14:05:35 +0100
From: Jonas Arndt <e3jonas@etek.chalmers.se>
Organization: Chalmers University of Technology
X-Mailer: Mozilla 3.0 (X11; I; OSF1 V4.0 alpha)
Mime-Version: 1.0
To: info-sr@CS.Arizona.EDU
Subject: sco open sever
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello! I'm trying to compile the SR-compiler on my pentium. I'm running
Sco open server on it. If I look in the file Systems it doesn't say
anything about my system.
When I try with "make" I get some errors in "asm.c".

Is there anyone who has tried this and actually made it work?

Yours sincerely

Jonas

From owner-info-sr  Fri Nov  7 13:58:00 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU (hawk.CS.Arizona.EDU [192.12.69.50])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id NAA11234
	for <info-sr@cheltenham.CS.Arizona.EDU>; Fri, 7 Nov 1997 13:58:00 -0700 (MST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA06746; Fri, 7 Nov 1997 13:57:59 -0700
Date: Fri, 7 Nov 1997 13:57:59 -0700
From: Gregg Townsend <gmt>
Message-Id: <9711072057.AA06746@hawk.CS.Arizona.EDU>
To: mjack@cs.wright.edu
Subject: Re:  emacs mode file
Cc: info-sr

    From: Marcel Jackowski <mjack@cs.wright.edu>
    
    Does anybody have a emacs mode file for the SR language ?
    

There's an "sr-mode.el" file at the top level of the SR source 
distribution.  I don't have any personal experience with it.

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246


From owner-info-sr  Fri Nov  7 14:05:37 1997
Return-Path: <gmt>
Received: from hawk.CS.Arizona.EDU (hawk.CS.Arizona.EDU [192.12.69.50])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id OAA11349
	for <info-sr@cheltenham.CS.Arizona.EDU>; Fri, 7 Nov 1997 14:05:37 -0700 (MST)
Received: by hawk.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
	id AA05427; Fri, 7 Nov 1997 14:05:36 -0700
Date: Fri, 7 Nov 1997 14:05:36 -0700
From: Gregg Townsend <gmt>
Message-Id: <9711072105.AA05427@hawk.CS.Arizona.EDU>
To: be7222@scs.ubbcluj.ro, info-sr
Subject: Re:  request

General information about SR can be found at its Web page:

	http://www.cs.arizona.edu/sr/

Follow the "documentation" link for more information.  A 12-page overview
in PostScript form is available for downloading.  More documentation comes
in the SR distribution, and of course the SR book by Andrews & Olsson is
the authoritative reference for the language.

   ---------------------------------------------------------------------------
   Gregg Townsend              Gould-Simpson Building   gmt@cs.arizona.edu
   Staff Scientist             1040 E. 4th St.          32 13 45N  110 57 16W
   Dept. of Computer Science   PO Box 210077            tel: +1 520 621 4325
   The University of Arizona   Tucson, AZ  85721-0077   fax: +1 520 621 4246

From owner-info-sr  Sat Nov  8 04:58:40 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id EAA14417
	for <info-sr@cheltenham.cs.arizona.edu>; Sat, 8 Nov 1997 04:58:39 -0700 (MST)
Received: from hermes.ex.ac.uk (hermes.ex.ac.uk [144.173.6.14])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with SMTP id EAA14688
	for <info-sr@cs.arizona.edu>; Sat, 8 Nov 1997 04:58:37 -0700 (MST)
Received: from atlas [144.173.14.11] by hermes via SMTP (LAA13148); Sat, 8 Nov 1997 11:56:01 GMT
Received: from dart.dcs.exeter.ac.uk by atlas.dcs.exeter.ac.uk; Sat, 8 Nov 97 11:56:01 GMT
Date: Sat, 8 Nov 1997 11:56:01 GMT
Message-Id: <5848.199711081156@dart.dcs.exeter.ac.uk>
From: Stephen Turner <steve@atlas.ex.ac.uk>
To: gmt@cheltenham.cs.arizona.edu
Cc: mjack@cs.wright.edu, info-sr@cs.arizona.edu
In-Reply-To: <9711072057.AA06746@hawk.CS.Arizona.EDU> (message from Gregg
	Townsend on Fri, 7 Nov 1997 13:57:59 -0700)
Subject: Re: emacs mode file
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII


>>>>> "Gregg" == Gregg Townsend <gmt@cheltenham.cs.arizona.edu> writes:

> There's an "sr-mode.el" file at the top level of the SR source
> distribution.  I don't have any personal experience with it.

The sr-mode.el file in the SR distribution was written
in 1989 and corresponds to version 1.1 of the SR language
(e.g. it does not recognise keywords such as procedure).

If anyone has updated it, I would also be interested.

Steve

-------------------------------------------------------------------------------
Stephen J. Turner			   |  Parallel Systems Laboratory
Email: steve@dcs.exeter.ac.uk   	   |  Department of Computer Science
WWW:   http://www.dcs.exeter.ac.uk/~steve  |  University of Exeter
Fax:   +44 1392 264067			   |  Prince of Wales Road
Tel:   +44 1392 264048			   |  Exeter EX4 4PT England
-------------------------------------------------------------------------------

From owner-info-sr  Sun Nov  9 23:54:26 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id XAA27367
	for <info-sr@cheltenham.cs.arizona.edu>; Sun, 9 Nov 1997 23:54:25 -0700 (MST)
Received: from chalmers.se (chalmers.se [129.16.1.1])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id XAA17711
	for <info-sr@cs.arizona.edu>; Sun, 9 Nov 1997 23:54:23 -0700 (MST)
Received: from quarl0.etek.chalmers.se (quarl0.etek.chalmers.se [129.16.32.20])
	by chalmers.se (8.8.7/8.8.5) with SMTP id HAA22674
	for <info-sr@cs.arizona.edu>; Mon, 10 Nov 1997 07:54:21 +0100 (MET)
Received: from quarl103 by quarl0.etek.chalmers.se (6.14 (VSB)/3.14+gl) id AA06250; Mon, 10 Nov 97 07:54:20 +0100
Received: from quarl103 by quarl103.etek.chalmers.se (8.6.9/3.14+gl) id HAA09554; Mon, 10 Nov 1997 07:54:19 +0100
Sender: e3jonas@etek.chalmers.se
Message-Id: <3466AF9B.41C6@etek.chalmers.se>
Date: Mon, 10 Nov 1997 07:54:19 +0100
From: Jonas Arndt <e3jonas@etek.chalmers.se>
Organization: Chalmers University of Technology
X-Mailer: Mozilla 3.0 (X11; I; OSF1 V4.0 alpha)
Mime-Version: 1.0
To: info-sr <info-sr@cs.arizona.edu>
Subject: Sco open server
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello

I'm trying to built the SR-compiler under Sco Open Server wich is
running on my pentium at home.

When I come to: "cc -g -E asm.c | ... > asm.s"  it's okay. But after
that when running the assambler: "as -o asm.o asm.s" I get an error
message like "bad register value in line 18, line 30, line 33, ... in
asm.s"

Is it possible, without being a guru in unix and c, to build the
SR-compiler under Sco or should I try get a copy of Linux instead.
It would be great if someone who actually has SR running under Sco could
either tell me how to make it work or mail me a copy of the binaries.

Jonas

From owner-info-sr  Fri Nov 14 03:20:49 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id DAA08088
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 14 Nov 1997 03:20:48 -0700 (MST)
Received: from mail.dcs.warwick.ac.uk (root@guardian.dcs.warwick.ac.uk [137.205.224.93])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id DAA12115
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 03:20:37 -0700 (MST)
Received: from tamarind (esuci@tamarind [137.205.224.86])
	by mail.dcs.warwick.ac.uk (8.8.7/8.8.7) with SMTP id KAA01223
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 10:19:49 GMT
Date: Fri, 14 Nov 1997 10:19:47 +0000 (GMT)
From: Michael P Stevens <esuci@dcs.warwick.ac.uk>
X-Sender: esuci@tamarind
To: info-sr@cs.arizona.edu
Subject: Re: emacs mode file
In-Reply-To: <5848.199711081156@dart.dcs.exeter.ac.uk>
Message-ID: <Pine.GSO.3.96.971114101805.13221C-100000@tamarind>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sat, 8 Nov 1997, Stephen Turner wrote:

> > There's an "sr-mode.el" file at the top level of the SR source
> > distribution.  I don't have any personal experience with it.
> The sr-mode.el file in the SR distribution was written
> in 1989 and corresponds to version 1.1 of the SR language
> (e.g. it does not recognise keywords such as procedure).
> 
> If anyone has updated it, I would also be interested.

I'd be interested in attempting to update it. Is there a good source of
documentation on the differences in syntax between the current sr 2.3.1
and sr 1.1?

-- 
I've picked up bad habits after watching people in the Fysh Bowl.
                           - Steve Matthews, CPC 1993-1995, 1996-1998,
                                            and Func. Prog. 1993-1995


From owner-info-sr  Fri Nov 14 04:48:40 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id EAA24875
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 14 Nov 1997 04:48:39 -0700 (MST)
Received: from toadflax.cs.ucdavis.edu (toadflax.cs.ucdavis.edu [128.120.56.188])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with SMTP id EAA13049
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 04:48:37 -0700 (MST)
Received: from elysium.cs.ucdavis.edu by toadflax.cs.ucdavis.edu (4.1/UCD.CS.2.6)
	id AA12259; Fri, 14 Nov 97 03:48:35 PST
Received: from localhost.cs.ucdavis.edu by elysium.cs.ucdavis.edu (5.65/UCD.CS.2.6)
	id AA14758; Fri, 14 Nov 1997 03:48:14 -0800
Message-Id: <9711141148.AA14758@elysium.cs.ucdavis.edu>
To: Michael P Stevens <esuci@dcs.warwick.ac.uk>
Cc: info-sr@cs.arizona.edu
Subject: Re: emacs mode file 
Date: Fri, 14 Nov 97 03:48:14 -0800
From: Greg Benson <benson@cs.ucdavis.edu>
X-Mts: smtp


On Fri, 14 Nov 97 10:19:47 GMT esuci@dcs.warwick.ac.uk wrote:

> I'd be interested in attempting to update it. Is there a good source of
> documentation on the differences in syntax between the current sr 2.3.1
> and sr 1.1?

If you decide to update sr mode, consider adding font-lock support.

Greg

From owner-info-sr  Fri Nov 14 05:18:35 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA05079
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 14 Nov 1997 05:18:34 -0700 (MST)
Received: from mail.dcs.warwick.ac.uk (root@guardian.dcs.warwick.ac.uk [137.205.224.93])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA13380
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 05:18:30 -0700 (MST)
Received: from tamarind (esuci@tamarind [137.205.224.86])
	by mail.dcs.warwick.ac.uk (8.8.7/8.8.7) with SMTP id MAA04243;
	Fri, 14 Nov 1997 12:18:05 GMT
Date: Fri, 14 Nov 1997 12:18:03 +0000 (GMT)
From: Michael P Stevens <esuci@dcs.warwick.ac.uk>
X-Sender: esuci@tamarind
Reply-To: Michael P Stevens <esuci@dcs.warwick.ac.uk>
To: Greg Benson <benson@cs.ucdavis.edu>
cc: info-sr@cs.arizona.edu
Subject: Re: emacs mode file 
In-Reply-To: <9711141148.AA14758@elysium.cs.ucdavis.edu>
Message-ID: <Pine.GSO.3.96.971114120356.14118F-100000@tamarind>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 14 Nov 1997, Greg Benson wrote:

> > I'd be interested in attempting to update it. Is there a good source of
> > documentation on the differences in syntax between the current sr 2.3.1
> > and sr 1.1?
> If you decide to update sr mode, consider adding font-lock support.

I have hilit19 sr support, written by another local user. Would that be
helpful? I'm currently looking into trying to port that support to
font-lock.

-- 
I should've been a vicar
                           - Steve Matthews, CPC 1993-1995, 1996-1998,
                                            and Func. Prog. 1993-1995



From owner-info-sr  Fri Nov 14 11:50:57 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id LAA14515
	for <info-sr@cheltenham.cs.arizona.edu>; Fri, 14 Nov 1997 11:50:57 -0700 (MST)
Received: from mail.dcs.warwick.ac.uk (guardian.dcs.warwick.ac.uk [137.205.224.93])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id LAA21196
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 11:50:53 -0700 (MST)
Received: from flivoreuse (esuci@flivoreuse [137.205.224.117])
	by mail.dcs.warwick.ac.uk (8.8.7/8.8.7) with SMTP id SAA15147
	for <info-sr@cs.arizona.edu>; Fri, 14 Nov 1997 18:50:13 GMT
Date: Fri, 14 Nov 1997 18:50:10 +0000 (GMT)
From: Michael P Stevens <esuci@dcs.warwick.ac.uk>
X-Sender: esuci@flivoreuse
To: info-sr@cs.arizona.edu
Subject: Re: emacs mode file 
In-Reply-To: <Pine.GSO.3.96.971114120356.14118F-100000@tamarind>
Message-ID: <Pine.GSO.3.96.971114184233.26548E-100000@flivoreuse>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 14 Nov 1997, Michael P Stevens wrote:

> > > I'd be interested in attempting to update it. Is there a good source of
> > > documentation on the differences in syntax between the current sr 2.3.1
> > > and sr 1.1?
> > If you decide to update sr mode, consider adding font-lock support.
> I have hilit19 sr support, written by another local user. Would that be
> helpful? I'm currently looking into trying to port that support to
> font-lock.

Following up on my own post, after spending most of the day learning how
to use font-lock, and discovering that the original mode I had wasn't as
nice as I thought, I'm now ready to release a alpha version of font-lock
support to the general public. It's on the web at
http://www.dcs.warwick.ac.uk/~esuci/sr-font-lock.tar.gz

You should put the file hilit-sr-font-lock.el in your emacs load-path
somewhere. To use this file, you should simply use something like:
(load-library "hilit-sr-font-lock")

This assumes that you already have sr-mode automatically loaded for all
your sr files, and that you will be turning on font-lock mode in sr files
by yourself - it doesn't do it for you. 
	You can turn it on yourself with something like:
(add-hook 'sr-mode-hook 'my-sr-mode-hook)
(defun my-sr-mode-hook ()
  (interactive)
  (turn-on-font-lock)
  )

You probably won't get most of the decoration unless you also do 
(setq font-lock-maximum-decoration t) 
or some equivalent. 

All these commands should be put in your .emacs file or it's equivalent.
Given the fact that I only converted it to font-lock today, I would in no
way be suprised to hear of problems with this. I'd appreciate hearing
about any problems people have. 

-- 
Shall we change the subject to finite automata? ... No ...
                           - Steve Matthews, CPC 1993-1995, 1996-1998,
                                            and Func. Prog. 1993-1995


From owner-info-sr  Mon Dec  8 09:46:33 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id JAA05838
	for <info-sr@cheltenham.cs.arizona.edu>; Mon, 8 Dec 1997 09:46:30 -0700 (MST)
Received: from prawn.dcs.warwick.ac.uk (esuci@prawn.dcs.warwick.ac.uk [137.205.227.131])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id JAA24485
	for <info-sr@cs.arizona.edu>; Mon, 8 Dec 1997 09:46:04 -0700 (MST)
Received: (from esuci@localhost)
	by prawn.dcs.warwick.ac.uk (8.8.7/8.8.7) id QAA09988
	for info-sr@cs.arizona.edu; Mon, 8 Dec 1997 16:45:52 GMT
Message-Id: <199712081645.QAA09988@prawn.dcs.warwick.ac.uk>
Subject: Re: emacs mode file
In-Reply-To: <Pine.GSO.3.96.971114184233.26548E-100000@flivoreuse> from Michael P Stevens at "Nov 14, 97 06:50:10 pm"
To: info-sr@cs.arizona.edu
Date: Mon, 8 Dec 1997 16:45:52 +0000 (GMT)
From: Michael Stevens <michael@rmta.org>
X-Cabal: there is no cabal.
X-Mailer: ELM [version 2.4ME+ PL35 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Michael P Stevens wrote:
> On Fri, 14 Nov 1997, Michael P Stevens wrote:
> Following up on my own post, after spending most of the day learning how
> to use font-lock, and discovering that the original mode I had wasn't as
> nice as I thought, I'm now ready to release a alpha version of font-lock
> support to the general public. It's on the web at
> http://www.dcs.warwick.ac.uk/~esuci/sr-font-lock.tar.gz


Following up on the last post, I later integrated the font-lock support
with sr-mode.el, and added some basic support for sr 2 keywords. I know
at least one person has downloaded and used this package successfully, and
I'd like to announce it to this list in the hope that I can get some feedback
on use, problems, and both highlighting and indentation problems with the
mode. It's still at the same location, but the file now contains an updated
sr-mode.el.It should still however be considered alpha, although I currently
use it for my sr programming.


From owner-info-sr  Wed Dec 10 05:49:02 1997
Return-Path: <owner-info-sr@cheltenham.cs.arizona.edu>
Received: from optima.cs.arizona.edu (optima.CS.Arizona.EDU [192.12.69.5])
	by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA25710
	for <info-sr@cheltenham.cs.arizona.edu>; Wed, 10 Dec 1997 05:49:02 -0700 (MST)
Received: from rufus.comms.unsw.EDU.AU (rufus.comms.unsw.EDU.AU [129.94.60.10])
	by optima.cs.arizona.edu (8.8.7/8.8.7) with ESMTP id FAA11744
	for <info-sr@cs.arizona.edu>; Wed, 10 Dec 1997 05:48:59 -0700 (MST)
Received: from ptc (maxX15199.servers.unsw.EDU.AU [129.94.15.199]) by rufus.comms.unsw.EDU.AU (8.8.5/8.7.5.kenso-central) with SMTP id XAA12593 for <info-sr@cs.arizona.edu>; Wed, 10 Dec 1997 23:48:55 +1100 (EST)
From: "Po-Tsang Chiu" <pc@student.unsw.edu.au>
To: <info-sr@cs.arizona.edu>
Subject: problem installing SR on linux
Date: Wed, 10 Dec 1997 23:49:32 +1100
Message-ID: <01bd056a$100cf9c0$c70f5e81@ptc>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3

I am having problem trying to install SR on my slackware linux box, can
someone tell me what the problem is?
I get the following messages when I try to compile it.


% make all
.....
make[1]: Entering directory `/tmp/sr'
cc -g     -c tokens.c -o tokens.o
cc -g     -c errors.c -o errors.o
errors.c: In function `yyerror':
errors.c:58: conflicting types for `yylval'
tokens.h:137: previous declaration of `yylval'
make[1]: *** [errors.o] Error 1
make[1]: Leaving directory `/tmp/sr'
make: *** [all] Error 2

===================================
Edison Po-Tsang Chiu
pc@student.unsw.edu.au
s2206097@cse.unsw.edu.au
===================================



