From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 16792 invoked from network); 26 Mar 2020 03:43:53 -0000 Received-SPF: pass (minnie.tuhs.org: domain of minnie.tuhs.org designates 45.79.103.53 as permitted sender) receiver=inbox.vuxu.org; client-ip=45.79.103.53 envelope-from= Received: from unknown (HELO minnie.tuhs.org) (45.79.103.53) by inbox.vuxu.org with ESMTP; 26 Mar 2020 03:43:53 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5B1AF9D548; Thu, 26 Mar 2020 13:43:49 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 104599CD86; Thu, 26 Mar 2020 13:43:16 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=algebras-org.20150623.gappssmtp.com header.i=@algebras-org.20150623.gappssmtp.com header.b="fMAsRqq0"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 87F289CD84; Thu, 26 Mar 2020 13:43:14 +1000 (AEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by minnie.tuhs.org (Postfix) with ESMTPS id B6D229CD73 for ; Thu, 26 Mar 2020 13:43:13 +1000 (AEST) Received: by mail-io1-f67.google.com with SMTP id v3so4602338iot.11 for ; Wed, 25 Mar 2020 20:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=algebras-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=eD6mCknYR/Mec2IG25bWu1EqNt2GeFTN5iPQeO3OlnY=; b=fMAsRqq09HrJKcFKXrsYSSETt381s8TrZpudRXTU4lnHHPVHACSqd4mkmIEOFifMz6 P8TPxnuzM7T+btgQe88BcXVsuvF7rT/cuPY34ZK7kmwfOl0CNyeyAP5wUqa4xDtfcAkp 0xngIHeqVBT7Ds7lsH8zG6ZnkTkudV+XH4bo4K/T5Tesao05SVxiCNvvqYQwhPihhez+ qSzoaLxDsBbEnSL0f9/6hQSAYMjqKtQFYSE0wHe5GINM490go+TVvJjQW7SlmSqNO7hU +GGhSKEi/VvTKMOF/FGrMjG6ZwftquRRTmHKSVCa3ku8R4Z9LTU5mw/GD5hFxtanj1Yy ZjSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=eD6mCknYR/Mec2IG25bWu1EqNt2GeFTN5iPQeO3OlnY=; b=XQ5HP0Q5+mdAuuexw6aHd1G94Liacg6uLXX3xORUZenAD4dE83LdK7gOO2Yf2yalED OVeO9PTuErYvNpd/0Rm8CoXOqZrzDHuoRPr+xcaPPiRBWzOkJIFtS0Y8EQNEv333WK/Z PwNqAXq+QRQJ19rfJrAPTOOCzW2ItCTVNXZVV0VFCdj5qB2IPHNmILuxmrZTQfMBK8pX MVs3ByH6KNfRGxo5L+hiRYyYROBC7KP3OZo9+6o+7UG1i8+uluHAB5XfUFVPoP1rQW4w iCUaZxODMJ1jmcNVNkKlcALB9UpYoRJOTivwZmrlZdgYvyWEdB2Eulf78N46a7N50qrl fZdg== X-Gm-Message-State: ANhLgQ0H1wqnoiQCBQ4TETRW7iOPFiZ1KbmhVYB/pF/XWtWTPTQIGaE6 ErlLCqet8535T29w8f2/4PU9IG76lB+lvFE21yKd14zk7ps= X-Google-Smtp-Source: ADFU+vtNS7nOiD9jrkDl48nHgfC4sL+sxs+eXDyxDG/ZqJB2dj6tGm0PprFP5pF71aIYiKBz1eFzShXTwWt+lvpwwhA= X-Received: by 2002:a02:2384:: with SMTP id u126mr6139362jau.64.1585194192613; Wed, 25 Mar 2020 20:43:12 -0700 (PDT) MIME-Version: 1.0 References: <20200306224431.D226C18C080@mercury.lcs.mit.edu> <3D1DBF45-AE50-4027-8AAA-6C1D97D28D4D@planet.nl> <20200307163935.GA57521@clarinet.employees.org> <20200308151332.GA70333@clarinet.employees.org> <5dbf2153-5993-242a-5ba9-54b49a38569e@spamtrap.tnetconsulting.net> <20200323084943.GA341861@straylight.m.ringlet.net> <20200324094710.GB83316@clarinet.employees.org> <127f7c5c-a607-8f5b-1760-5a308c279836@tnetconsulting.net> In-Reply-To: From: George Michaelson Date: Thu, 26 Mar 2020 13:43:01 +1000 Message-ID: To: The Eunuchs Hysterical Society Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [TUHS] sockets (was Re: First appearance of named pipes) 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" Options negotiation and the URG/PUSH always freaked me out. PAD (the X.25 equivalent) was a bugger to work with. From memory, the yorkbox was a forked pair of processes one to read, one to write. it didn't work very well to be honest. I tended to convert to half-duplex mode and construct valid lines of input before sending them (which is not very editor friendly unelss you like Teco, which I didn't since it was complicated. I stuck to SOS and ed) Telnet is pretty much just "read and write for networks" except for the options. Back in the days of the BBN Butterfly, the gethostaddr() table for de interwebz was a linear list, and UCL was at the back of the hosts.txt sort and the time it took the daemon to work out who we were, for a login: prompt, was 1-2 sec close to the 30 second drop-link-he's-dead-jim timer in getty or whatever it was then. Sad. I think we made a lot of drama about read and write for networks. Really, asynchronous communicating processes is a lot of fun. I went to Milners lectures on the calculus of communicating systems, it was also too hard, I lost it. That was also when the real underlying routing (pre BGP) was a push-down list, which dropped our routes because we were the boring british side of things and LRU cache said no. Rebooting the right fuzzball or BBN box generall brought it back. X25 was a good fit for PAD. small packets. Enter the ATM cell size discussion <----here. On Thu, Mar 26, 2020 at 1:09 PM Rob Pike wrote: > > I can't find it now, but there's a very short rc script that does a > modestly realistic telnet client in Plan 9. > > But you know, that's not Unix. > > -rob > > On Thu, Mar 26, 2020 at 1:39 PM Dave Horsfall wrote: > > > > On Wed, 25 Mar 2020, Grant Taylor via TUHS wrote: > > > > > =C2=B7 netcat's STDOUT to grep's STDIN > > > =C2=B7 grep's STDOUT to netcat's STDIN > > > > Are you trying to set up a loop of processes or something? I'm not sur= e > > if that is even possible, although you can't rule out creative uses of > > dup2() etc... > > > > -- Dave