Your message dated Mon, 21 Dec 2015 14:44:41 +0000
with message-id <[email protected]>
and subject line Re: please consider adding a ctrl-c handler during download 
and installation
has caused the Debian Bug report #259715,
regarding please consider adding a ctrl-c handler during download and 
installation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
259715: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=259715
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.2.15.2-1
Severity: wishlist

Hi,

when I hit ctrl-c during download or package installation, I get
returned to the shell. Please consider adding a ctrl-c handler that
only aborts download and/or package installation and returns to
aptitude.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-zg1-vash
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-5-3 0.5.26       Advanced front-end for dpkg
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-3    GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libsigc++-1.2-5c102         1.2.5-1      Type-safe Signal Framework for C++
ii  libstdc++5                  1:3.3.4-3    The GNU Standard C++ Library v3

-- no debconf information


--- End Message ---
--- Begin Message ---
2004-07-16 11:24 Marc Haber:
Package: aptitude
Version: 0.2.15.2-1
Severity: wishlist

Hi,

when I hit ctrl-c during download or package installation, I get
returned to the shell. Please consider adding a ctrl-c handler that
only aborts download and/or package installation and returns to
aptitude.


2011-12-07 08:35 Daniel Hartwig:
tags 259715 + wontfix
done

Marc Haber <[email protected]> wrote:
when I hit ctrl-c during download or package installation, I get
returned to the shell. Please consider adding a ctrl-c handler that
only aborts download and/or package installation and returns to
aptitude.

Current behaviour of aptitude/0.6.4-1.2:

`C-c' during download => shell
`q' during download => aptitude

Generally a user expects `C-c' to interupt the entire program and as
aptitude already has `q' available to abort a download I don't see
good reason to change this behaviour.

`C-c' during install => (ignored)
`q' during install => (ignored)

During an install aptitude passes control to libapt-pkg which passes
control to dpkg.  Handling SIGINT during this is a bad idea:

(From apt-pkg/deb/dpkgpm.cc:1069)
 /* Mask off sig int/quit. We do this because dpkg also does when
    it forks scripts. What happens is that when you hit ctrl-c it sends
    it to all processes in the group. Since dpkg ignores the signal
    it doesn't die but we do! So we must also ignore it */

Situation unlikely to change so I am marking this `wontfix'.  Please
adjust if anyone disagrees.

I agree with the analysis above, "q" is the main way in aptitude to
cancel "screens" and views, and by now it's quite established.  Ctrl-c
is ignored in some cases, as explained, for good reasons.

More than a decade after the request and 4 years since it was marked as
+wontfix, and the situation didn't change.  So I think that it's better
to close this now rather than continue to gather dust.


Cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to