zsh-workers
 help / color / mirror / code / Atom feed
* [andrew@pimlott.net: Bug#303623: zsh: CHECK_JOBS doesn't work when only one command was run since last Control-D]
@ 2005-04-07 19:10 Clint Adams
  2005-04-08  0:05 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Clint Adams @ 2005-04-07 19:10 UTC (permalink / raw)
  To: zsh-workers; +Cc: 303623-submitter

----- 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 -----


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-10  4:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07 19:10 [andrew@pimlott.net: Bug#303623: zsh: CHECK_JOBS doesn't work when only one command was run since last Control-D] Clint Adams
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

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).