On Thu, 2006-08-31 at 07:48 -0400, seth vidal wrote:
On Thu, 2006-08-31 at 12:45 +0300, Gilboa Davara wrote:
> Hello all,
>
> This bug has been originally reported against yum/FC3 by Rahul Sundaram
> and continues to thrive...
> In essence, once yum begins to download files, it misinterprets Ctrl-C
> as "Mirror switch" instead of "Cancel", leaving the user no
direct way
> to halt yum.
This has been considered a feature by a fair number of users.
I don't doubt it.
Buy why use Ctrl-C?
It's like using the "X" button on a gnome WM decoration to maximize the
Window. It simpley makes no sense.
> (I usually suspend yum [Ctrl-Z] and then kill it using "killall -9 yum"
> which is -far- from being an ideal solution).
Outside of downloading files you should be able to cancel yum at any
time in recent cvs pulls.
At least on slow(er) links, Download is the longest running task.
> Any chance of getting this fixed before FC6?
I'm not sure we'll ever be fixing the mirror skip thing or not.
A couple of possible solutions spring in mind.
A. Enable Ctrl-\ (SIGABRT) kill yum.
B. If you hit Ctrl-C twice, kill yum.
And my favorite:
C. Move mirror switch to a different keyboard combination (Ctrl-M?) and
return Ctrl-C to its default behavior - graceful shutdown.
Gilboa