From sentto-2719433-46-1011887839-gtoal=vt.com@returns.groups.yahoo.com  Thu Jan 24 09:51:29 2002
Received: from n20.groups.yahoo.com (n20.groups.yahoo.com [216.115.96.70]) by admin.vt.com (8.8.5/8.7.3) with SMTP id JAA06139 for <gtoal@vt.com>; Thu, 24 Jan 2002 09:51:28 -0600 (CST)
X-eGroups-Return: sentto-2719433-46-1011887839-gtoal=vt.com@returns.groups.yahoo.com
Received: from [216.115.97.190] by n20.groups.yahoo.com with NNFMP; 24 Jan 2002 15:47:10 -0000
X-Sender: harry.whitfield@ncl.ac.uk
X-Apparently-To: edinburgh-computer-history@yahoogroups.com
Received: (EGP: mail-8_0_1_3); 24 Jan 2002 15:57:18 -0000
Received: (qmail 59107 invoked from network); 24 Jan 2002 15:57:18 -0000
Received: from unknown (216.115.97.171)
  by m4.grp.snv.yahoo.com with QMQP; 24 Jan 2002 15:57:18 -0000
Received: from unknown (HELO cheviot1.ncl.ac.uk) (128.240.233.15)
  by mta3.grp.snv.yahoo.com with SMTP; 24 Jan 2002 15:57:18 -0000
Received: from burnmoor.ncl.ac.uk (burnmoor.ncl.ac.uk [128.240.233.53])
	by cheviot1.ncl.ac.uk (8.10.1/8.10.1) with ESMTP id g0OFudF04574
	for <edinburgh-computer-history@yahoogroups.com>; Thu, 24 Jan 2002 15:56:39 GMT
Received: from [128.240.1.181] (black52.ncl.ac.uk [128.240.1.181])
	by burnmoor.ncl.ac.uk (8.9.3/8.9.3) with ESMTP id PAA29596
	for <edinburgh-computer-history@yahoogroups.com>; Thu, 24 Jan 2002 15:56:35 GMT
X-Sender: nhw@burnmoor.ncl.ac.uk
Message-Id: <a05100301b875d4a14dab@[128.240.1.153]>
In-Reply-To: <00f901c1a4df$762b0e40$0200a8c0@gonzales>
References: <000e01c1a382$d07fd8c0$82db87d9@oemcomputer>
 <00f901c1a4df$762b0e40$0200a8c0@gonzales>
To: edinburgh-computer-history@yahoogroups.com
X-ECS-MailScanner: Scanned successfully
From: Harry Whitfield <harry.whitfield@ncl.ac.uk>
MIME-Version: 1.0
Mailing-List: list edinburgh-computer-history@yahoogroups.com; contact edinburgh-computer-history-owner@yahoogroups.com
Delivered-To: mailing list edinburgh-computer-history@yahoogroups.com
Precedence: bulk
List-Unsubscribe: <mailto:edinburgh-computer-history-unsubscribe@yahoogroups.com>
Date: Thu, 24 Jan 2002 15:55:32 +0000
Subject: [ed-comp-hist] Ecce Sources and Objects
Reply-To: edinburgh-computer-history@yahoogroups.com
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Status: RO

Here follow extracts from two messages sent in July/August 2001.

First message:
-------------------------------------------------------------------------------
There have been dozens of versions of ecce over the years. I have most recently made versions for the Macintosh, both as a native application and as an extension to run within BBEdit (my favourite editor on the Mac).

The version that I run on

Sun Microsystems Inc. SunOS 5.7 Generic October 1998

is based on Pascal source.

You will find the source and manual page in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce/ecce.pas

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce/ecce.doc

The calling shell-script and SunOS 5.7 binary are in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce/bin/ecce

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce/bin/ecce1


Source for my Macintosh C/C++ version 3.5 is in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce.c


Source for my C/C++ Linux version 3.3 is in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce.cp


