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,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5284 invoked from network); 23 Apr 2023 17:45:55 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 23 Apr 2023 17:45:55 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 4295A402EC; Mon, 24 Apr 2023 03:45:47 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1682271947; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=4c5nKzt0/8x6RsxiLtuvyoQrGZSj1WR7Pvn5TKsMN+c=; b=SVw7OwowhasYZaYU5/RCGU4Tk7Wohg1o8n3Kqxnjua9DQU/o1VC0Mhc66/2kHANvNnE4Yn bnJVlGGD2xrcIeUOSVReBVJUEVz/bMh7DPE/wMxVffAPFRWPTJ5HHjvCPTvBtZVPoBkSx5 TPc9nS3zurpc2MqrDk0DyS15XVWDXCc= Received: from mail-4027.protonmail.ch (mail-4027.protonmail.ch [185.70.40.27]) by minnie.tuhs.org (Postfix) with ESMTPS id 72C36402DC for ; Mon, 24 Apr 2023 03:45:31 +1000 (AEST) Date: Sun, 23 Apr 2023 17:45:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682271929; x=1682531129; bh=4c5nKzt0/8x6RsxiLtuvyoQrGZSj1WR7Pvn5TKsMN+c=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=vX25c4jEGAzUH6MpVV1YNVvI55wTQKgb/o//gD10wVP26RGHF2OaseytjRdyvI7Bw o+VlttrZOBRzCpqLmE06Z1LhOko0pxH9Qo6HWlQnE1fr9kliyEk9LmcbCYKL/sc0gu CPUsSYS4E2ryoIP4EKP+pdUz9XU+Nh9qwIBknLgCmglSepz3g2Z/sU+Xtfw1me1V5Q 1C9xZW6GhuaYDRdaL9nneZ9FS7SRXgqJqA6TDTtSPUYO51gRU2uTYZ77c1QMsZQTr3 zH5yFSpcFb2w+BR/c9Gi3jRR7ay8o0Vn1EnEYwhCq20XITJDBqvWj8SXAgZA+M5HhC bO4Aeco+f9rdw== To: The Eunuchs Hysterical Society Message-ID: Feedback-ID: 35591162:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: Y5CHHVMQY3JUOKI4PD7OVB4FBD4ILV2O X-Message-ID-Hash: Y5CHHVMQY3JUOKI4PD7OVB4FBD4ILV2O X-MailFrom: segaloco@protonmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] S2-bits V2 Source Code Restoration List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: segaloco via TUHS Reply-To: segaloco Hi folks, sharing another project that I've been tinkering on for a little = bit since I like having a lot of irons in the fire: https://gitlab.com/sega= loco/v2src After the link is a repository which over time will be accumulating the res= ults of disassembly and analysis of files found in the s2-bits.tar.gz file = in the archive. Details of my process are contained in the repository's re= adme. The short of it is I'm disassembling the binaries one by one, and wh= ere possible am comparing them with known sources to massage these into a p= retty close restoration of the original sources. A few discoveries I've made in the process thus far: - These binaries appear to represent a version between the first and se= cond editions. The binaries themselves are a mix of "naked" binaries as we= ll as V1 and V2 a.out formats. Where it matters, things are much closer in= character to V2 than V1. - All section 1 content that would be gone by V2 is removed here. Curi= ously, mount(1), type(1), and umount(1) which are in both V1 and V2 are abs= ent from the s2-bits. - The sources marked "V2" in the UNIX source tree may be a bit closer i= n character to V3. Notable examples are that, while string references to /= etc/uids remain, all data references have been updated to /etc/passwd, and = several mathematical operations in the disassembled binaries map to KE-11 E= xtended Arithemtic Element registers where in the sources labeled "V2" in t= he tree have instead shifted to doing these calculations differently, presu= mably as these sources target the 11/45, not the 11/20. Additionally, the = cat.s in "V2" on the tree contains the '-' stdin option, which was first do= cumented in V3. The most likely story is that they're somewhere between, j= ust like the s2-bits are between V1 and V2, but all of these observed diffe= rences thus far have aligned the sources with their descriptions in the thi= rd edition manual. Anywho, as usual, if anyone spots anything amiss or that could be done bett= er, happy to accept contributions, or fork it and tinker away. Also, if an= yone has already done this, speak up and tell me now so I don't double up o= n something so involved =3DP - Matt G.