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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16348 invoked from network); 3 Feb 2022 20:00:49 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 3 Feb 2022 20:00:49 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 4B13C9D6E9; Fri, 4 Feb 2022 06:00:45 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 229059B7BE; Fri, 4 Feb 2022 06:00:21 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="P9Ons5i+"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 3D3629B658; Fri, 4 Feb 2022 06:00:20 +1000 (AEST) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by minnie.tuhs.org (Postfix) with ESMTPS id 5AD2895192 for ; Fri, 4 Feb 2022 06:00:19 +1000 (AEST) Received: by mail-pl1-f178.google.com with SMTP id x3so3154706pll.3 for ; Thu, 03 Feb 2022 12:00:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sShWIDGpfgyBrIYTNCFwKj03EHvRuw9lN+jCvnD2mSo=; b=P9Ons5i+T2yWp9bDSryF5l5UmKZIWU0sI5tY/NpaK1oabV1/uZjqqXu3WcWaUsrW+B 3rCUCQWfzGUV1Cf1UDIB1T25JduZAhPX3wgIubnR5InQlosgH+vz7mw/JNB/TJvpKR3r dAIc8iwOvZuR2Fedzy6cxZINVbqjK1bxSRVETt00Zys2LTvuIQH9U0+Li4ILEMpdfoJl QK5+lH3IHuwvX6Ti+dYYgYh25vc+9AAiLDoLjZtCJrTlKVbFKt3ezdk9WT4WMEh2aaQn 2RIIfVont7PM84DkqbxvuqRHfbhGnbG9elBg9M9H6zVS5+UoUBhkDo6MTwMAE4541B7V 58DQ== 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; bh=sShWIDGpfgyBrIYTNCFwKj03EHvRuw9lN+jCvnD2mSo=; b=zMrVUQ2IY7ou5OC382cz5Na1e2TXqpi7zI96KpwqVDcGJgakB9lfkvTF/3wRSVkIo9 0EnjXlQZWLTOJVhVOeBmvC1kgfF2llySZDMfNVhhvoQJGjs+CyxmzjjZ9JECysI11rHr ZL+uuqKWChZTBEdtFy+Iq/SKFwt7UMXYPpQ9pMz8ZpjIea+9Z2XgrrkiTDt5KbvAc0Xr o6CHWQNf07ZzxHEQIA3zKmbDl1N+lFoF7uT5plUduDgd212rexsMCzP+WAK5i6HFB0aZ 7lyFv7iBY/BOrrmGj11YwJNeqkxLz1kBUiKxsvcXJ4WDs3C5YMpO5p1UKshkaqTs3qws 465A== X-Gm-Message-State: AOAM531Ny6+RleHHbtNxrvsfAQJlAalbOm6ildzJS90S6N7cxfOTIhr2 sbiExTsgi5++bJL5ovfjGpYc+O2UebkSsgFCBI0= X-Google-Smtp-Source: ABdhPJxuck52irdhyicG6Ib429dOsmvDHBuPFiGR0Wvjgs/6Ii/sknpbdpuJvEMiejNVtofRreK2VpOHobtLCQOKSbI= X-Received: by 2002:a17:90a:d343:: with SMTP id i3mr15699367pjx.104.1643918418536; Thu, 03 Feb 2022 12:00:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Thornton Date: Thu, 3 Feb 2022 13:00:07 -0700 Message-ID: To: Will Senn , The Eunuchs Hysterical Society Content-Type: multipart/alternative; boundary="000000000000606d9705d72295ea" Subject: Re: [TUHS] ratfor vibe 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000606d9705d72295ea Content-Type: text/plain; charset="UTF-8" On Wed, Feb 2, 2022 at 9:01 PM Will Senn wrote: > > For example, even in the tiny copy program example, from the introductory > chapter, once you include the primitive getc and putc subroutines, there > are 7 symbolic constants: MAXLINE, MAXCARD, NEWLINE, STDIN, STDOUT, EOF, > SPACE and character, which is really an integer and gets replaced with > integer by some mythical preprocessor (chapter 8). Anyhow, in the modern > world, MAXLINE and MAXCARD don't really have meaning, but they can > magically be treated as lines of a file, the rest do have meaning, but they > don't evaluate to the same things in Fortran-land as in modern-land. STDIN > is 5 and STDOUT is 6 (card reader and punch LUNs, again some magic that > lets them be treated as terminal input and output), EOF is -1, SPACE is > 32, NEWLINE is 10. > > Pretty sure that EOF is _still_ -1. SPACE and NEWLINE also look pretty > familiar and their values haven't changed, although we might spell them a > little differently these days. > --000000000000606d9705d72295ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Feb 2, 2022 at 9:01 PM Will S= enn <will.senn@gmail.com> = wrote:
=20 =20 =20

For example, even in the tiny copy program example, from the introductory chapter, once you include the primitive getc and putc subroutines, there are 7 symbolic constants: MAXLINE, MAXCARD, NEWLINE, STDIN, STDOUT, EOF, SPACE and character, which is really an integer and gets replaced with integer by some mythical preprocessor (chapter 8). Anyhow, in the modern world, MAXLINE and MAXCARD don't really have meaning, but they can magically be treated as lines of a file, the rest do have meaning, but they don't evaluate to the same things in Fortran-land as in modern-land. STDIN is 5 and STDOUT is 6 (card reader and punch LUNs, again some magic that lets them be treated as terminal input and output),=C2=A0 EOF is -1, SPACE is 32, NEWLINE is 10.

=
Pretty sure that= EOF is _still_ -1.=C2=A0 SPACE and NEWLINE also look pretty familiar and t= heir values haven't changed, although we might spell them a little diff= erently these days.
--000000000000606d9705d72295ea--