Skip to content

Signal-related nitpicks #281

Description

@jpco

This issue lists a number of small behavioral nitpicks around signals.

  1. 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
  1. Consider supporting real-time signals on systems that support them (rc does this!)

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

  3. 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'''

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions