<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>134466</bug_id>
          
          <creation_ts>2006-05-26 18:51 0000</creation_ts>
          <short_desc>portage accepts enter as yes at yes/no prompts</short_desc>
          <delta_ts>2009-11-04 11:23:24 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Portage Development</product>
          <component>Core - Interface (emerge)</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210077</blocked>
    
    <blocked>288499</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@altkai.ml1.net</reporter>
          <assigned_to>dev-portage@gentoo.org</assigned_to>
          <cc>amne@gentoo.org</cc>
    
    <cc>askwar@digitalprojects.com</cc>
    
    <cc>betelgeuse@gentoo.org</cc>
    
    <cc>chutz@gg3.net</cc>
    
    <cc>dirtyepic@gentoo.org</cc>
    
    <cc>genstef@gentoo.org</cc>
    
    <cc>gentoo-bugs@allenjb.me.uk</cc>
    
    <cc>leio@gentoo.org</cc>
    
    <cc>nyhm@gentoo.org</cc>
    
    <cc>siryes@gmail.com</cc>
    
    <cc>zlin@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@altkai.ml1.net</who>
            <bug_when>2006-05-26 18:51:23 0000</bug_when>
            <thetext>I&apos;m using Portage 2.0.54-r2. Press enter at any yes/no prompt (via -a), results in Portage assuming &apos;yes&apos;.

If this is intended behaviour, please consider this a request to not accept enter at said prompt.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-26 19:12:39 0000</bug_when>
            <thetext>Thanks, this is fixed in svn r3426.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-26 22:13:12 0000</bug_when>
            <thetext>Hmm.

Is it possible to revert back to the old behaviour by setting some variable in /etc/make.conf? During my ~3 years of using Gentoo I got used to this feature...

