http://qs321.pair.com?node_id=1214752


in reply to Re: signal handler output
in thread signal handler output

Not the shell, it's the tty driver itself. For linux, that would be n_tty_receive_char() in drivers/tty/n_tty.c. Upon receiving the control char, it optionally echoes it.