[ih] Hourglass model question
Steve Crocker
steve at shinkuro.com
Sat Jul 6 09:21:43 PDT 2019
Dave,
Perhaps you can fill in some missing pieces for me. Larry Roberts did
indeed write RD, a set of TECO macros that implemented a mail user agent.
What I'm not clear about is where it fit in the chronology of mail
software. When Roberts wrote RD, the major parts of mail were working.
His program dealt a file that contained all of the mail that had
accumulated in the inbox, or whatever corresponded to the inbox. I'm not
sure we had separate folders in those days. In any case, mail was already
being created and sent before he wrote RD. So one of my questions is how
much had been built and was working before he wrote RD, and my next
question is why he had to write RD instead of using whatever was available
before.
His version of RD had a serious performance problem. He injected the
entire file of messages into a TECO buffer and then had various commands
for navigating within the buffer. The format of messages included a count
of the number of characters in the message, but the count differed from the
number of characters the message occupied in the TECO buffer. The
discrepancy arose because the count in the header treated a new line as a
single character, but in theTECO buffer each new line took two characters,
one for carriage return and one for line feed. (I may have this backwards,
but it doesn't matter. The key point is the count in the header differed
from the actual number of characters in buffer.)
Roberts' macro for moving from one message to the next ignored the count in
the header and laboriously scanned a character at a time until it got to
the next message.
I was quite facile with TECO at the time. I had previously built myself a
set of macros for managing a set of macros. A sort of loader macro that
took a set of macros and stuffed them into their appropriate buffers. This
made it easy to develop and maintain a set of TECO macros.
To speed up his program, I changed his scanning code to move a line at a
time and then adjust the count. I suspect the speed up was on the order of
twenty to forty times as fast.
Steve
On Sat, Jul 6, 2019 at 11:54 AM Dave Crocker <dhc at dcrocker.net> wrote:
> On 7/6/2019 4:08 AM, Vint Cerf wrote:
> > many mourn the demise of TECO....
>
>
> Most folk probably don't know that the first Mail User Agent (MUA) which
> enabled manipulating individual emails, was written by Larry Roberts,
> while at ARPA, as a set of TECO macros. (Steve can elaborate, including
> on his own role for that.)
>
> A reimplementation and enhancement effort produced John Vittal's MSG,
> which became widely popular. It was also the first occurrence of
> forwarding and replying commands.
>
>
> d/
> --
> Dave Crocker
> Brandenburg InternetWorking
> bbiw.net
> _______
> internet-history mailing list
> internet-history at postel.org
> http://mailman.postel.org/mailman/listinfo/internet-history
> Contact list-owner at postel.org for assistance.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://elists.isoc.org/pipermail/internet-history/attachments/20190706/a1a4134d/attachment.htm>
More information about the Internet-history
mailing list