Wayne Davison
693fd5b56e
Check the return value of all pipe(), read(), and write() calls.
...
Gets rid of all the remaining "ignoring return value" compiler
warnings, and makes some read/write operations safer by ensuring
that an EINTR is handled.
2009-12-16 18:39:06 +00:00
Peter Stephenson
3206b8a2ea
27442 plus tweak: wait returns status for $! even if exited
2009-12-02 09:46:12 +00:00
Peter Stephenson
500431077b
Apple opensource patches suggested by Jun T. in 27300
2009-09-30 20:32:18 +00:00
Bart Schaefer
bda90c969f
27159: restore pre-23067 behavior of SIGINT outside a "wait", so that
...
foreground jobs that handle or ignore interrupts are not orphaned.
2009-07-20 04:38:56 +00:00
Peter Stephenson
3257f6b8d5
27134: Close SHTTY on exec.
...
27135: POSIX_JOBS leaves MONITOR on in subshell and doesn't save
parent job table.
2009-07-12 15:09:56 +00:00
Peter Stephenson
653d6a0dd9
27131: allow MONITOR in subshell by not closing SHTTY
2009-07-11 19:06:51 +00:00
Peter Stephenson
73be7ee553
27106: reset status on command that expands to empty
...
27122: add POSIX_JOBS option
2009-07-10 11:08:39 +00:00
Peter Stephenson
bd2ee44b78
27119: job output to stdout if non-interactive
...
no automated jobs notifications
2009-07-10 09:10:59 +00:00
Peter Stephenson
5df700fb5b
27112: allow jobbing output if not interactive
2009-07-09 20:33:56 +00:00
Bart Schaefer
14e7096982
users/13937, users/13939: configure.ac, Src/jobs.c: check for
...
and if available use setproctitle() for "jobs -Z".
2009-03-16 05:20:36 +00:00
Peter Stephenson
f0bcd0ecd0
users/13910: spawnjob() should output to tty
2009-03-14 20:30:09 +00:00
Peter Stephenson
0c9830d23c
25345, 25347: neaten interface from main shell to zle
2008-07-31 08:44:16 +00:00
Peter Stephenson
a9ad660bd3
users/12812: fix hang with confusion over process numbers
2008-05-02 22:48:58 +00:00
Peter Stephenson
845faf5586
22281: wait shouldn't return immediately on signal unless trapped
2008-03-25 18:17:07 +00:00
Peter Stephenson
1ee6295909
24279: allow terminal changes after zle -I to be acquired by main shell
2007-12-18 10:42:36 +00:00
Peter Stephenson
f5a6b2a8c9
users/11818: allow non-numeric keys for job status parameters
2007-09-05 16:16:15 +00:00
Peter Stephenson
e85760e05e
users/11807: fix some job display bugs
2007-09-04 20:43:52 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
fcd2c9243f
23460: fix problem with ( stuff ) >multio1 >multio2
2007-05-23 11:21:10 +00:00
Peter Stephenson
38cdf73794
unposted: uninitialized variable in 23238
2007-03-27 15:16:56 +00:00
Peter Stephenson
9fb47cff9d
23238: jobs didn't get deleted if they weren't printed
2007-03-27 10:56:53 +00:00
Peter Stephenson
a1476c1ee2
23141: don't zrfresh() after printjob() that didn't print
2007-01-30 19:03:45 +00:00
Peter Stephenson
553e011320
23118: improve sorting to make it work with locales
2007-01-21 22:47:36 +00:00
Peter Stephenson
8b800f8fd1
document OS may handle negative or zero PID in kill
2006-12-19 10:35:54 +00:00
Peter Stephenson
b5a0b49dff
23054, part: error message for "kill -" with nothing after the - was confusing
2006-12-18 11:16:00 +00:00
Peter Stephenson
da0dfc62df
fix error message
2006-11-06 12:49:20 +00:00
Peter Stephenson
ebc76673aa
22953: Mikael Magnusson: _most_recent_file fix.
...
users/10928: send all "jobs" output to stdout
2006-11-03 19:44:47 +00:00
Peter Stephenson
ff9f2bb88e
22913: set $! on "bg"
2006-10-30 10:37:17 +00:00
Peter Stephenson
6157c14d06
22525: lengths and cases of multibyte strings in parameters and history
2006-06-28 13:12:55 +00:00
Peter Stephenson
dd5602f59b
22474: use variable argument lists to improve error message handling
2006-05-30 22:35:03 +00:00
Wayne Davison
41fb468fca
Fixed a compilation problem when HAVE_GETRUSAGE is defined
...
but HAVE_WAIT3. See the sourceforge bug report:
https://sourceforge.net/tracker/?func=detail&atid=104068&aid=1262954&group_id=4068
2006-03-27 11:41:17 +00:00
Peter Stephenson
31f6b3fb07
22317: exit status from code backgrounded in function
...
22277, 22281, tweaks: standardize behaviour of wait builtin
with trapped signals
2006-03-02 22:05:21 +00:00
Peter Stephenson
ba8349e6ed
22200: process text wasn't unmetafied for output.
2006-02-07 16:55:09 +00:00
Peter Stephenson
4a2f8d92e7
21872: job accounting in subshells was screwy
2005-10-13 17:49:59 +00:00
Bart Schaefer
495f177f3a
21366: LONG_LIST_JOBS applies to more places where job listings are printed
2005-08-15 03:28:39 +00:00
Peter Stephenson
a6660cadc6
21391: only pass SIGINT and SIGQUIT from foreground processes to the shell.
2005-06-28 09:37:21 +00:00
Peter Stephenson
772007e76c
21296: Add ERR alias for ZERR where possible.
...
"trap" reports alias names.
2005-06-01 10:45:32 +00:00
Peter Stephenson
af1c6ecdc7
20888: allow signal names to have the SIG prefix included
2005-02-28 14:29:09 +00:00
Peter Stephenson
88a37cc187
c.f. 20675: improve zle as a basis for Unicode.
...
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Peter Stephenson
5141e68daa
20572: Allow alternative signal names
2004-11-22 10:33:03 +00:00
Wayne Davison
106329c82e
Fixed an arg in a call to times() (from Borzenkov Andrey).
2004-10-22 19:38:59 +00:00
Peter Stephenson
feca88ede6
20513: fix tests of zero-length patterns
...
trivial optimisation in jobs.c (unposted)
2004-10-22 15:36:35 +00:00
Peter Stephenson
8a67a66a61
20467: Reintroduce rusage-based escapes for TIMEFMT.
2004-10-08 14:36:51 +00:00
Peter Stephenson
cc72740775
20462: Use getrusage for timing again.
...
Time processes from before rather than after fork.
2004-10-07 09:45:43 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
f160996d51
Changed a few job-table variables into ints.
2004-05-28 19:16:55 +00:00
Peter Stephenson
5ac05cab9f
19976: fix spurious job table full messages
2004-05-25 18:38:56 +00:00
Peter Stephenson
885509c023
Fix TRAPS_ASYNC so that it handles signals correctly.
2004-05-02 19:55:54 +00:00
Peter Stephenson
5747147aff
19809: improve NO_TRAPS_ASYNC by queueing traps alone
2004-04-21 11:18:45 +00:00
Peter Stephenson
b5ceb73026
zsh-users/7365: new TRAPS_ASYNC option
2004-04-19 16:02:17 +00:00