>> then it reads from /dev/tty

This is probably going too far, but the approach that occurs to me is to
have an option to avoid reading from /dev/tty at all, but just read from
stdin or a specified file.  Then you could presumably feed it with
yes no | patch ...
or similar.

Whenever a program insists on reading from /dev/tty, I find that sooner
or later I want to feed it input :(.  (It's even worse when they want to
throw up X windows for interaction.  "throw up", indeed.)

I suspect this is rather nontrivial to implement, though, even if
it was acceptable in theory (also dubious).  Just thought I'd mention it.

karl

Reply via email to