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 27958 invoked from network); 26 Apr 2022 04:06:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2022 04:06:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1650945961; b=Axito7fahi2K47aVQXSRXzF/imHW4lHp7PTBLHCBjlxS4jFbG94eWahNB7fY9SITMiFXzz0IXG m99OEaroSgwhioXy9yJlSOyfBsYW+tWLWelCJVST5Gzrfz10TeY2bPGRFeUwi8ErUnUE36DrkI 7hx34nCDIJNerUD2aPSou27Gpw/Og6UBLu3VLVwEYWLhGmFGZKMfcD3hqmbmpy0BtZKg4URJ00 rVkM7JI77mol56YfK2lyWUOVHvTrfEElEhqAxebUkNA+1zYX3ElJ7eU8GhhKgVQcrCq2C1R8p1 68ttRyGBhU2DS4kzQ5N3aaHNrikBfM7fW1IdsxGQZV59pg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f44.google.com) smtp.remote-ip=209.85.208.44; 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=1650945961; bh=2dk//t8fE/0rLGsTvC7OCmNlK//upfKw5Udj/t59Ob8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=qOTQjDmZ3VepZfyzGkdnYL14/tnqyiWUgVX/C0qqVbAcZ3vzps+/p9uBhz7Nmq87oTSvoG3TAX patstLGUwwuWpdSwvdhyqcNZ5GoMmwhw2QMB2G+fMWMYqFYTLdoyEe0XTcj79mbGtnyZy2gKCn 8YduX4z/QkpJnhDQ19pz4PN3DUhaug8tolJ9SZBJtUwBLXc7YExjaUNc9nCmLUD25187i2cE3V OhnEqMvazuT1R3VSJI/Hm2rFX1Y3chualNiZeSWPAZgR9VleHaKZ5ZwPdDDF1PV9fMXU5TJrTR tyCDcwPfQCtWrl6orktAWkgZyk2kgDa9/hIL/bae0z746w==; 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:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=2dk//t8fE/0rLGsTvC7OCmNlK//upfKw5Udj/t59Ob8=; b=ow1HQZyS7pX2LZd+sLMI+dN8WU TirbAPuKyWsKVKsSxeoWyCz9cPv7fxwnf9KH1Q8SB3pjIE9nshAvm94ZuOpYL0h8akYDRbHB4Ku2y UGRRGBrFxYTRJL4CuqZ87EINnG6jFPDQG0xuamZQJOFcw8BaadIX0U5oO3K5rU0PtUrLd4sfWqT3e kFfax9NnBXft29DjGfCE2eloCblKC/65RpCe4suOqvhD+lybXfOvMoP4Ju0lSR6lKVcUwIEuCHMxK VdCURp6p2ygPqr5Ak4IlkGCRwut0xOFYK7WKuQCeREVqigUCuKvRMes9Pwpy0MFsVZY6YiHqT2qhI L7DDp5UQ==; Received: from authenticated user by zero.zsh.org with local id 1njCSd-0004lp-3m; Tue, 26 Apr 2022 04:05:59 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f44.google.com) smtp.remote-ip=209.85.208.44; 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-ed1-f44.google.com ([209.85.208.44]:40836) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1njCS3-0004R5-Ky; Tue, 26 Apr 2022 04:05:25 +0000 Received: by mail-ed1-f44.google.com with SMTP id p18so15611075edr.7 for ; Mon, 25 Apr 2022 21:05:23 -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; bh=2dk//t8fE/0rLGsTvC7OCmNlK//upfKw5Udj/t59Ob8=; b=rFAIuz+IRc7fu898v0baaUyISEmEPx2IwxAgobzsRfmWhKtBM5dmQ37RAKzG0xD1KN pe68yrDvCWkZTY/ws1xYVPpOzlhP5/pA9yd1za9370szQhJ3F61N97yNGIqAzY36QKEp C6H5zYElA9RJetrrgw+tPunb6AF/GP1FlePl9LSZawRWmsZByeKsa4LJVKN8ViZI9fNF nKWwIuYYFtWMQ1Db8Thzt7o7AN9TpzG7TgAC3KiERfypdKtbQTA6y0XD9HSV98HHViW+ xU8mzbMcghWT+qTcTMJc1UE53hfPMf4Zxe8dw5FCbw6ycytRdbTVVMaw0jj+dzjrNtxd a/ng== 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; bh=2dk//t8fE/0rLGsTvC7OCmNlK//upfKw5Udj/t59Ob8=; b=cYP6z9fjOAIy5HcoauYj+6HHd9GOqVsTdLLJTkeCQ5aDv8S/fzFFulY8Qzy7fKkb7+ m55/VsF0ZVbpl6JlcMdcfqBTs/WJDJW1fB1RM0Kx7jGksaLvXDdOiOj5dX7bIdVi96cH z0I0O62iSz/aJncjqGht6Rghd9Jh3CpiOKS3RubCyCgLdU5mZ+xtukfyRohU4eqKnXoC HqP8+Ej2zqt5RBZstBFGOvCt/OS7f5CN7zX07w1/Er0rEUfPIZ5LNIxfRfUw3RJRdrkW I8Hr0x3BpznzKoc8F+Hn86a/v79wyTLToAjhvQMkRd/M5ey2y34BOAWlfWazVADvistv xIDg== X-Gm-Message-State: AOAM532WkHQblfmzmjbyxX6DUneuBK7nBOMJ9aLAPyvly/RtrlPneBXy SmrZT6mlOKQk1gY3f6pi5gFuYYPYQnR8c+wR5xFFglgX0ynqFw== X-Google-Smtp-Source: ABdhPJzbYnclN4kXifWm9kQQq4j9CKJ72jSIcQliRBtTNANCHqhOFcShvB4GenTgfOJ1nxU4zHmZLYVAkeKX6mayLLM= X-Received: by 2002:a05:6402:4404:b0:423:d791:5e64 with SMTP id y4-20020a056402440400b00423d7915e64mr22947383eda.249.1650945922775; Mon, 25 Apr 2022 21:05:22 -0700 (PDT) MIME-Version: 1.0 References: <20220426003649.GA100943@zira.vinc17.org> <20220426030002.GC100943@zira.vinc17.org> In-Reply-To: <20220426030002.GC100943@zira.vinc17.org> From: Bart Schaefer Date: Mon, 25 Apr 2022 21:05:11 -0700 Message-ID: Subject: Re: Ctrl-\ while executing a pipeline made zsh quit To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 50100 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Mon, Apr 25, 2022 at 8:00 PM Vincent Lefevre wrote: > > > I did discover that if "less" exits with an error, the whole pipeline > > becomes unkillable with either INT or QUIT; the shell is hung until > > the left side exits. > > If "less" really exits, how could this happen? When I couldn't replicate your problem, I thought perhaps I was running the mless function the wrong way, so I did this: ( zsh -fc 'print a few words; /bin/sleep 30' ) | mless - This causes less to exit with a no-such-file error, at which point all signals were ignored and no prompt returned until the "sleep 30" finished.