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 7133 invoked from network); 26 Apr 2022 01:24:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2022 01:24:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1650936280; b=PzyWRX+RV4NlEnunfPyYyBbpu1p34ggDDoSOJ23/6NwNc4HgP+/WipZfWtnOp2hWzSHAn5juZ7 05Ey+spPpGThSvpYyjH7bdwLOIQ+tw0WIGUyywO3BQeoXe6buszpmHo+OOSaud+sxU1VzX+BoM pAkXQyCAObHM0s6xrSK4jSS/gp8jNuxJemzng4oT7R5p4lLr49i/SIgDNo5BAK2o1SdKG1WGqR LR5PjnQGCI34rg49PoltX7R4ZFTVXYQ6v3+0Gxlh+rE5UG03oGAd9JtVpUHKS5PNHQpk36089k W+iaK2skcgPbC1clqwXQnWaNU8cZL8RIP1fGzw7XSikDew==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; 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=1650936280; bh=q1WmskQobaOH0Ad0XqrIokWABTYXg+Rua3zlJ5EG/oE=; 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=Q0fDsnftwvOxgZH+ysHoo8ZhbD6HOAq/cb+gzMnm5YsRH8wo3b7exvgje5UoZZlNt+YbI7pPe9 MqvKd08MPrVCFkBB3cl66OZqFM6GZzUoan31ME62b0n/wBEv2E7v/RQ9JzZMCpoSfAXA1aJ4P0 dKIaAGpVvdt6HcHk56KNThm2HEldgH6CxMs6Tj21KtRjh4yk5NpZzRPAJiBZ8OeUlIcKjrqyP8 rDUxgQa4d1l2zyeOBdFUL+doYmSvQD8Vyu80U997S6cgd66fL387RR1Fr4TbWmD95CxG8pEBV2 HImvDoSr9j21YhShZwknHoLD+wLg3UhlIx7nspjw/sPHFA==; 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=q1WmskQobaOH0Ad0XqrIokWABTYXg+Rua3zlJ5EG/oE=; b=hUo7l5gcFjQcOidQ47PrUEbR/x +1fv6IboAha6Kl/97sQG5QKRoIFy+ThUk+cNpeEcuvu1mUPTS5HeHV+uC5LwvrzzjBN1Vo/Q1moIp 38DM1aaFsGv8/LwHRYAJ2i/Gow28VdpXajpEzK2qvyyt0jdPKfSmhdMozoh+b5FRh2VzMQdAoDA2J VipIPygv5poJI3SpmBbgCuBEynE4980oaabft0tqDlvr4cUQTluiMPGWCbPOfBUiaFqLSuuPNB86t VjBX2SbB5Rt4/qq4uJPaCTwJwom9RDhfZnq+IaWPnC6w3UcsV8xFbfZOyc7hJeUiHlXy0XTJt/uiT WIjN/qRQ==; Received: from authenticated user by zero.zsh.org with local id 1nj9wW-000MKV-1N; Tue, 26 Apr 2022 01:24:40 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f45.google.com) smtp.remote-ip=209.85.218.45; 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-ej1-f45.google.com ([209.85.218.45]:42707) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nj9wI-000LzU-MF; Tue, 26 Apr 2022 01:24:27 +0000 Received: by mail-ej1-f45.google.com with SMTP id i27so32963282ejd.9 for ; Mon, 25 Apr 2022 18:24:26 -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=q1WmskQobaOH0Ad0XqrIokWABTYXg+Rua3zlJ5EG/oE=; b=y9u5M1XKp4SvzTCXxF78azGlabVceSizxwH+6RpkH6gzmae+fv1gPtO8tx50SU1eoH Afyol300c68mKiP8qt1tSopZFUgOMKDL3WU1Fh0KtZNpGWCLK/2yMe5kL4X3pk+bsOjA jXmQxZhbaGJbAf0KUY+ZxeKf0QnxwrsE4dmyBtnYa5x+aesa1mWjxXsN4sXORGkS1Yl2 afotBNHCCgbP0vyrsqHqk5ZpcLSR9dpe3zBX7PcyxgNufjFjlgVvsCC9dQ9UnFEha6xd Zo91or+85zmQUhZuiwYPjjNrSh0osclyQVD5DWlBUpJOUAJz9HyxV+ieMPQDCUz9gRCS jtCQ== 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=q1WmskQobaOH0Ad0XqrIokWABTYXg+Rua3zlJ5EG/oE=; b=F8Tl9m3b92uU6WNfXJME7EZYIT201w9IIHqp7YFH4OVSj0nLzQLJCECuEKqmjOepAS ybtPfEatt5Vz6odvAHx2+YzDDSKFomjYh4rnM8f0FAHkR8fBd0+XRIXoD09SIt4S4A5Y tCqaxj1w9B9yZneL4HbYuPWF55brylsI1NO33F7nybfbfaVhNf2HYPrrJTyhmzBIQiIl voNc1xKBcnR575GWR9+02CDv4uQWCnAu7QYJnQs1DolnZxh5pKR2gn7sN/8VxwJ70HuC s8mwScnx06n6mgznUivIwFX2tlcl8kNWMNGBsLEPiLt+L1I1QNCrXjn24MK6VuciwGeZ I4aA== X-Gm-Message-State: AOAM531KhBnN/QGozFBzwAB2mUTR085Ad3vwZcDFpKdF5so2bbidLImQ M/ca7N4kU4+6xN7o0e6oerFCyCHZYHxFL/SgMGdP1nNzKxOkNQ== X-Google-Smtp-Source: ABdhPJx+K6WVwV/5f83CKjNN/uKE+doJT8j08486cS3HGOR5I40iZhDQ+hXBeqEOUueEhOLTCLdxT7WkP6OzFfzMDRs= X-Received: by 2002:a17:906:fc03:b0:6e8:9192:f6ce with SMTP id ov3-20020a170906fc0300b006e89192f6cemr19217379ejb.36.1650936266250; Mon, 25 Apr 2022 18:24:26 -0700 (PDT) MIME-Version: 1.0 References: <20220426003649.GA100943@zira.vinc17.org> In-Reply-To: <20220426003649.GA100943@zira.vinc17.org> From: Bart Schaefer Date: Mon, 25 Apr 2022 18:24:15 -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: 50097 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 5:37 PM Vincent Lefevre wrote: > > With zsh 5.8.1 under Linux (zsh 5.8.1-1 Debian/unstable package), > while I was executing a pipeline, I typed Ctrl-\ to interrupt it > (Ctrl-C had no effect), which made unexpectedly zsh quit: SIGQUIT > should interrupt the commands zsh starts, not the interactive shell > itself. I'm unable to reproduce this on Ubuntu 20.04 with 5.8.1.2-test. I vaguely recall there's actually a bug in some version(s?) of "less" that causes its parent to exit? 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.