@tadpole @b0rk Yes, when a tty in cooked mode receives the byte configured as the intr character, the kernel tty layer delivers SIGINT to the foreground process group with that as its controlling tty.
Conversation
Notices
-
Embed this notice
Rich Felker (dalias@hachyderm.io)'s status on Wednesday, 19-Mar-2025 06:43:33 JST Rich Felker
-
Embed this notice
tadpole (tadpole@mastodon.social)'s status on Wednesday, 19-Mar-2025 06:43:35 JST tadpole
@b0rk I'm really curious about the details now. I'd guess there's a control character for it, and it would even work over the serial bus, so the OS/terminal driver converts it to a signal? And all other parts have to play along for it to be forwarded/handled accordingly?
-
Embed this notice