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=0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FROM_FMBLA_NEWDOM,HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 10044 invoked from network); 27 Feb 2022 00:49:49 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 27 Feb 2022 00:49:49 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5EB2E945A5; Sun, 27 Feb 2022 10:49:46 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 92548944BA; Sun, 27 Feb 2022 10:47:06 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="KtLKL5dn"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 7E4DE944BA; Sun, 27 Feb 2022 10:47:04 +1000 (AEST) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by minnie.tuhs.org (Postfix) with ESMTPS id 9CE7293D6E for ; Sun, 27 Feb 2022 10:47:01 +1000 (AEST) Received: by mail-qv1-f44.google.com with SMTP id c14so4876555qvk.10 for ; Sat, 26 Feb 2022 16:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KLZmDdyiSqQBePKVBLRCBHm7/hXJSXJa3CybN9EuDdU=; b=KtLKL5dn4z+RCHJJvWexfZMQu79XDh47DVyxWGH4aczfqfvbITMaWkpe/sAxbefYS5 jFIQWoNkY4btxkw2lcwvCHG708NBIRkl16Bysp3HDoZ2K0G0WbhxHBmxjh31HJzk9T69 4GZl9eUb5ey1YrsMGDrSnT0/Z7p0O6gra8Z1U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KLZmDdyiSqQBePKVBLRCBHm7/hXJSXJa3CybN9EuDdU=; b=V2TxUBKjaY0jAhbtplk34V8qc6NmJZuLy2jbGUJz588bS7O+oQ+xWuNefONtQKJnF9 2MmJneNVxnjCaokBraHOfaQlzg2GLO6Gp9rMNBjWtWDE8U6z+KoNofCHhyT5RYjV8r1k C8/TwIYRNWSUX9AQoYo0NJzhpip/qVI6nnUX8My16rrxjDw31NuWKRsT08Z46R7Bbdd4 kw7Uek/C3PxIW4Wsuli1J68dLVsx7mqZsRuOcWWbLpkZmFrr4QkiSdBO6f3X//kY790K /1psNzwDJFBfuSYrbeg7lhkoHKWAsZr6PPBn22UUkhG8dar8V5LzKPb/RY4p+uUd0B5L gLCA== X-Gm-Message-State: AOAM531v3cvPfr5DCqxiXiUuWkxQ/6PrhQWieZRQ/3rt9qJA/2FLWx6b q5u1TTi8n0tDJCmgoAwgXZb5DLyy+Euixd7IjGfEMw== X-Google-Smtp-Source: ABdhPJyxH2hVA5aDRMsasFq3uSlWcxQ8zaoJ3hwFpUw8zBMSMbXB5skyUMmlYMDI0qgJXV35X4luFWKMgF+/4g21PQE= X-Received: by 2002:a05:6214:d44:b0:42b:67bc:c8d1 with SMTP id 4-20020a0562140d4400b0042b67bcc8d1mr10128462qvr.77.1645922820548; Sat, 26 Feb 2022 16:47:00 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Clem Cole Date: Sat, 26 Feb 2022 19:46:49 -0500 Message-ID: To: Rob Pike Content-Type: multipart/alternative; boundary="0000000000000bfc3405d8f545af" Subject: Re: [TUHS] run commands at login in v6 and stty 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: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000000bfc3405d8f545af Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes. Thanks. I do remember it in 6 and the hack in cc to run it or not(it took years for me to break the habit of starting a C program with a #) but what I don=E2=80=99t remember was it in v5 - which we only ran briefly (I personally never saw V4 either although I know Columbia and I believe Harvard had it) Clem On Sat, Feb 26, 2022 at 6:12 PM Rob Pike wrote: > Cpp was definitely in v6, and I'm pretty sure it was in earlier editions. > The first pass of the C compiler would invoke it if the first byte of the > source file was a '#'. However, the early version only did #define and > #include. It was rewritten for v7, I believe, introducing the catastrophe > of #ifdef, while the existential horror of #if was later still, foisted o= n > us by someone not in Research. > > -rob > > > On Sun, Feb 27, 2022 at 9:53 AM Clem Cole wrote: > >> >> Some thoughts .. >> >> 1.) the precursor to the csh is the newshell in {1}BSD. It's Joy's hack >> to the Thompson shell and you might find it more usable. >> 2.) PWB 1.0 is based on a V6 kernel and has the Mashey Shell, which is i= n >> C and predates Bourne's It might also be easier for you to use. >> 3.) srb wrote his shell during the transition between V6, TS and V7. A= t >> least one version ran on the V6++ system we had at CMU, but of course as >> pointed out, it is written in Bourne-Gol. And I'm pretty sure his CPP >> definitions will need at least a gen2 /lib/cpp implementation*** Howeve= r, >> Steve was also doing it at the time when the compiler was being updated. >> FWIW: We also had the 'Typesetter C' running on our V6 system in those >> days. So my >>guess<< is that v6 + Typesetter C - will compile the V7 >> shell. >> >> Clem >> >> >> >> *** Rob or Steve Johnson - maybe remembers when cpp first appeared. I >> don't remember if it was part of V5 or not - those bits have faded from = my >> brain. What I do remember is there were a couple of different cpp's ear= ly >> on. The first one was pretty crude by today's standards, albeit it was = a >> cool idea and it was the one thing I really liked about C over BLISS ear= ly >> on [BLISS had Macros, which was cool aalso, but cpp could do things Blis= s >> could not]. >> > -- Sent from a handheld expect more typos than usual --0000000000000bfc3405d8f545af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes. Thanks.=C2=A0 I do remember it in 6 and the hack in = cc to run it or not(it took years for me to break the habit of starting a C= program with a #) but what I don=E2=80=99t remember was it in v5 - which w= e only ran briefly (I personally never saw V4 either although I know Columb= ia and I believe Harvard had it)

