From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7829 invoked from network); 1 Apr 2021 20:31:32 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 1 Apr 2021 20:31:32 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 546369CA4F; Fri, 2 Apr 2021 06:31:22 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 2240B9C9F2; Fri, 2 Apr 2021 06:30:31 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 140459C9A8; Fri, 2 Apr 2021 06:30:29 +1000 (AEST) X-Greylist: delayed 1096 seconds by postgrey-1.36 at minnie.tuhs.org; Fri, 02 Apr 2021 06:30:28 AEST Received: from mercury.lcs.mit.edu (mercury.lcs.mit.edu [18.26.0.122]) by minnie.tuhs.org (Postfix) with ESMTPS id 8B3259C8A5 for ; Fri, 2 Apr 2021 06:30:28 +1000 (AEST) Received: by mercury.lcs.mit.edu (Postfix, from userid 11178) id 97D7B18C073; Thu, 1 Apr 2021 16:12:11 -0400 (EDT) To: arnold@skeeve.com, dbrock@computerhistory.org, tuhs@minnie.tuhs.org Message-Id: <20210401201211.97D7B18C073@mercury.lcs.mit.edu> Date: Thu, 1 Apr 2021 16:12:11 -0400 (EDT) From: jnc@mercury.lcs.mit.edu (Noel Chiappa) Subject: Re: [TUHS] Data structures in Unix editors X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jnc@mercury.lcs.mit.edu Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" > 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