From: Greg Wooledge
Subject: Re: Exiting the "read" builtin with trapped ^C
Date: Mon, 22 Jun 2026 11:30:34 -0400
>> (*) And quite a bit more complicated than my original posted solution.
>I disagree. stty is much simpler (in terms of rolling out this script)
>than a custom C program that injects bytes into a terminal.
Yeah, I can see how you might think that, but in fact, do_TIO is
already part of my toolkit (I use it for many things) and is also
already part of the actual-use-case script. So, for me, it is quite
natural to use it.
=================================================================================
Please do not send me replies to my posts on the list.
I always read the replies via the web archive, so CC'ing to me is unnecessary.
When responding to my posts, please try to refrain from giving bureaucratic
answers. If you have nothing useful to say, then just click Next and go on.