[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-patch] RFE: --batch-skip
From: |
Karl Berry |
Subject: |
Re: [bug-patch] RFE: --batch-skip |
Date: |
Fri, 06 Sep 2013 16:48:04 -0600 |
>> 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