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, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10525 invoked from network); 2 Aug 2021 00:30:18 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Aug 2021 00:30:18 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 345639CAA6; Mon, 2 Aug 2021 10:30:16 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7418C9CA63; Mon, 2 Aug 2021 10:29:58 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 879579CA63; Mon, 2 Aug 2021 10:29:56 +1000 (AEST) Received: from minun.buric.co (minun.buric.co [51.15.8.196]) by minnie.tuhs.org (Postfix) with ESMTP id 0C0EE9CA60 for ; Mon, 2 Aug 2021 10:29:56 +1000 (AEST) Received: by minun.buric.co (Postfix, from userid 1000) id A333135C0FAA; Mon, 2 Aug 2021 02:29:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by minun.buric.co (Postfix) with ESMTP id 9274535C07CE; Sun, 1 Aug 2021 20:29:54 -0400 (EDT) Date: Sun, 1 Aug 2021 20:29:54 -0400 (EDT) From: Steve Nickolas X-X-Sender: mary@sd-119843.dedibox.fr To: Dan Cross In-Reply-To: Message-ID: References: <20210731142533.69caf929@moon> <40763c2d-52ad-eb01-8bf8-85acf6fee700@case.edu> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] Systematic approach to command-line interfaces 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: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Sun, 1 Aug 2021, Dan Cross wrote: > Spawn vs fork/exec is a false dichotomy, though. We talked about the fork > paper when it came out, and here's what I wrote about it at the time: > https://minnie.tuhs.org/pipermail/tuhs/2019-April/017700.html I've often wished I could run a free/open Bourne-type shell on 16-bit MS-DOS and OS/2. Porting to the former is next to impossible because of the lack of *any* concept of multitasking. Porting to the latter is difficult because multitasking isn't done anything like the Unix way. I actually like the spawn* functions better, though I think on Unix fork/exec is the most natural way to implement them. -uso.