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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15931 invoked from network); 30 Jan 2023 16:19:55 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 30 Jan 2023 16:19:55 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CE5AA42600; Tue, 31 Jan 2023 02:19:41 +1000 (AEST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by minnie.tuhs.org (Postfix) with ESMTPS id 9425742600 for ; Tue, 31 Jan 2023 02:19:37 +1000 (AEST) Received: by mail-lf1-f52.google.com with SMTP id u12so9254800lfq.0 for ; Mon, 30 Jan 2023 08:19:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XPQk9tPSA+48KJhtcKuKkNPEU4gjqmofKsx3zm/bbpA=; b=aco280lnuIox1G3oRYqiBDla5JU8IUTgqfXB4Pc+Kmxy4i4T+5HMRg5zfC/luRdDli SWlLTFirhE7SlezYHdNeuV/bJz/bluYbbYYumvIHxGPHJKGN2a3we/BN1+VjITKIYFLB IuNFA0mkNewmO4R8Q2u1fBWLjHiMZvwIYCDhPJRrQaj+ctIMeb4Pcvwdh8J71Boyeidk WjObBMMc4vRBU8LPV4BNefKB5x9obWmrM4QSlSFHsM5T2ZR+02+rCsuB0vq0wGTn8rpt AscWh2gXOvkoHUWCY7O8rvAd2pO6nz8TxQIIZQt+DYni+t+uDr9Wgv+60jDwBKHT94Du +PyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XPQk9tPSA+48KJhtcKuKkNPEU4gjqmofKsx3zm/bbpA=; b=S5XSW6K17edqexX0SoyZ6OHdGhLve9dhkSRKDeLKPHpn6gqJjdM1CweqENTv+Gqzsp U5UZvSd9EkOjn2Cq/ucAEu6VawxkJpeCC8wULgVNqMGKQznz84zje9ss2MynTqFIBMh3 dmBMj3R1fzdqOY5XL/RIe7fYINESfkAJnyeUTeNMDJMox0ler0qcBSqNm2OepjfPyWbT h41sB56cnpD+9Jqb8QfWoNUe3JLw8p4IsxiqasBh2cq1CMVe4QLv4/BLtoE8y0ad11xw iMTodwX7Vd2eEZpCsqBhCbwGbzdTRlL4Y2LTk4tEeT6Dvl6vmJGFaRgYQzRmZNX6sY0G 1/yA== X-Gm-Message-State: AFqh2kqGd1M7rzWTTPVeyxHoEjAw+QRDqI5rNCWzAdHfbRJgOU/zZ7Tg L8q/a8zuUaqPi0bClna1cguRZ7Bu/QaO5qLf7EsHci3i X-Google-Smtp-Source: AMrXdXt3K059j0vH85KWEnPmGHn0mnKncAItNqahGZJyiiDizEdkfzUiiPMrcI9wpukO/HvYdxUIOsTuSKTc0y6smf4= X-Received: by 2002:a05:6512:2141:b0:4b5:7607:3191 with SMTP id s1-20020a056512214100b004b576073191mr3198111lfr.93.1675095516096; Mon, 30 Jan 2023 08:18:36 -0800 (PST) MIME-Version: 1.0 References: <38B1D4CE-C239-4777-B606-FC641655DBCB@iitbombay.org> <20230130160705.GG12306@mcvoy.com> In-Reply-To: <20230130160705.GG12306@mcvoy.com> From: Dan Cross Date: Mon, 30 Jan 2023 11:17:59 -0500 Message-ID: To: Larry McVoy Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: 6BV3ZIZTHN7GXS55T73EZH3YS5PHTQMQ X-Message-ID-Hash: 6BV3ZIZTHN7GXS55T73EZH3YS5PHTQMQ X-MailFrom: crossd@gmail.com 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: Bakul Shah , tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: FD 2 List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Jan 30, 2023 at 11:07 AM Larry McVoy wrote: > On Mon, Jan 30, 2023 at 08:03:42AM -0800, Bakul Shah wrote: > > > On Jan 30, 2023, at 7:18 AM, Dan Cross wrote: > > > There was no job control on plan9 and I can't say I ever missed it. > > > > Just yesterday I realized running two ???make -j 8??? in parallel was making > > them both go real slow so I stopped one of them with ^Z and continued > > it once the other make finished. This use case can???t be handled with more > > windows. > > If you don't have job control, do you not have ^C to kill one of the > make jobs? I guess you open another window and ps and kill it but > if the machine is already thrashing that is gonna be unpleasant. You do, but it's not a kernel-level thing; there's no TTY abstraction with an attendant driver. Instead, the window system will interpret DEL as an interrupt request and send a note to the process group running in that window. Plan 9 didn't have signals; rather, there were "notes", that were little strings that could be sent between processes. It was the responsibility of the receiver to parse these and take appropriate action in a note handler; there was a "stop" note that could be used to pause a process. One could presumably use that to pause a process group that was using excessive CPU. - Dan C.