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.0 required=5.0 tests=MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22809 invoked from network); 24 Dec 2022 03:30:31 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 24 Dec 2022 03:30:31 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 6019241C78; Sat, 24 Dec 2022 13:30:23 +1000 (AEST) Received: from lechuck.jsg.id.au (jsg.id.au [193.114.144.202]) by minnie.tuhs.org (Postfix) with ESMTPS id 2ECD141C3F for ; Sat, 24 Dec 2022 13:30:14 +1000 (AEST) Received: from largo.jsg.id.au (largo.jsg.id.au [192.168.1.43]) by lechuck.jsg.id.au (OpenSMTPD) with ESMTPS id 6ff13255 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 24 Dec 2022 14:30:09 +1100 (AEDT) Received: from localhost (largo.jsg.id.au [local]) by largo.jsg.id.au (OpenSMTPD) with ESMTPA id 9980ea2f; Sat, 24 Dec 2022 14:30:09 +1100 (AEDT) Date: Sat, 24 Dec 2022 14:30:09 +1100 From: Jonathan Gray To: Phil Budne Message-ID: References: <202212221852.2BMIqMRk003859@ultimate.com> <2PV-DjW5M0eYObQ5MSA_2OzpT0t9A6VXbljYr-F4VfM375f26IygWqKx5bTLQXGM-RaNsNCnaL-Ato2u4dyavj7fgOakY-e5y_2S1uUPJMA=@protonmail.com> <202212222144.2BMLiWHk007731@ultimate.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202212222144.2BMLiWHk007731@ultimate.com> Message-ID-Hash: 3A3WYWQLTUD4T5G4AKC5NHI2OPLNSHHN X-Message-ID-Hash: 3A3WYWQLTUD4T5G4AKC5NHI2OPLNSHHN X-MailFrom: jsg@jsg.id.au 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: segaloco@protonmail.com, tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Early supported UNIX manual List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, Dec 22, 2022 at 04:44:32PM -0500, Phil Budne wrote: > > Matt G wrote: > > One area of immediate curiosity for me is the init system, whether the pages suggest it is more in line with research (rc and ttys files) or TS (inittab, runlevels). > > The init (VII) page mentions /etc/rc and refers to ttys (V) which says the file > consists of lines with three characters (enable, tty name, getty arg) > > getty (VII) describes behaviors for 0, -, 1, 2 > > The one interesting bit in section (II) is lock (system call 62.) that > implements semaphores with subfunctions lock/unlock/tlock, all of > which take a non-negative semaphore ID called a flag. used by MERT: https://www.tuhs.org/Archive/Documentation/Manuals/MERT_Release_0/Unix%20Programmer%20Manual%20-%20UPM%20-%20White%20Tabs/System%20Calls%20-%20man2/lock.2.pdf "The semaphores provided in the MERT/UNIX supervisor are identical to those provided by the USG-UNIX Generic 3 system [8]. [8] Brandt, R. B., Implementation of Semaphores and Messages in UNIX, MF-76-8234-076." https://www.tuhs.org/Archive/Documentation/TechReports/Heinz_Tech_Memos/TM-78-3114-4_The_MERT-UNIX_Supervisor_19780420.pdf "Make (a program for maintaining other programs) was launched at the CSRC towards the end of the year and was immediately adopted by USG for the next generic release (PG-1C300 issue 2). This was a snapshot of the USG system at mod level 3.33 (January 1976) indicating at least three distinct levels of evolution: the generic releases, major and minor USG mod levels." "Generic 3.0 was released in spring 1977 (delayed from January)." Pirzada, A Statistical Examination of The Evolution of the UNIX System "I do remember a conversation with Dennis about semaphores, though. He mentioned that no less than five groups inside of Bell Labs had hacked semaphores into the kernel. Each group did it differently." Steve Johnson https://minnie.tuhs.org/pipermail/tuhs/2017-February/009748.html In CB-UNIX there was sema(2): https://www.tuhs.org/Archive/Distributions/USDL/CB_Unix/cbunix_man2_04.pdf In System V Release 1, semctl(2), semget(2), semop(2) http://www.bitsavers.org/pdf/att/unix/System_V_Release_1/301-905_UNIX_System_V_Release_1_Users_Manual_Jan83.pdf xenix creatsem(2), opensem(2), sigsem(2), waitsem(2) http://www.bitsavers.org/pdf/intel/system3xx/xenix-286/174385-001_Overview_of_the_XENIX_286_Operating_System_Nov84.pdf