Clem

On Sat, Feb 26, 2022 at 6:12 PM Rob Pike <robpike@gmail.com> wrote:
Cpp was definitely in v6, and I= 9;m pretty sure it was in earlier editions. The first pass of the C compile= r would invoke it if the first byte of the source file was a '#'. H= owever, the early version only did #define and #include. It was rewritten f= or v7, I believe, introducing the catastrophe of #ifdef, while the existent= ial horror of #if was later still, foisted on us by someone not in Research= .

-rob


On Sun, Feb 27, 2022 at 9:53 AM Clem Cole <clemc@ccc.com> wrote:

<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ">Some thoughts ..

1.) the precursor to the csh is the= newshell in {1}BSD.=C2=A0 It's Joy's hack to the Thompson shell an= d you might find it more usable.
2.) PWB 1.0 is based on a V6 kerne= l and has the Mashey Shell, which is in C and predates Bourne's =C2=A0I= t might also be easier for you to use.
3.) srb wrote his shell duri= ng the transition between V6, TS and V7. =C2=A0 At least one version ran on= the V6++ system we had at CMU, but of course as pointed out, it is written= in Bourne-Gol. And I'm pretty=C2=A0sure his=C2=A0CPP definitions will = need at least a gen2 /lib/cpp implementation*** =C2=A0However, Steve was al= so doing it at the time when the compiler was being updated.=C2=A0 FWIW: We= also had the 'Typesetter C' running on our V6 system in those days= .=C2=A0 So my >>guess<< is that v6=C2=A0+ Typesetter C - will c= ompile the V7 shell.

Clem


<= /div>

*** Rob or Steve Johnson - maybe remembers when cpp fi= rst appeared.=C2=A0 I don't remember if it was part of V5 or not - thos= e bits have faded from my brain.=C2=A0 What I do remember is there were a c= ouple of different cpp's early on.=C2=A0 The first one was pretty crude= by today's standards, albeit it was a cool idea and it was the one thi= ng I really liked about C over BLISS early on [BLISS had Macros, which was = cool aalso, but cpp could=C2=A0do things Bliss could not].
--
Sent from a handheld expect more typos t= han usual
--0000000000000bfc3405d8f545af--