The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
To: arnold@skeeve.com, dbrock@computerhistory.org, tuhs@minnie.tuhs.org
Cc: jnc@mercury.lcs.mit.edu
Subject: Re: [TUHS] Data structures in Unix editors
Date: Thu,  1 Apr 2021 16:12:11 -0400 (EDT)	[thread overview]
Message-ID: <20210401201211.97D7B18C073@mercury.lcs.mit.edu> (raw)

    > From: David C. Brock

    > I'd like to read similar discussions of the data structures for ed, em,
    > ex/vi. ... Similarly, if there are any pointers to references on some
    > other data structures in editors like TECO, QED and E, I'd welcome them
    > as well.

I don't have any discussions I can point you at, but I do have source - for
two things which are somewhat older than most of the ones you mention
(ex/vi/etc).

The first is a TECO from the fourth floor V6 machine (DSSR/RTS) at Tech Sq at
MIT:

  http://ana-3.lcs.mit.edu/~jnc/tech/unix/teco

There's some rudimentary documentation in there, in teco.doc, but don't expect
too much. You'll have to rely on the source, which is in MACRO-11 - but it
seems to be reasonably well commented. This actually predates V6; it was
originally written for an MIT OS called DELPHI, which ran on an -11/45 which
was the main EECS undergrad machine. At some point (probably post the Unix
port), it was modified to have '^R mode', which was a WYSIWYG display mode a
lot like the one in the ITS TECO in which EMACS was first written.

I have also put up the Montgomery Emacs for Unix:

  http://ana-3.lcs.mit.edu/~jnc/tech/unix/emacs

This is the version we were running on the 5th floor MIT V6 machine (CSR),
which by that point have absorbed a few V7isms (e.g. some ioctl() stuff). So
don't expect to be able to compile and run it, without a fair amount of
work. (I vaguely recall that it needs I+D space, so maybe not on a /23 at
all.) But at least the source is in C, so you can read it. I don't think
there's an un-modified version online (i.e. the original Montgomery source),
alas.

	Noel

             reply	other threads:[~2021-04-01 20:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 20:12 Noel Chiappa [this message]
2021-04-01 20:57 ` John Cowan
  -- strict thread matches above, loose matches on Subject: below --
2021-03-31 17:39 David C. Brock
2021-03-31 18:07 ` arnold
2021-03-31 18:23   ` Richard Salz
2021-03-31 18:20 ` Lars Brinkhoff
2021-03-31 18:49 ` Bakul Shah
2021-04-01 12:56 ` Tony Finch
2021-04-01 14:24   ` Richard Salz
2021-04-01 21:25   ` Dave Horsfall
2021-04-01 21:32     ` John Cowan
2021-04-02 22:40       ` Dave Horsfall
2021-04-02 23:20         ` Adam Thornton
2021-04-03  0:34           ` Jon Forrest
2021-04-05 23:23   ` Mary Ann Horton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210401201211.97D7B18C073@mercury.lcs.mit.edu \
    --to=jnc@mercury.lcs.mit.edu \
    --cc=arnold@skeeve.com \
    --cc=dbrock@computerhistory.org \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).