From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: 303623-submitter@bugs.debian.org
Subject: [andrew@pimlott.net: Bug#303623: zsh: CHECK_JOBS doesn't work when only one command was run since last Control-D]
Date: Thu, 7 Apr 2005 15:10:59 -0400 [thread overview]
Message-ID: <20050407191059.GA11437@scowler.net> (raw)
----- Forwarded message from Andrew Pimlott <andrew@pimlott.net> -----
When a job is still running and the CHECK_JOBS is set, zsh should only
exit when it receives two exit requests in a row. However, sometimes it
honors an exit request in other conditions. One repeatable case is when
the request is a Control-D and there was only one command run since the
last exit request. The following illustrates (<C-D> stands for pressing
Control-D):
% vi
zsh: suspended vi
% exit
zsh: you have suspended jobs.
% true
% exit
zsh: you have suspended jobs.
% true
% true
% <C-D>
zsh: you have suspended jobs.
% true
% <C-D>
<shell exits>
I have accidentally logged out with my mail open several times because
of this.
Andrew
----- End forwarded message -----
next reply other threads:[~2005-04-07 19:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 19:10 Clint Adams [this message]
2005-04-08 0:05 ` Bart Schaefer
2005-04-09 23:47 ` Bug#303623: " Andrew Pimlott
2005-04-10 1:49 ` Bart Schaefer
2005-04-10 4:23 ` 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=20050407191059.GA11437@scowler.net \
--to=schizo@debian.org \
--cc=303623-submitter@bugs.debian.org \
--cc=zsh-workers@sunsite.dk \
/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).