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=2.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 31786 invoked from network); 5 Aug 2023 18:47:18 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 5 Aug 2023 18:47:18 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 38F8242447; Sun, 6 Aug 2023 04:47:17 +1000 (AEST) Received: from purple.birch.relay.mailchannels.net (purple.birch.relay.mailchannels.net [23.83.209.150]) by minnie.tuhs.org (Postfix) with ESMTPS id 2DD2C42443 for ; Sun, 6 Aug 2023 04:47:06 +1000 (AEST) X-Sender-Id: dreamhost|x-authsender|scj@yaccman.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D85E9841898; Sat, 5 Aug 2023 18:47:03 +0000 (UTC) Received: from pdx1-sub0-mail-a284.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6382F841879; Sat, 5 Aug 2023 18:47:03 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1691261223; a=rsa-sha256; cv=none; b=nuLpSCJeCj80tVSr8SuCJOrk32Y9tCXu69HQAuJMq6+ciYdYLBETU2Nt+uRFoHokM7hTYa HZH8s9toGjK4ze2j94LpvLAgk13aEU7/AntE1ylIP4dr/qIGCODsuYcAEE6hi6QTsRw3uN LxIzfCw6KeTy73dY+MrEAHEwKsM8pMt+qPvLEEOrS612Ef4sO4opv3vPFc16+WaigfOHLL wq+zflZ58dhBJrYxHRVAZKxbcjI6kkc8wQgeP+dwaiovlsDsRafFi5vV3YWSboiFORPnjJ fpSrR3bHaVrxYJGHoyXHBIMXub5RMYmNUCVwkCaB/Mi7f+c8Jo4NuciJdBNZbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1691261223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=vWS2KF5xmJGg/0ayK9exBa7ze6yOJaic6bMNYz5lTqU=; b=i4mIti2Jd2jvKk+kaLXwjiMpPrmWrZLWtvIGj2++z3XBnu2UVrGzVGv1DQxw7WT4FnP0Lg k6tOG+hWGI3qpPM5exI8iz8wX673no1f37zbpj0sCIqUEZ3GOCxbKhw6ysB/IR1MA0g4p1 uIw44rYVIIAfq/5eWFFGsymDsfV7mAoHATVqKvHmxKJBw89W9sVdtGCRP9ctzuICNeMQEs dlmdgXX3w9086OSgGZGSS4vxsnlXUgKu8djmae9SFakkoSzYkuVMZ75clFRYzcPm2zV8rz XXbZAMRZsmauPMMU39HkyUcto+mpjC2aCduSJXK20lOzcX9NxxEP7F3oi3/RUw== ARC-Authentication-Results: i=1; rspamd-849d547c58-25h4n; auth=pass smtp.auth=dreamhost smtp.mailfrom=scj@yaccman.com X-Sender-Id: dreamhost|x-authsender|scj@yaccman.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|scj@yaccman.com X-MailChannels-Auth-Id: dreamhost X-Abortive-Wipe: 67da538f179f6a0e_1691261223651_1227457366 X-MC-Loop-Signature: 1691261223651:3977057080 X-MC-Ingress-Time: 1691261223651 Received: from pdx1-sub0-mail-a284.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.140.13 (trex/6.9.1); Sat, 05 Aug 2023 18:47:03 +0000 Received: from webmail.dreamhost.com (ip-66-33-200-4.dreamhost.com [66.33.200.4]) (Authenticated sender: scj@yaccman.com) by pdx1-sub0-mail-a284.dreamhost.com (Postfix) with ESMTPA id 4RJBQH0zwDz4C; Sat, 5 Aug 2023 11:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yaccman.com; s=dreamhost; t=1691261223; bh=vWS2KF5xmJGg/0ayK9exBa7ze6yOJaic6bMNYz5lTqU=; h=Date:From:To:Cc:Subject:Content-Type:Content-Transfer-Encoding; b=S8NUsFjTD7YxGERh2arDBrz/UeDVwbBoCNUJCd+parrF3e+R1khWo8yYcgH7bbLim mlXIknfOTNOS+a1V3ic80hFLtFX+3jeeV5Jm4dKTyIi+y/U4O1QeDRFmGiCMBKroc2 zYgAInw4uS1MEcdtFpJcuRCWtQHsO90lojaso+7E0I7Nk+SD2ICIUKRcLJFB4qDD7e Do+YZ7W9jkFDiRqSSlUzVY49PHM3T68FjE6fPVn+34blsIBXepejTSzCNPiuOf02pV M52t/O929iB/P7waZ15NI1atemszLjZ7PrDZb95DlbzOT6GJfyaUnOh5YAbRiSXCCG EKCwRe8l1la+w== MIME-Version: 1.0 Date: Sat, 05 Aug 2023 11:47:03 -0700 From: scj@yaccman.com To: Dan Cross In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.3 Message-ID: <0229665988f70d07b4e73381118efc6c@yaccman.com> X-Sender: scj@yaccman.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: 3W7N6W3DAKSGVK5DMBIZQDZ5UKWBTZZX X-Message-ID-Hash: 3W7N6W3DAKSGVK5DMBIZQDZ5UKWBTZZX X-MailFrom: scj@yaccman.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 CC: Douglas McIlroy , COFF X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [COFF] Re: [TUHS] Re: Unix game origins - stories similar to Crowther's Adventure List-Id: Computer Old Farts Forum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I was responsible for two games on Unix: Ching and GoFish. Ching was a fortune-telling game: you would type a question or situation as a text. The program would hash the text, convert it into yarrow sticks, and use display the "fortune". I copied the fortunes from a book, so I don't think ching actually was ever part of a Unix distribution because of the copyright. Some hand-carried versions got out, though, I think. The other game I wrote for my son: it played the game "Go Fish". It was amazingly hard to win, even for an adult, because it used a simple card-counting strategy: if the opponent asked for a 6 and I didn't have one I'd remember that the opponent had a 6, and when I drew one I immediately asked for it. A number of my co-workers tried the game out, and most of them lost badly. GoFish was distributed, and I actually was accused in public by someone who was sure the game cheated! A couple of years ago, a co-worker was showing me a "Unix on a chip" machine, and I saw that it had the sources for everything. I looked at the source for it, which was in C -- one of the first C programs I wrote. As I read the code, I discovered a bug: a type mismatch when calling a function. It was a bug, but didn't affect the behavior. The other thing I noticed was that the program had three GOTO's in it. I blushed... Steve --- On 2023-02-01 15:24, Dan Cross wrote: > [TUHS to Bcc] > > On Wed, Feb 1, 2023 at 3:23 PM Douglas McIlroy > wrote: >> > In the annals of UNIX gaming, have there ever been notable games that have operated as multiple processes, perhaps using formal IPC or even just pipes or shared files for communication between separate processes >> >> I don't know any Unix examples, but DTSS (Dartmouth Time Sharing >> System) "communication files" were used for the purpose. For a fuller >> story see https://www.cs.dartmouth.edu/~doug/DTSS/commfiles.pdf > > Interesting. This is now being discussed on the Multicians list (which > had a DTSS emulator! Done for use by SIPB). Warren Montgomery > discussed communication files under DTSS for precisely this kind of > thing; apparently he had a chess program he may have run under them. > Barry Margolin responded that he wrote a multiuser chat program using > them on the DTSS system at Grumman. > > Margolin suggests a modern Unix-ish analogue may be pseudo-ttys, which > came up here earlier (I responded pointing to your wonderful note > linked above). > >> > This is probably a bit more Plan 9-ish than UNIX-ish >> >> So it was with communication files, which allowed IO system calls to >> be handled in userland. Unfortunately, communication files were >> complicated and turned out to be an evolutionary dead end. They had >> had no ancestral connection to successors like pipes and Plan 9. >> Equally unfortunately, 9P, the very foundation of Plan 9, seems to >> have met the same fate. > > I wonder if there was an analogy to multiplexed files, which I admit > to knowing very little about. A cursory glance at mpx(2) on 7th > Edition at least suggests some surface similarities. > > - Dan C.