Hacker News with Generative AI: Signals

The history of Unix's ioctl and signal about window sizes (utoronto.ca)
One of the somewhat obscure features of Unix is that the kernel has a specific interface to get (and set) the 'window size' of your terminal, and can also send a Unix signal to your process when that size changes.
Beyond Ctrl-C: The dark corners of Unix signal handling (sunshowers.io)
Poor man's signals – tiny vanilla JavaScript signals implementation (plainvanillaweb.com)