zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers <zsh-workers@zsh.org>
Cc: <303623-submitter@bugs.debian.org>
Subject: Re: Follow-up: CHECK_JOBS doesn't work when only one command was run since last Control-D
Date: Thu, 19 Apr 2012 07:40:13 -0700	[thread overview]
Message-ID: <120419074013.ZM7867@torch.brasslantern.com> (raw)
In-Reply-To: <20120419093645.40ae75fb@pwslap01u.europe.root.pri>

On Apr 19,  9:36am, Peter Stephenson wrote:
}
} It should surely be possible to fix it properly, somehow, so that if
} you've just looked at the jobs it will still exit but if you've executed
} anything else it won't.

Yes, that would be accomplished by removing stopmsg = 2 from zexit() but
leaving stopmsg = 2 in bin_jobs().

However, as I mentioned in follow-up, I fear the assignment in zexit()
may have an additional purpose, such as forcing the shell to get two
consecutive zero-length reads on SHIN in order to kill jobs and exit.
It's a little tricky to test this and I haven't had a chance yet.

-- 
Barton E. Schaefer


  reply	other threads:[~2012-04-19 14:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 23:44 Andrew Pimlott
2012-04-19  4:27 ` Bart Schaefer
2012-04-19  4:37   ` Bart Schaefer
2012-04-19  8:36   ` Peter Stephenson
2012-04-19 14:40     ` Bart Schaefer [this message]
2012-04-19 21:11       ` Bug#303623: " Andrew Pimlott

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=120419074013.ZM7867@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=303623-submitter@bugs.debian.org \
    --cc=zsh-workers@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).