Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[andrew@xxxxxxxxxxx: Bug#303623: zsh: CHECK_JOBS doesn't work when only one command was run since last Control-D]
- X-seq: zsh-workers 21113
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: [andrew@xxxxxxxxxxx: 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
- Cc: 303623-submitter@xxxxxxxxxxxxxxx
- Mail-followup-to: zsh-workers@xxxxxxxxxx, 303623-submitter@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
----- Forwarded message from Andrew Pimlott <andrew@xxxxxxxxxxx> -----
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 -----
Messages sorted by:
Reverse Date,
Date,
Thread,
Author