Re: yum and Ctl-C (was Re: FC6 updates broken deps?

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

 



Am Freitag, den 23.02.2007, 15:24 -0500 schrieb Tony Nelson:
> At 2:28 PM +0100 2/23/07, Piotr Baranowski wrote:
> >Alan Cox wrote(a):
> >> On Fri, Feb 23, 2007 at 10:17:23AM +0100, Ralf Corsepius wrote:
> >>> I disagree - All programs should immediately terminate upon "Ctrl-C".
> >>> Switching to a different mirror should be done by any arbitrary key.
> >>
> >> Someone please fix emacs to terminate immediately on ctrl-C then ;)
> >>
> >> Very large numbers of programs override ^C to be an internal interrupt,
> >> including things like ftp. Others specifically ignore it (try using ssh
> >> without that)
> >
> >I think we can accept such weirdness of some applications.
> >
> >Most people will understand WHY ^c is overriden in ssh for example.
> >
> >For me after 10 years of linux experience it was great mistery why a hell
> >does yum override ^c.
>  ...
> 
> Yum does not override Ctl-Ç.  RPM does.  Look at the RPM source, say
> rpmsq.c.  RPM does not block the signals, but rather saves them and if a
> signal has been caught, terminates with extreme prejudice at the end of
> whatever it was doing.  Thus, signals are not processed immediately and
> always terminate RPM's operation.
> 
> Not to start any wars here, but I wrote a yum plugin for FC5 (and just
> updated it for FC6, laziness on my part) that provides, among other things,
> sane Ctl-C handling (during downloading) in a way I believe safe for RPM.
> <http://georgeanelson.com/stablemirror.htm>
> -- 
> ____________________________________________________________________
> TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
>       '                              <http://www.georgeanelson.com/>
> 

Err.. wasn't this fixed recently, so that ^C exits rather than switches
mirror?


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux