[Yum-devel] ctrl-c not working nicely

Michael Jennings mej at caosity.org
Sun Nov 14 17:54:57 UTC 2004


On Sunday, 14 November 2004, at 12:44:06 (-0500),
seth vidal wrote:

> Hi guys,
>  Any ideas about:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139254
> 
> I wish there was another way we could implement a 'abort this mirror and
> try the next one' w/o disabling ctrl-c.
> 
> thoughts?

Ctrl-C (SIGINT) handler that does this:
  If no mirrors in list, abort
  If less than 1 second since last Ctrl-C, abort
  Otherwise, try next mirror

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej at kainx.org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Don't you see what Watley is after?  Total joke-telling immunity!
  He's already got the big two religions covered.  If he ever gets
  Polish citizenship, there'll be no stopping him!"  -- Jerry Seinfeld



More information about the Yum-devel mailing list