This issue lists a number of small behavioral nitpicks around signals.
- Every other shell, when placed in the spot of
$sh here, seems to handle the following gracefully, but not es. We should consider some kind of special SIGCHLD handling on startup.
local (signals = $signals -sigchld) $sh -c ls
-
Consider supporting real-time signals on systems that support them (rc does this!)
-
In the taxonomy of https://www.cons.org/cracauer/sigint.html, es is a "WUE" shell, but the ideal behavior seems to be being a "WCE" shell. We should look into this.
-
Possibly related to the above, we should look closer at sigint_newline to see if we can get it "just right" like bash, zsh, and ksh seem to have (judging by whether this command produces exactly one newline after the ^C when sigint is sent in the terminal during the sleep):
bash -c 'bash -c ''sleep 2'''
This issue lists a number of small behavioral nitpicks around signals.
$shhere, seems to handle the following gracefully, but not es. We should consider some kind of specialSIGCHLDhandling on startup.Consider supporting real-time signals on systems that support them (rc does this!)
In the taxonomy of https://www.cons.org/cracauer/sigint.html, es is a "WUE" shell, but the ideal behavior seems to be being a "WCE" shell. We should look into this.
Possibly related to the above, we should look closer at
sigint_newlineto see if we can get it "just right" like bash, zsh, and ksh seem to have (judging by whether this command produces exactly one newline after the^Cwhen sigint is sent in the terminal during thesleep):