zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: dominik.vogt@gmx.de, Zsh Users <zsh-users@zsh.org>
Subject: Re: kill % fails?
Date: Sat, 27 Nov 2021 18:15:32 -0800	[thread overview]
Message-ID: <CAH+w=7Yc_BXB+kUV=CmWOXY1H3YaK9JpRPOzX8jMJbpnO_WtOA@mail.gmail.com> (raw)
In-Reply-To: <YaLcDXizEedUq5Pr@gmx.de>

On Sat, Nov 27, 2021 at 5:32 PM Dominik Vogt <dominik.vogt@gmx.de> wrote:
>
> I thought only the background processes woul be put in the job
> table?

No ... the "for" loop and each of the foreground commands also have
job table entries, to permit ^Z/bg/fg management.  That's why you get
a full job table after 998 background jobs instead of 1000.

> Is there a way to print the command that could not be
> added?

Run with xtrace enabled?

For what it's worth, if you "setopt notify" (or rather, avoid "setopt
nonotify" which you must be getting from "sh" emulation?) you won't
fill the job table.


  reply	other threads:[~2021-11-28  2:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 18:20 Dominik Vogt
2021-11-27 20:28 ` Bart Schaefer
2021-11-28  1:31   ` Dominik Vogt
2021-11-28  2:15     ` Bart Schaefer [this message]
2021-11-28  9:49       ` Dominik Vogt
2021-11-28 20:10         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7Yc_BXB+kUV=CmWOXY1H3YaK9JpRPOzX8jMJbpnO_WtOA@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=dominik.vogt@gmx.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).