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=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8194 invoked from network); 27 Sep 2021 23:06:44 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Sep 2021 23:06:44 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1632784004; b=VEYjpOl5v9Bd1mg2179jSGaTGdCzJqi2/XzkfHXS05GxxFsNoZrN4n9aEcVsrmAwJJ7Zz9ARE4 9rafbnASlmukQ4U+6nUwrQ0B7rMHuLqCGPuZznLKMWkE1XGM7uVvdOp7Cl49PH0M4DZavBJa/w FSSUXQwuZ/EcsiyhMD5579K5tsD/DRx52+xHACENXczQTG8elqpgv7BPBFKphVtaMHTwcfqx2h AAYOAg65QMHMa01J5aUHn9jdhzjBXQx2O6fO285JDvF3SDjOTiobzG4jFsGJnmyKtNHkn8Bjyx TT20X4j2DXigPmm+yZ25oiR9ilvV1QbyiqrgZa7LvD2tUA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f173.google.com) smtp.remote-ip=209.85.219.173; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1632784004; bh=yDES+BIkak8jJaHrN938KZxCFxe8gS1S3Pi1WdLWa3g=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Zd9EZHfK423v0gUimRuX4uebO+VepJSA+0Lc9+Xa8ILYE9ps8nDbv8lWYAbPXvHiDntw9e/WU4 hyiZqCgdw4D1IS/LCCW0sakeI4GY6moLn8YpPyP8t0SJRYbqTUB8x3qrOmOYAyoOjQAYWLIxqT NzF3Jf6e6j7wML7qYwA8YJY4awu3VaIh7qa2Pu2HfZMyTpO6hFwcaZA9B+PsnxoP2SDkNHBzv3 qSBOVBo1naFDtXZT0K5nzJb5pSgb3g1dM7MKoZ82uVsGI3kGD2cE2UoaYgEXownNYnQ0MOiElN qVPe8tQAJbpzaefOiADIbabVif2VQLdhet3kVPCi3CoxYg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=yDES+BIkak8jJaHrN938KZxCFxe8gS1S3Pi1WdLWa3g=; b=M98EjIZZ9hwNjnRBbtAYmeCu6v qh9QDU/CYGYpcqC9bnBIVENDI6H5RDnpQCWTCM2f09Q8DCQfsLmhiKy/z5Rqo/R3gmXeX1UB4Khgh KznOqlmoeSWg8CZlnwKfAfFA59366IkCjlU8IMfDiQ2HaMHUGQouLnXdO0t6dSA9XeeuwoWURd5Az eyru4KiGMrlBgjVU0rRv9B2L0j1NzMBalqNEQPgThCmJh8VvxG6eBX3ALWAoT0ggCxZxR8EG/F84j IyopkSgh3EkOxy5Gof/2RO1Im6YPXFCDtA6SHOEoh6IZe5UnFwod4meK/qurA2/8xyocgBlTEfs+R Hqe+tiSA==; Received: from authenticated user by zero.zsh.org with local id 1mUzhs-000B6E-BK; Mon, 27 Sep 2021 23:06:44 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f173.google.com) smtp.remote-ip=209.85.219.173; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f173.google.com ([209.85.219.173]:35423) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mUzgy-000AM3-GF; Mon, 27 Sep 2021 23:05:48 +0000 Received: by mail-yb1-f173.google.com with SMTP id z5so27594107ybj.2 for ; Mon, 27 Sep 2021 16:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yDES+BIkak8jJaHrN938KZxCFxe8gS1S3Pi1WdLWa3g=; b=va+tez7QpuC2E9jBbGBCRhUl+SDg9CQaGWLoiDA436Y0QnlFJDlJbVOzlNUrtpSOMw fRTm66IhUfJf07nYZNc6cjwEzVsCmhH/kdwsDu8H8CJv8XzXW5u9oGHL14iHd8qb+5xv EFTFuG9JUHfoJAX8O+4e3e7EYMyDt96CclnYZTjFtzrTeovB7Tlxs0XHl8vdyiwz5oLU tn9PXCF8qAHs4Vs4I1Y6Ag4ulO3oxZSqQK705zNm4+7HeiPlSF2aizGSAp1f7JXbPcgs MPs8vkjQgdy6WIlYZYOAv5SCsEnsx6WlPeJoOAY4e6EwKqH/pFfdUtKLEwTvFA2cgpdR 2qvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yDES+BIkak8jJaHrN938KZxCFxe8gS1S3Pi1WdLWa3g=; b=zbuYOjCcHGGzYB9RsHYZjSjgQwguP8wDP3giz8fiwC0UHzMRn4oCV/h0KVoOycRrIt OY0wkLJvl7GAgx+LewP6VdXkf7wzTFlXE0bzaaiKPBMSYnptXSJ6K/zIutl2n5g0MAci uaY6TU5151MMEXva9gzIYKazRRe7ViCJE1Rwd6s+EqlRUvAlfYrT3AvRg1TJ9PG0Qyv2 vJvH970PDr+nwaG1lArFeb29D3lZwmBU8FPttctfZO/73/X9frF9UwJIRvaVofbuVbFt ubX5IIlNIgl8D7oOLDRHoKEWhEs/zdDpN4Ei9RAR4x21gtVKXMk9jY6kskLXklFHDCaL hWxA== X-Gm-Message-State: AOAM532rrWHRldlJ5xuMAttz6yzAW93N4GGyKOcFNqwmbWKCBWv6kaUB JwmY8fxEcxDTp/uDjzs/THZfATpcN8eWAqKlU2Ye+w== X-Google-Smtp-Source: ABdhPJzdlal7Ka+W1Vh0PSI9IeHUX4XYxACkdwL8BMREYqjc2aWKae4n3olfj+xKtOYEsBeKBJyqYvqxmbNtQ9+URsA= X-Received: by 2002:a25:7e46:: with SMTP id z67mr2776230ybc.166.1632783947629; Mon, 27 Sep 2021 16:05:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Mon, 27 Sep 2021 16:05:36 -0700 Message-ID: Subject: Re: less with subprocess To: Pier Paolo Grassi Cc: Roman Perepelitsa , Zsh-Users List Content-Type: text/plain; charset="UTF-8" X-Seq: 27150 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Mon, Sep 27, 2021 at 3:57 PM Pier Paolo Grassi wrote: > > So I'm starting to think this is something that can't be solved from the shell because the shell is unable to do anything until less gives up the control, am I right? "less" is the foreground process controlling the terminal, so if it traps the signal, that's pretty much the end of it, yes.