There is a general manual page in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce.txt


There is a (Classic) Macintosh application (Version 2.01) based on Pascal source in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/ecce.sea.hqx


There are (Classic) Macintosh BBEdit extensions (including Ecce) in

http://www.cs.ncl.ac.uk/people/harry.whitfield/home.formal/BBXTs.sea.hqx
-------------------------------------------------------------------------------



Second message:
-------------------------------------------------------------------------------
These versions are based on versions of ecce that date from the mid to late sixties.

(From the man page):

      H. Whitfield, Computing Laboratory, University  of  Newcastle
      upon Tyne, NE1 7RU. This editor  is based upon older versions
      by H. Dewar and others of the Department of Computer Science,
      University of Edinburgh.

The original version was probably written in IMP (a development from Atlas Autocode). Over the years I (and others) have produced versions coded in various programming languages including Algol 60, Fortran, Pascal, C/C++ etc.

The main advantage of ecce was that it was easy to port to a new machine, and could often be got to work first time, so that one did not need to learn a new editor.

Over the years, the people at Edinburgh made other versions, including versions that worked on VDUs and provided a multi-line display format.

I don't know whether any of those versions still exist.

I have made versions for my own use on Unix and the Macintosh. As ecce does not have a modern GUI, I tend to use it (on the Mac) within BBEdit rather than as a stand-alone application.

In answer to your specific questions:

>1. I cannot edit file1 into file2 using "ecce file1 file2"

The basic ecce program compiled into ecce1 does just that!

So you could say ecce1 file1 file2

The shell program in ecce wraps  ecce1 up so that you can do

ecce file1 to make a new file1 or edit an old file1 to produce a new file1 but keep the old version in file1.bak.

You can change the shell to do whatever you like, including

the execution of ecce commands on the command line as in

ecce file1 file2 %s=some_commands

If you are not familiar with shell programming, I'm sure your local Unix guru would be able to help.

>2. I can't see how to exit without saving

I don't think there is a way to do that in my version of ecce1.

That is because the program works by copying the input file into an internal buffer and pushing data to the output file when the internal buffer gets full. If you edit a file which is longer than the internal buffer, the program will have written data to the output file. So you have to do %c to get a consistent state.

You could make the internal buffer bigger, if you wished, but the problem could still occur.

You could alter the shell to edit a copy of your file. If you used ^C to abort the operation, the original file would still be there.

>3. The "^" copy/paste system isn't there, (eg. the sequence below would
>copy the first 3 characters of each line to the end of the line:)
>>(^r3^ r0 i@ m)0

It never has been in versions I've seen. That must have come along later.

>4. There's no %h help

True. That wasn't in the original version of ecce, either! However, the  manual page probably tells you all you need to know. %h would be easy enough to do, but hardly worth it.

>5. I used to be able to invoke ecce to run with some commands with (I
>think):
> >ecce file1 file2 %s=some_commands

See above. Should be possible with a modified calling shell program.

>   Is this all down to some special version of ecce I had been using
>previously, or are these sorts of things present but under different
>syntax?

I suspect that you have been using a later version of ecce, which has been embellished.

The copy/paste would require some thought and a program change, and I've not done anything major with ecce for years, so I'd be reluctant to start on that.

The other things you ask about could be achieved by having a cleverer shell calling program. That is an exercise for the reader (or your Unix guru).
-------------------------------------------------------------------------------

Needless to say, I have no objection to these programs being copied and/or used subject to the condition that users do so entirely at their own risk.

Kind regards,

Harry.

-- 
Emeritus Professor Harry Whitfield, Department of Computing Science,
University of Newcastle, Newcastle upon Tyne, NE1 7RU, UK.
http://www.cs.ncl.ac.uk/~harry.whitfield

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE credit report with a FREE CreditCheck
Monitoring Service trial
http://us.click.yahoo.com/ACHqaB/bQ8CAA/ySSFAA/9rHolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
edinburgh-computer-history-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


