Claudio Jeker <cje...@diehard.n-r-g.com> wrote: > I think this is the wrong way around. The callers need to be fixed to pass > a blocking stdin to programs since that is what every unix utility > expects. What you propose it to fix every unix utility to have such a check > at the start of main. Sorry but no.
That's right. non-blocking or non-canonical input methods are for use inside a program, and must not be actively passed to programs which (cannot) expect the situation.