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 25389 invoked from network); 23 Jul 2021 20:42:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Jul 2021 20:42:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1627072955; b=yFizYziBWwbEB/Uz6sTdMl6KG3zm3lThdbimjzVe7hJwFMjBBwwauI3D1Q8XA+gWYbcIoeClIE 0VkEsLfAeBBKLKerazs6dBrICg5aB0ETvetauZg0YoHEKUnK9+7iu1Er70AlEAuvjVf3yFf4Z2 VECtgA9q7gIs8PZsTkONXFdBTt8q7BGxqMLePiBqE+HT4mxFtheS5ynX0f3QNrbaxsOoMY+lmS Ho54/ntkLOqpcZ3S/REMy3T7gNA3QmrSZeSInLTu0VW66sMGeV2XDEPNRsYUH27D1Il4m+/z70 3x6+c/UJOR1Xl7v0+ZG/MyvP6tHQ+GGEnxnSsX/mfml5Ww==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f178.google.com) smtp.remote-ip=209.85.219.178; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 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-20200801; t=1627072955; bh=VHP8ngTw6ii0yspGMhGSZKrlofKNfyvOetQxahPi1h4=; 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=khVouROIGMqSYrRWdFlPNRmoYfgshQK/qlt9BD4VKkxqACGNNbClTCJiEXwjX6+7pu1UYGV2mu Uh4dsnfi0N2AwfTK6XCgIPVttwdm+pVWTZjgicCeb7QkYEa8HVi5BXAc6wy3yUlpILuPsYkZZl Ak69klEa/okfw65UhhN19BItFMVrG5KRXIrww6ink7W5LGVF/4Mv9RIJvyUjyP2/mDluh9jDkI XYWQBbI+BJHdx0DQDmB/nnpwJRWGaudl5M7qOK7yf6Z0ZCQgB4tn00qBOI1agWmX9IRprWFlD2 ThxQnCwtlPREjWIiVykNk45CunX2n3jTtvqTaP6DC4aKeQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; 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=tXvLSVxnC/eGZbpBN47cBhORuKCsuDHG/WiMPF/Pp88=; b=FuSVJbQNnyDxeR33yp3K73zouX 5JT9dyDzr6E59ZKkfTKZuTma7OIMZgZeGvOBU1yPE3mR64LhP7BPBdRdt/bPPSrXkTyHzjVhdN5OH kDJpifDsOptfu43u2Saytsf2CIRYmb/e/X205LBnytI7Mnu9zWzjA9IxsaTM3piY9TNRzy93IYmE/ JgRUZHGc17OG2Wx3XOfup9OkiNT7cwInei1f8lK9hi8p6YTEdE09xzBo8rpVLg8VAlTpvJEi8FCE7 EPBB7UbJ/jVg8CnEmSbJf570S+2ZLNlv0inAmd21l/zdQNB3BEuy0kHvV8JobLm/7lMyFcbZNeiiz bUBBQGFg==; Received: from authenticated user by zero.zsh.org with local id 1m7209-00080H-Cj; Fri, 23 Jul 2021 20:42:33 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f178.google.com) smtp.remote-ip=209.85.219.178; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f178.google.com ([209.85.219.178]:40580) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1m71zT-0007Gk-A2; Fri, 23 Jul 2021 20:41:53 +0000 Received: by mail-yb1-f178.google.com with SMTP id l145so4212280ybf.7 for ; Fri, 23 Jul 2021 13:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tXvLSVxnC/eGZbpBN47cBhORuKCsuDHG/WiMPF/Pp88=; b=xBVYw7f2lbCNvv46rfyKLlc1Ueu32Jg+Qs/ixXHVAgPwRiv5LclbFBgYAxdDsvvYBM 6B2jcDeX8AS0HT1n0BnZ83zMXB8sxf/3dWhSfoKN7ZzA61H0JQFieJeE/pGYRVp+5DPo zSEmT1oL/LXGMpvKHqmb95d85789S08DZRNnqPKe2b660Q08EmHj4X/FGwWaClCox7f6 qQurahy585o7+UCd34wq/re5kiQfWZmTNM5g4D9owAwQSc+c9lzuGYS998Y787nPsiYl OT0+6Rv+c27/2moDeD+BoHthoz7DYqnoUbZesntDZN7/HjKqICzejmpc3t6RtPhOOO1p 2EzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tXvLSVxnC/eGZbpBN47cBhORuKCsuDHG/WiMPF/Pp88=; b=Qegvo91jn02hDRTnG+hTLWreTDCrICN+BYFJ8uwFjq6Np9wOkQVopMaXgipqArah9S xy1z9C0rtsk7ByanJN0sQ8KpvMwf+6OirUC+5u9epoK172jFw7zUu0HP4uj58JIvj6BC eD1jnzTYeqhhnykdDhp5eS4xBjfe/k807dN07/c5VgTLYVwr5foVdQoQ/z+J+buDFntd bsjOhGPVhlanLiwNEG4LpSF/fBRohouqI8u/wWe2kaBiWSXIhx9h3LvEr5PDPIFFBayb 0qnmLO4o1BqKtUFQI1/XFsbsWXJi6KoGKPwWjx9AdSZYMyGuHJWVsKAqQAcnp5VfSE3n 9IUw== X-Gm-Message-State: AOAM532PMe0DCeHNcOP47Yyj3zdUnpSADkelMTJzozBjB5ZhJP4aYNfe JLZXCZ2SAsQJ1gbe6JL/KGJf1kOOfQ4uE3lOwnWzAw== X-Google-Smtp-Source: ABdhPJw1Wv7WMKSkXLFaNM3yadXQbnaNpc9qQ82w7pckICLSsyZ9vVsfp5NlDAFI0I+6FVnpSzojK3a1iOB8EWtHrmY= X-Received: by 2002:a25:25cd:: with SMTP id l196mr8798395ybl.226.1627072910201; Fri, 23 Jul 2021 13:41:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Fri, 23 Jul 2021 13:41:39 -0700 Message-ID: Subject: Re: Trapping Real Time Signals in ZSH To: bagnaramatt@gmail.com Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 26802 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 Wed, Jul 21, 2021 at 7:31 PM wrote: > > In bash the trap builtin is able to handle all signals including SRTMIN- > SIGRTMAX. In ZSH the kill builtin dos not provide the ability to utilize all > of there signals. Is there any supported way to handle trapping real-time > signals in ZSH? Currently there is not. The scripts in the build process that extract signal names from the system headers do not recognize SIGRTMIN or or SIGRTMAX, and the faux signals SIGZERR and SIGDEBUG may overlap with the range of realtime signals. However, it's possible to send any of these signals by number with the kill builtin, even though "kill -l" doesn't list them.