mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
add SIGILL to documented fatal signals #1357
This commit is contained in:
parent
8a7ff8a317
commit
2221120543
3
NEWS.md
3
NEWS.md
@ -1,6 +1,9 @@
|
||||
This document attempts to list user-visible changes and any major internal
|
||||
rearrangements of Notcurses.
|
||||
|
||||
* 2.2.3 (not yet released)
|
||||
* Add `SIGILL` to the set of fatal signals we handle.
|
||||
|
||||
* 2.2.2 (2021-02-18):
|
||||
* `notcurses_stats()` no longer qualifies its `notcurses*` argument with
|
||||
`const`, since it now takes a lock. I'm sorry about that, though on the
|
||||
|
@ -110,9 +110,9 @@ The following flags are defined:
|
||||
buffering; see **tcgetattr(3)**).
|
||||
|
||||
* **NCDIRECT_OPTION_NO_QUIT_SIGHANDLERS**: A signal handler will usually be
|
||||
installed for **SIGINT**, **SIGQUIT**, **SIGSEGV**, **SIGTERM**, and
|
||||
**SIGABRT**, cleaning up the terminal on such exceptions. With this flag,
|
||||
the handler will not be installed.
|
||||
installed for **SIGINT**, **SIGILL**, **SIGQUIT**, **SIGSEGV**,
|
||||
**SIGTERM**, and **SIGABRT**, cleaning up the terminal on such exceptions.
|
||||
With this flag, the handler will not be installed.
|
||||
|
||||
An appropriate **terminfo(5)** entry must exist for the terminal. This entry is
|
||||
usually selected using the value of the **TERM** environment variable (see
|
||||
|
@ -122,9 +122,9 @@ zero. The following flags are defined:
|
||||
input. With this flag, the handler will not be installed.
|
||||
|
||||
* **NCOPTION_NO_QUIT_SIGHANDLERS**: A signal handler will usually be installed
|
||||
for **SIGINT**, **SIGQUIT**, **SIGSEGV**, **SIGTERM**, and **SIGABRT**,
|
||||
cleaning up the terminal on such exceptions. With this flag, the handler
|
||||
will not be installed.
|
||||
for **SIGINT**, **SIGILL**, **SIGQUIT**, **SIGSEGV**, **SIGTERM**, and
|
||||
**SIGABRT**, cleaning up the terminal on such exceptions. With this flag,
|
||||
the handler will not be installed.
|
||||
|
||||
* **NCOPTION_SUPPRESS_BANNERS**: Disables the diagnostics and version
|
||||
information printed on startup, and the performance summary on exit.
|
||||
|
@ -836,9 +836,9 @@ typedef enum {
|
||||
// event in the notcurses_getc() queue. Set to inhibit this handler.
|
||||
#define NCOPTION_NO_WINCH_SIGHANDLER 0x0004ull
|
||||
|
||||
// We typically install a signal handler for SIG{INT, SEGV, ABRT, QUIT} that
|
||||
// restores the screen, and then calls the old signal handler. Set to inhibit
|
||||
// registration of these signal handlers.
|
||||
// We typically install a signal handler for SIG{INT, ILL, SEGV, ABRT, TERM,
|
||||
// QUIT} that restores the screen, and then calls the old signal handler. Set
|
||||
// to inhibit registration of these signal handlers.
|
||||
#define NCOPTION_NO_QUIT_SIGHANDLERS 0x0008ull
|
||||
|
||||
// NCOPTION_RETAIN_CURSOR was removed in 1.6.18. It ought be repurposed. FIXME.
|
||||
|
Loading…
x
Reference in New Issue
Block a user