From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 75e66a20 for ; Mon, 10 Feb 2020 15:07:05 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 966139BD08; Tue, 11 Feb 2020 01:07:03 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 5A7B99BCEB; Tue, 11 Feb 2020 01:06:35 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e5VtQbjq"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id BA02F9BCE8; Tue, 11 Feb 2020 01:06:32 +1000 (AEST) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by minnie.tuhs.org (Postfix) with ESMTPS id 36DE09BCE3 for ; Tue, 11 Feb 2020 01:06:32 +1000 (AEST) Received: by mail-qv1-f54.google.com with SMTP id s7so3293134qvn.8 for ; Mon, 10 Feb 2020 07:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s/NlXdGbimicKMmqF9d1zYi+wR6Lk1coIOLpt61AUWg=; b=e5VtQbjqaeCCycsMLyz/sFplS18OOdnT9WBIYfIStQ1RT9280cf8NjAH5gE9Q/Z446 jdH2kfWS3Y8h4TEKZN2vddutibO212YtsFWRcALqcXan6sSnZm0DpXAwMNRshcn5Re/X BzFY63U7O46TDAoe8Z8NbR5qRzY+TxwQ6fuji5Sz9gYMYf+bLYirG1oSTjYj+rjTFmRQ ObmjRwi25Ak7zzL/7Yy9ADmymLNDATGA2V98Cb4hpSs8DKs5NkWaS+mqvK8HoRXKqkPH J5c7Fia7aQ79duVmq/cABf+ywAXMIVOALW1fNaPTdHk3xjjryIdAFxI9nj9WT6+Ac5Z6 SocA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s/NlXdGbimicKMmqF9d1zYi+wR6Lk1coIOLpt61AUWg=; b=D9Kba9qtCFtHATXDmOmKB1lhvWQLa8Ti0UGBv6J5lToAJYiKZePbQVc4VrM5DEXHG0 Zz43aetjBzAKbrj3CHWa5HOEkDNF62llxt+KoWJWqtd1PQeJifT9jCH3XjMk0YPZa0fl ny58oqUfzFipCqEqdlDNJTVYcjYaLZmJxMsPJjc0eooKEy0zWER1bUBP9THSxBWTcVTO L6/Da+Re6kCJfT2TwQ1Ou0WE1vxoOpnPHVYeR7NRySmkaBigI4SlRZj8/Tx08/j01V2a MCajnOiRJQkbY2umkr+wuV2ji8RLURw93VSAa36gVJ9S9T6uQHGGrdvx08q2HkBPxJFY W+SA== X-Gm-Message-State: APjAAAXJGa9sEv32M5XinS0qO8YX7QToIvdHSGQazQCv0x8Iz3EPnKny tDeYoGo/+L0Kt0dnPl6Ux0G344emGDHHDjqkul5wipLOyvI= X-Google-Smtp-Source: APXvYqwJeGlo9YzUmj17uEKe+wqAuhhE9K+NB0SazTIUTnsOtYI6VHWEJYoni0Ev6/a2ed/WkiwEn4bJQMI5TfQvNn4= X-Received: by 2002:a0c:f28f:: with SMTP id k15mr10132510qvl.76.1581347191226; Mon, 10 Feb 2020 07:06:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dan Cross Date: Mon, 10 Feb 2020 10:05:55 -0500 Message-ID: To: Rob Pike Content-Type: multipart/alternative; boundary="000000000000998486059e3a15be" Subject: Re: [TUHS] Warner's Early Unix Presentation 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: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000998486059e3a15be Content-Type: text/plain; charset="UTF-8" On Sat, Feb 8, 2020 at 4:52 PM Rob Pike wrote: > [snip] I still think it's a great piece of code, and I miss the v8 shell > every day. [snip] > Unfortunately, Steve's memory allocation trick, mallocking on faults, > isn't portable, and I suspect the code will never run on a modern OS. Tom > Duff's rc was done as a reaction to the shell being, despite its other > glories, still a macro language. But that's another story. > Geoff Collyer wrote a nice paper about experiences porting the 9th Edition shell to SunOS 3 on the 68k some years ago. http://www.collyer.net/who/geoff/sh.tour.pdf There is a copy of source code on his personal web page: http://www.collyer.net/who/geoff/ I wonder if any of the 8th edition shell changes you mentioned survived in that code? - Dan C. --000000000000998486059e3a15be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat,= Feb 8, 2020 at 4:52 PM Rob Pike <r= obpike@gmail.com> wrote:
[snip] I still think it's a great piece of code, and I miss= the v8 shell every day. [snip]

Unfortunately, Steve's memory allo= cation trick, mallocking on faults, isn't portable, and I suspect the c= ode will never run on a modern OS. Tom Duff's rc was done as a reaction= to the shell being, despite its other glories, still a macro language. But= that's another story.

Geoff Collyer wrote a nice paper about experiences porting the 9th Editio= n shell to SunOS 3 on the 68k some years ago.=C2=A0http://www.collyer.net/who/geoff/sh.tour.p= df

There is a copy of source code on his perso= nal web page:=C2=A0http://www= .collyer.net/who/geoff/

I wonder if any of the= 8th edition shell changes you mentioned survived in that code?
<= br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - Dan C.


--000000000000998486059e3a15be--