[Yum] suggestion: CTRL-C should immediately stop yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 12 Sep 2006, Garrick Staples wrote:

> On Tue, Sep 12, 2006 at 09:11:37PM -0400, Konstantin Ryabitsev alleged:
>> On 9/12/06, Menno Smits <menno-yum@xxxxxxxxxxxx> wrote:
>>> In the new version, CTRL-C once during downloads causes a mirror switch;
>>> twice in quick succession causes termination. A single CTRL-C at other
>>> times should just quit as normal.
>>
>> Though I understand the reasons behind this, I don't think this is
>> good behaviour, since it differs substantially from the expected
>> behaviour of other CLI interfaces. In the user's mind, Ctrl-C means
>> "please quit," not "please switch mirrors, this is taking too long."
>
> How about it just prints a message, "Trying next mirror... ctrl-c twice
> to exit"?

Or how about trapping Esc or better yet, tab to try next mirror.  I
agree that Ctrl-C should kill, and it really needs to die as gracefully
as possible.  If it prints any message, it should be something like
"Complete current download Y/N?" and it should clean up any partial
downloads either way.

   rgb

>
>

-- 
Robert G. Brown	                       http://www.phy.duke.edu/~rgb/
Duke University Dept. of Physics, Box 90305
Durham, N.C. 27708-0305
Phone: 1-919-660-2567  Fax: 919-660-2525     email:rgb@xxxxxxxxxxxx



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux