The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Data structures in Unix editors
@ 2021-03-31 17:39 David C. Brock
  2021-03-31 18:07 ` arnold
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: David C. Brock @ 2021-03-31 17:39 UTC (permalink / raw)
  To: tuhs

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

All of the great discussion on this list about editors has made me curious about the data structures used in the various Unix editors.

I found a great discussion of this for sam in Rob Pike’s publication “The Text Editor sam.”

I’d like to read similar discussions of the data structures for ed, em, ex/vi. If anyone has suggestions of references, they would be very welcome!

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.

All the best,

David
...........
David C. Brock
Director and Curator
Software History Center
Computer History Museum
computerhistory.org/softwarehistory<http://computerhistory.org/softwarehistory>
Email: dbrock@computerhistory.org
Twitter: @dcbrock
Skype: dcbrock
1401 N. Shoreline Blvd.
Mountain View, CA 94943
(650) 810-1010 main
(650) 810-1886 direct
Pronouns: he, him, his



[-- Attachment #2: Type: text/html, Size: 4356 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [TUHS] Data structures in Unix editors
@ 2021-04-01 20:12 Noel Chiappa
  2021-04-01 20:57 ` John Cowan
  0 siblings, 1 reply; 15+ messages in thread
From: Noel Chiappa @ 2021-04-01 20:12 UTC (permalink / raw)
  To: arnold, dbrock, tuhs; +Cc: jnc

    > 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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-04-05 23:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 17:39 [TUHS] Data structures in Unix editors 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
2021-04-01 20:12 Noel Chiappa
2021-04-01 20:57 ` John Cowan

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).