funtoo/portage-funtoo — pull request #3 by mirell (2011-12-30 20:57:36+00:00)
Title: Allow --ask to be run even when not in a tty.

If a user has "EMERGE_DEFAULT_OPTS=--ask", in their make.conf, the
search chef does with emerge will never work, since it uses popen4.

The example given in the comment, that "emerge foo | tee blah" wouldn't
work, is, well, wrong. It appears to work on my machine.

I see no danger in letting people run --ask in these cases. If they
don't want to be a tty, that's their business.