So I don&apos;t really like this [forced, IMO] change :(
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-26 22:24:16 0000</bug_when>
            <thetext>Created an attachment (id=87615)
reject empty responses when the enter key is pressed

(In reply to comment #2)
&gt; Is it possible to revert back to the old behaviour by setting some variable in
&gt; /etc/make.conf?

Not currently.  You can reverse the patch if you like.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-27 00:45:47 0000</bug_when>
            <thetext>Thanks a lot :)
Especially for a quick response!

If I have time maybe I&apos;ll hack some mechanism controlling that behaviour
by a variable from /etc/make.conf (FEATURES=&quot;defaultyes&quot; possibly)?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-27 01:56:17 0000</bug_when>
            <thetext>Created an attachment (id=87618)
allow empty responses when FEATURES=&quot;defaultyes&quot; is set

I got it. Here&apos;s a patch against portage-2.1_rc2-r3 that accepts enter key
if &quot;defaultyes&quot; is present in portage.settings.features

Is it possible/desirable to apply such a patch against official emerge?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-27 04:25:50 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Is it possible/desirable to apply such a patch against official emerge?

In order to meet our release schedule, we&apos;re not adding any new features to the 2.1 branch.  As for your patch, I think it would be nice if it allowed either yes or no to be specified as the default.  Also, the prompt should indicate what the default value is.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-27 04:26:06 0000</bug_when>
            <thetext>This has been released in 2.1_rc3</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mikachu@gmail.com</who>
            <bug_when>2006-05-27 08:13:46 0000</bug_when>
            <thetext>So it&apos;s too late in the schedule to add new features, but not too late to change default behaviour???</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chutz@gg3.net</who>
            <bug_when>2006-05-27 08:53:53 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; So it&apos;s too late in the schedule to add new features, but not too late to
&gt; change default behaviour???

+1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2006-05-27 09:18:04 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; So it&apos;s too late in the schedule to add new features, but not too late to
&gt; change default behaviour???
&gt; 

A release canidate means we fix bugs.  I&apos;d wager that this was in fact a bug, thus it gets fixed.  We may change it later; there is talk of adding more features to do this ( although I&apos;m not in favor of that ) that give you the flexability you are looking for.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mikachu@gmail.com</who>
            <bug_when>2006-05-27 09:56:23 0000</bug_when>
            <thetext>I always interpreted the green color of Yes to mean it&apos;s the default option, so I don&apos;t think it was a bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@altkai.ml1.net</who>
            <bug_when>2006-05-27 10:10:52 0000</bug_when>
            <thetext>Agree completely with Comment #6 - that the user should be told what the default is if enter is to be accepted as a response.

Mikael, Georgi: I truly thought this was a bug that did not appear in past Portage versions. While I sympathize, accepting enter as yes for potentially destructive operations is not good design.

My motivation for posting was an accidental return press when switching xterms too quickly. Fortunately, I was updating and not pruning or depcleaning at the time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-27 10:35:08 0000</bug_when>
            <thetext>Created an attachment (id=87674)
allow empty responses when FEATURES=&quot;defaultyes&quot; (v. 2.1_rc3)

Patch against portage-2.1_rc3. Even though not completely useful in the long
run (impossible to select a default &quot;yes&quot; or &quot;no&quot;, doesn&apos;t inform the user
which answer is the default one), I think it&apos;s worth posting anyway.

(In reply to comment #5)
&gt; I think it would be nice if it allowed either yes or no to be specified as
&gt; the default.  Also, the prompt should indicate what the default value is.

While I think that the prompt could indicate default value more clearly, the
possibility for &quot;No&quot; as the default is completely useless. One has to invoke
emerge with &quot;-a&quot; parameter to make it ask for confirmation. Without &quot;-a&quot; it
just goes and does its job without asking at all!

With &quot;-a&quot; defaulting to &quot;No&quot; one only has a double protection: first emerge
asks if it&apos;s okay to proceed, then one HAS TO type &quot;Yes&quot; (or a substring of
this word) to actually continue. To be asked one has to do more work already
(add the &quot;-a&quot; parameter), so what is the point for this double protection?

My final statement:
Do what you want with it, I know where to fix things for myself ;-)

EOT</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2006-05-27 12:21:24 0000</bug_when>
            <thetext>*** Bug 134553 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>antarus@gentoo.org</who>
            <bug_when>2006-05-27 12:41:25 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; Created an attachment (id=87674) [edit]
&gt; allow empty responses when FEATURES=&quot;defaultyes&quot; (v. 2.1_rc3)
&gt; 
&gt; Patch against portage-2.1_rc3. Even though not completely useful in the long
&gt; run (impossible to select a default &quot;yes&quot; or &quot;no&quot;, doesn&apos;t inform the user
&gt; which answer is the default one), I think it&apos;s worth posting anyway.
&gt; 
&gt; (In reply to comment #5)
&gt; &gt; I think it would be nice if it allowed either yes or no to be specified as
&gt; &gt; the default.  Also, the prompt should indicate what the default value is.
&gt; 
&gt; While I think that the prompt could indicate default value more clearly, the
&gt; possibility for &quot;No&quot; as the default is completely useless. One has to invoke
&gt; emerge with &quot;-a&quot; parameter to make it ask for confirmation. Without &quot;-a&quot; it
&gt; just goes and does its job without asking at all!
Most people I talk to have -a in EMERGE_DEFAULT_OPTS and thus it&apos;s always on.

&gt; 
&gt; With &quot;-a&quot; defaulting to &quot;No&quot; one only has a double protection: first emerge
&gt; asks if it&apos;s okay to proceed, then one HAS TO type &quot;Yes&quot; (or a substring of
&gt; this word) to actually continue. To be asked one has to do more work already
&gt; (add the &quot;-a&quot; parameter), so what is the point for this double protection?
&gt; 
&gt; My final statement:
&gt; Do what you want with it, I know where to fix things for myself ;-)
&gt; 
&gt; EOT
&gt; 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-27 12:58:05 0000</bug_when>
            <thetext>&gt; Most people I talk to have -a in EMERGE_DEFAULT_OPTS and thus it&apos;s always on.

Most users I know never heard of this variable. It&apos;s not mentioned in Handbook
(http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1) and only
advertized in &quot;emerge --info&quot; output:

Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

Now that you&apos;ve mentioned that, EMERGE_DEFAULT_OPTS is empty by default and people putting &quot;-a&quot; there already knew what were they doing, right? So, for
a long time nobody complained, and now the current stable behaviour is considered a bug. How nice.

(sorry, but you made me write this)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk@liji-und-dirk.de</who>
            <bug_when>2006-05-27 17:16:39 0000</bug_when>
            <thetext>sorry that i have to give my comment, i use ~arch portage since it appeared and as long as i remember whenever i pressed enter the action just started
it actually is really annoying now that the empty response is not understood anymore and i explicit have to type y to get emerge started
no as standard response is even more &apos;strange&apos; then i can rid -a completely and just use -p since i won&apos;t start emerge then anyway

i&apos;d be happy to see that useful yes for empty respose back in portage

actually till now i always took the green answer as the default, never occured otherwise to me


...just a frequent emerge users comment (with -a in emerge default options)...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2006-05-27 22:12:31 0000</bug_when>
            <thetext>ditto.  this is amazingly annoying.  please consider reverting this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>leio@gentoo.org</who>
            <bug_when>2006-05-27 22:20:35 0000</bug_when>
            <thetext>Same here. It&apos;s simply bothering to have to write Y instead of just enter.
The main purpose of emerge -a (which I have in default opts) to me (and probably many others) is to see what will be done prior to doing it, and usually just ACK it. Therefore, I just emerge world, quickly see what&apos;s going to be done, and just hit enter.
Furthermore, with -a in default opts, it will ask for confirmation on things like emerge --sync as well. I used to just type emerge --sync and hit enter twice to get past the question. Now I can&apos;t.
I don&apos;t see the reasoning of this change - Yes was brought out as green, e.g the default, and now it doesn&apos;t work in the middle of release candidates.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2006-05-27 22:38:57 0000</bug_when>
            <thetext>(In reply to comment #18)
&gt; ditto.  this is amazingly annoying.  please consider reverting this.
&gt; 

Same here. I also don&apos;t agree that it is dangerous to accept &lt;Enter&gt; as &lt;y&gt;, as the user has to explicitly ask for being asked - either by calling &quot;emerge -a&quot; or putting &quot;-a&quot; in the default opts.

Further, I always understood the green Yes to mean, that this is the default. So, for me, it was NO bug that &lt;Enter&gt; acted as if the default were entered.

Please revert this or apply the patch. I mean, it cannot be too late in the schedule for such a patch, as it was not too late in the schedule to introduce a new feature (&lt;Enter&gt; does not mean &lt;y&gt; - this is a new feature and no bug fix).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-27 22:50:13 0000</bug_when>
            <thetext>(In reply to comment #20)
&gt; (&lt;Enter&gt; does not mean &lt;y&gt; - this is a new feature and no bug fix).

I say it&apos;s bug.  For example, if there user types `emerge -a depclean` and hits the enter key twice instead of once, the prompt no longer works as expected and can lead to bad consequences.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jstubbs@gentoo.org</who>
            <bug_when>2006-05-27 22:50:56 0000</bug_when>
            <thetext>The middle ground of clearing the input buffer before displaying the text sounds like the best road here. The only reason for not having &lt;enter&gt; default to &lt;yes&gt; is accidentally hitting enter twice when executing emerge. If the input buffer is cleared, that issue is resolved.

(In reply to comment #12)
&gt; My motivation for posting was an accidental return press when switching xterms
&gt; too quickly. Fortunately, I was updating and not pruning or depcleaning at the
&gt; time.

This is not really good reasoning. Accidents of this nature are just as likely to happen regardless of what needs to be entered. For example, you type &quot;y&quot;, then realize that you don&apos;t want to do whatever is suggested, go to hit backspace but hit enter instead.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-27 22:58:26 0000</bug_when>
            <thetext>(In reply to comment #22)
&gt; The middle ground of clearing the input buffer before displaying the text
&gt; sounds like the best road here. The only reason for not having &lt;enter&gt; default
&gt; to &lt;yes&gt; is accidentally hitting enter twice when executing emerge. If the
&gt; input buffer is cleared, that issue is resolved.

I like that idea.  I&apos;ll go ahead and do that for rc3-r1...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>askwar@digitalprojects.com</who>
            <bug_when>2006-05-27 23:01:50 0000</bug_when>
            <thetext>(In reply to comment #21)
&gt; (In reply to comment #20)
&gt; &gt; (&lt;Enter&gt; does not mean &lt;y&gt; - this is a new feature and no bug fix).
&gt; 
&gt; I say it&apos;s bug.  For example, if there user types `emerge -a depclean` and hits
&gt; the enter key twice instead of once, the prompt no longer works as expected and
&gt; can lead to bad consequences.

But the user would have first to enter &quot;emerge -a&quot;, which is not a default (adding it to the default opts in make.conf doesn&apos;t count).

But what happens, if the user accidentally hits &quot;y&lt;enter&gt;&quot;? The prompt then also doesn&apos;t as expected.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-27 23:17:41 0000</bug_when>
            <thetext>(In reply to comment #24)
&gt; But what happens, if the user accidentally hits &quot;y&lt;enter&gt;&quot;? The prompt then
&gt; also doesn&apos;t as expected.

That is much less likely to occur that the &quot;pressing enter twice&quot; scenario.  Anyway, &quot;yes&quot; will be the default once again in rc3-r1 (though the input buffer will be cleared and the prompt will clearly indicate that &quot;yes&quot; is the default response).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-28 03:21:45 0000</bug_when>
            <thetext>After doing some investigation, it seems that there&apos;s no really clean way to flush  the buffer for stdin.  It would take more than a couple lines of code and would basically would amount to adding a new feature. So... I guess we&apos;ll have to just revert to the old behavior but document it so that it doesn&apos;t catch anyone by surprise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>siryes@gmail.com</who>
            <bug_when>2006-05-28 07:55:20 0000</bug_when>
            <thetext>I&apos;m not a python expert, but wouldn&apos;t

  sys.stdin.flush()

be enough?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jstubbs@gentoo.org</who>
            <bug_when>2006-05-28 08:28:54 0000</bug_when>
            <thetext>I had similar thoughts but after some investigating of my own:

http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1044873249&amp;id=1043284392</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-28 16:30:31 0000</bug_when>
            <thetext>The old behavior has been restored and the documentation has been updated in svn r3437. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2006-05-28 19:22:59 0000</bug_when>
            <thetext>This has been released in 2.1_rc3-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2006-05-28 22:02:39 0000</bug_when>
            <thetext>(In reply to comment #29)
&gt; The old behavior has been restored and the documentation has been updated in
&gt; svn r3437. 

Thank you. Remember folks, if someone by accident hits enter without meaning it Ctrl-c does work.. This was no bug. It was clearly marked with capital Y (not the color) and it does seem completely logical that enter means confirm and Ctrl-c means abort..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zlin@gentoo.org</who>
            <bug_when>2006-05-28 22:24:30 0000</bug_when>
            <thetext>(In reply to comment #31)
&gt; This was no bug. It was clearly marked with capital Y (not
&gt; the color)[...]

Apparently this is false as the no option had a capital N too. I probably should have checked that before posting #31, so sorry for that. IMHO Yes being the default should be the only option beginning with a capital letter. But that is a minor issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@altkai.ml1.net</who>
            <bug_when>2006-05-28 23:57:55 0000</bug_when>
            <thetext>I&apos;m frankly surprised that
a) so many people relied on enter
b) interpreted a green Yes to mean it as the option that would be selected if they pressed enter

If I were interested in furthering this discussion, which I&apos;m not, I would ask you (those who see the enter-as-yes behaviour as logical) what other programs you use that behave the same. In my experience, if a prompt presents you two options, those are indeed the only two options. What I *have* seen is something like &quot;Do this? Yes/No [Yes]&quot;, which obviously indicates that one should expect Yes to be answered if one presses enter.

With regard to this comment:
&gt; This is not really good reasoning. Accidents of this nature are just as likely
&gt; to happen regardless of what needs to be entered. For example, you type &quot;y&quot;,
&gt; then realize that you don&apos;t want to do whatever is suggested, go to hit
&gt; backspace but hit enter instead.

I cannot agree. Two keypresses (i.e. y and enter) are much safer than one (i.e. enter).

Again, I&apos;m not arguing against the decision the devs made to keep the prompt as is. Many people are accustomed to the current behaviour, and don&apos;t want it to change for that reason. What disturbs me is how some seem to defend it as a logical, understandable design, which it is not.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blubb@gentoo.org</who>
            <bug_when>2006-05-29 03:33:50 0000</bug_when>
            <thetext>(In reply to comment #33)
&gt; If I were interested in furthering this discussion, which I&apos;m not, I would ask
&gt; you (those who see the enter-as-yes behaviour as logical) what other programs
&gt; you use that behave the same. In my experience, if a prompt presents you two
&gt; options, those are indeed the only two options. What I *have* seen is something
&gt; like &quot;Do this? Yes/No [Yes]&quot;, which obviously indicates that one should expect
&gt; Yes to be answered if one presses enter.

Think of any GUI app: When you hit enter, it&apos;s usually [OK] or whatever the default is that is chosen.
 
&gt; With regard to this comment:
&gt; &gt; This is not really good reasoning. Accidents of this nature are just as likely
&gt; &gt; to happen regardless of what needs to be entered. For example, you type &quot;y&quot;,
&gt; &gt; then realize that you don&apos;t want to do whatever is suggested, go to hit
&gt; &gt; backspace but hit enter instead.
&gt; 
&gt; I cannot agree. Two keypresses (i.e. y and enter) are much safer than one (i.e.
&gt; enter).

Sure, but it&apos;s not that hard to interrupt emerge once the enter button was accidentally pressed twice. Also, it&apos;s not emerge&apos;s fault if the user isn&apos;t careful enough. What&apos;s next? Spelling correction in ACCEPT_KEYWORDS? A &apos;Are you sure you want to exit?&apos; prompt? It&apos;s just as easy to accidentally ctrl-c in the wrong terminal as pressing enter. Instead of catching all these cases, we should simply assume that the user is clever enough.

&gt; Again, I&apos;m not arguing against the decision the devs made to keep the prompt as
&gt; is. Many people are accustomed to the current behaviour, and don&apos;t want it to
&gt; change for that reason. What disturbs me is how some seem to defend it as a
&gt; logical, understandable design, which it is not.

Well, obviously people disagree here. I don&apos;t try to &apos;defend&apos; it as logical, i do find it logical. Reasons were already mentioned, because it is simply a reasonable default.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@altkai.ml1.net</who>
            <bug_when>2006-05-29 11:38:32 0000</bug_when>
            <thetext>(In reply to comment #34)
&gt; Think of any GUI app: When you hit enter, it&apos;s usually [OK] or whatever the
&gt; default is that is chosen.

For a yes/no decision, a GUI program would indicate the default via a thin dotted box. The Portage prompt lacks an analogous indication, unless you see green as such an indication. Additionally, programs do not generally default to the destructive action, which Portage does.

&gt; Sure, but it&apos;s not that hard to interrupt emerge once the enter button was
&gt; accidentally pressed twice. Also, it&apos;s not emerge&apos;s fault if the user isn&apos;t
&gt; careful enough. What&apos;s next? Spelling correction in ACCEPT_KEYWORDS? A &apos;Are you
&gt; sure you want to exit?&apos; prompt? It&apos;s just as easy to accidentally ctrl-c in the
&gt; wrong terminal as pressing enter. Instead of catching all these cases, we
&gt; should simply assume that the user is clever enough.

I&apos;m not advocating for additional protections, and I agree that there is a limit to how much you can protect users from carelessness. For destructive actions, two keypresses is the ideal, and standard amount of safety.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-12-17 04:52:06 0000</bug_when>
            <thetext>*** Bug 158354 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-12-17 05:10:29 0000</bug_when>
            <thetext>(In reply to comment #36)
&gt; *** Bug 158354 has been marked as a duplicate of this bug. ***
&gt; 

Could we at least change the text to something like:
Would you like to unmerge these packages? [Type No to abort]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2009-10-24 06:57:26 0000</bug_when>
            <thetext>In svn r14710 I&apos;ve added a --ask-enter-invalid option. When used together with the --ask option, a single &quot;Enter&quot; key press is interpreted as invalid input.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zmedico@gentoo.org</who>
            <bug_when>2009-10-31 04:33:13 0000</bug_when>
            <thetext>This is fixed in 2.1.7.2 and 2.2_rc47.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>arfrever@gentoo.org</who>
            <bug_when>2009-11-04 11:23:24 0000</bug_when>
            <thetext>*** Bug 291823 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87615</attachid>
            <date>2006-05-26 22:24 0000</date>
            <desc>reject empty responses when the enter key is pressed</desc>
            <filename>userquery_empty.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGJpbi9lbWVyZ2UKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gYmluL2VtZXJnZQkocmV2aXNpb24gMzQy
NSkKKysrIGJpbi9lbWVyZ2UJKHJldmlzaW9uIDM0MjYpCkBAIC0xMzMsNyArMTMzLDcgQEAKIAkJ
d2hpbGUgVHJ1ZToKIAkJCXJlc3BvbnNlPXJhd19pbnB1dCgiWyIrc3RyaW5nLmpvaW4oW2NvbG91
cnNbaV0ocmVzcG9uc2VzW2ldKSBmb3IgaSBpbiByYW5nZShsZW4ocmVzcG9uc2VzKSldLCIvIikr
Il0gIikKIAkJCWZvciBrZXkgaW4gcmVzcG9uc2VzOgotCQkJCWlmIHJlc3BvbnNlLnVwcGVyKCk9
PWtleVs6bGVuKHJlc3BvbnNlKV0udXBwZXIoKToKKwkJCQlpZiByZXNwb25zZSBhbmQgcmVzcG9u
c2UudXBwZXIoKT09a2V5WzpsZW4ocmVzcG9uc2UpXS51cHBlcigpOgogCQkJCQlyZXR1cm4ga2V5
CiAJCQlwcmludCAiU29ycnksIHJlc3BvbnNlICclcycgbm90IHVuZGVyc3Rvb2QuIiAlIHJlc3Bv
bnNlLAogCWV4Y2VwdCAoRU9GRXJyb3IsIEtleWJvYXJkSW50ZXJydXB0KToK
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87618</attachid>
            <date>2006-05-27 01:56 0000</date>
            <desc>allow empty responses when FEATURES=&quot;defaultyes&quot; is set</desc>
            <filename>userquery_empty_defaultyes.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvbGliL3BvcnRhZ2UvYmluL2VtZXJnZS5vcmlnCTIwMDYtMDUtMjcgMTA6Mjc6NTYu
MDAwMDAwMDAwICswMjAwCisrKyAvdXNyL2xpYi9wb3J0YWdlL2Jpbi9lbWVyZ2UJMjAwNi0wNS0y
NyAxMDozMjo0OS4wMDAwMDAwMDAgKzAyMDAKQEAgLTEzMyw3ICsxMzMsNyBAQAogCQl3aGlsZSBU
cnVlOgogCQkJcmVzcG9uc2U9cmF3X2lucHV0KCJbIitzdHJpbmcuam9pbihbY29sb3Vyc1tpXShy
ZXNwb25zZXNbaV0pIGZvciBpIGluIHJhbmdlKGxlbihyZXNwb25zZXMpKV0sIi8iKSsiXSAiKQog
CQkJZm9yIGtleSBpbiByZXNwb25zZXM6Ci0JCQkJaWYgcmVzcG9uc2UudXBwZXIoKT09a2V5Wzps
ZW4ocmVzcG9uc2UpXS51cHBlcigpOgorCQkJCWlmIChyZXNwb25zZSBvciAiZGVmYXVsdHllcyIg
aW4gcG9ydGFnZS5zZXR0aW5ncy5mZWF0dXJlcykgYW5kIHJlc3BvbnNlLnVwcGVyKCk9PWtleVs6
bGVuKHJlc3BvbnNlKV0udXBwZXIoKToKIAkJCQkJcmV0dXJuIGtleQogCQkJcHJpbnQgIlNvcnJ5
LCByZXNwb25zZSAnJXMnIG5vdCB1bmRlcnN0b29kLiIgJSByZXNwb25zZSwKIAlleGNlcHQgKEVP
RkVycm9yLCBLZXlib2FyZEludGVycnVwdCk6Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87674</attachid>
            <date>2006-05-27 10:35 0000</date>
            <desc>allow empty responses with FEATURES=&quot;defaultyes&quot; (v. 2.1_rc3)</desc>
            <filename>userquery_empty_defaultyes.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGVtZXJnZS5vcmlnCTIwMDYtMDUtMjcgMTk6MTU6MDYuMDAwMDAwMDAwICswMjAwCisrKyBl
bWVyZ2UJMjAwNi0wNS0yNyAxOToxNzowNC4wMDAwMDAwMDAgKzAyMDAKQEAgLTEzMyw3ICsxMzMs
NyBAQAogCQl3aGlsZSBUcnVlOgogCQkJcmVzcG9uc2U9cmF3X2lucHV0KCJbIitzdHJpbmcuam9p
bihbY29sb3Vyc1tpXShyZXNwb25zZXNbaV0pIGZvciBpIGluIHJhbmdlKGxlbihyZXNwb25zZXMp
KV0sIi8iKSsiXSAiKQogCQkJZm9yIGtleSBpbiByZXNwb25zZXM6Ci0JCQkJaWYgcmVzcG9uc2Ug
YW5kIHJlc3BvbnNlLnVwcGVyKCk9PWtleVs6bGVuKHJlc3BvbnNlKV0udXBwZXIoKToKKwkJCQlp
ZiAocmVzcG9uc2Ugb3IgImRlZmF1bHR5ZXMiIGluIHBvcnRhZ2Uuc2V0dGluZ3MuZmVhdHVyZXMp
IGFuZCByZXNwb25zZS51cHBlcigpPT1rZXlbOmxlbihyZXNwb25zZSldLnVwcGVyKCk6CiAJCQkJ
CXJldHVybiBrZXkKIAkJCXByaW50ICJTb3JyeSwgcmVzcG9uc2UgJyVzJyBub3QgdW5kZXJzdG9v
ZC4iICUgcmVzcG9uc2UsCiAJZXhjZXB0IChFT0ZFcnJvciwgS2V5Ym9hcmRJbnRlcnJ1cHQpOgo=
</data>        

          </attachment>
    </bug>

</bugzilla>