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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_FONT_LOW_CONTRAST,HTML_IMAGE_ONLY_20,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10518 invoked from network); 16 Dec 2022 21:51:32 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 16 Dec 2022 21:51:32 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id D0BDD4240B; Sat, 17 Dec 2022 07:51:26 +1000 (AEST) Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) by minnie.tuhs.org (Postfix) with ESMTPS id 88E314240A for ; Sat, 17 Dec 2022 07:51:22 +1000 (AEST) Received: by mail-vs1-f42.google.com with SMTP id f189so3553990vsc.11 for ; Fri, 16 Dec 2022 13:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lVgpO7HZslgF+9uUzIWjnxtEvwAyNbTh+jxvchnwQJk=; b=CB3NtqumsyE0n7kKmIF7lDDK0HfPEpK8mUXMnhP4u0KPFBvxAwBHpubNkpNb/R8o43 Z9yHHItELrqjC/yPttvcBd+iPmOPltPt++WmI2D4PISNQmuO8PEMQnL/IJqtA56x5azs amEbY4dhm5bvpFBSngKFexmhoRVpP6mywzS/0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lVgpO7HZslgF+9uUzIWjnxtEvwAyNbTh+jxvchnwQJk=; b=u+2pL2tFukvh2A7iINE4tQGC9Uj+ixaSslFNoaUzq+leXAhc0WfZ0H0D1Tz45SjVQn QpuA/WRj3lT2BwMxEaO0WG/90+ezSARhElz8zHwQDUzKTwqOyAyGQiJxcO97kmkmP4Ad SfaYPm6pSlluMAkNeEAaHDNdekrpiEAKc3IEg8wObcvJQGDWaIx+RzXxcrm+5WV41Als QphlsiL//p8iO/xZeLN1ljihDjr7CW5kTlj22nBY3XohcNoapiiyks8fpulFoXgQb0/G UQz+WJFA0tIbk3ze8QVkM1vOC21y6nx6tb34p2DJ8tFOdfd38hRTbkixffYmbLc8KXBo +NrA== X-Gm-Message-State: ANoB5pmdr/PosdZDW+bHtOMtHSDhVdnc5rS3J06geYYOimNYnJSL2JVn xOnIxVtz5hXXGu3vvZZHWU3jSVxi2KV5zpfZUZHJNyInfphLcwlqwWc= X-Google-Smtp-Source: AA0mqf7EhU+HT94EsRGkH3ggVfe7RX7Z+HCoz2glSLgui6lIIMoVHB9dqI3nZVvV2V8Yv06ToxvBgkVYTfseOUGFF58= X-Received: by 2002:a67:d085:0:b0:3b2:a92d:da9 with SMTP id s5-20020a67d085000000b003b2a92d0da9mr13456178vsi.9.1671227421575; Fri, 16 Dec 2022 13:50:21 -0800 (PST) MIME-Version: 1.0 References: <78A69F72-788E-4A31-B750-A39C97F77C75@csp-partnership.co.uk> In-Reply-To: From: Clem Cole Date: Fri, 16 Dec 2022 16:49:54 -0500 Message-ID: To: Warner Losh Content-Type: multipart/alternative; boundary="000000000000cd5eb105eff8f4c0" Message-ID-Hash: SS23D4TNI3KYC3C2UFJK37IYBRN7TGCQ X-Message-ID-Hash: SS23D4TNI3KYC3C2UFJK37IYBRN7TGCQ X-MailFrom: clemc@ccc.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: origin of null-terminated strings List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000cd5eb105eff8f4c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable More info WRT to historical DEC usage ... ---------- Forwarded message --------- From: Bob Supnik Date: Fri, Dec 16, 2022 at 4:39 PM Subject: Re: Origin of ASCIZ / null terminated char arrays. To: Clem Cole It wasn't in the PDP8. The PDP8 mostly used sixbit, the ASCII subset between 40 and 137. The character was simply masked by 077, so that 100 (@) became 0 and could be used as the delimiter. PAL8 (in OS8) does not have a text generation pseudo-op. The PDP7 had a TEXT pseudo-op that fill an extra word with 0s if the string was a multiple of 3 characters. It supported FIODEC, BAUDOT, and ANALEX encodings, but not ASCII. The PDP9 has both .SXBIT and .ASCII. The latter used two 18-bit words to hold five 7bit ASCII characters. In both cases, words were zero-filled, but an extra (word) of 0s was not added if the string was a multiple of 2/multiple of 5 characters. The PDP11 had .ASCIZ, starting with Macro11 in 1972. Tim can comment on the PDP10. > =E1=90=A7 --000000000000cd5eb105eff8f4c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
More info WRT to historical DEC usage = ...
---------- Forwarded message ---------
From: Bob Supnik=C2=A0
= Date: Fri, Dec 16, 2022 at 4:39 PM
Subject: Re: Origin of ASCIZ / null t= erminated char arrays.
To: Clem Cole=C2=A0


It wasn't in t= he PDP8. The PDP8 mostly used sixbit, the ASCII subset
between 40 and 13= 7. The character was simply masked by 077, so that 100
(@) became 0 and = could be used as the delimiter. PAL8 (in OS8) does not
have a text gener= ation pseudo-op.

The PDP7 had a TEXT pseudo-op that <did> fill= an extra word with 0s if
the string was a multiple of 3 characters. It = supported FIODEC, BAUDOT,
and ANALEX encodings, but not ASCII.

Th= e PDP9 has both .SXBIT and .ASCII. The latter used two 18-bit words to
h= old five 7bit ASCII characters. In both cases, words were zero-filled,
b= ut an extra (word) of 0s was not added if the string was a multiple of
2= /multiple of 5 characters.

The PDP11 had .ASCIZ, starting with Macro= 11 in 1972.

Tim can comment on the PDP10.
3D""=E1=90=A7
--000000000000cd5eb105eff8f4c0--