[Aptitude-devel] Bug#697855: aptitude: Tab-completion for fieldnames when sorting the package list

Axel Beckert abe at debian.org
Thu Jan 10 14:05:50 UTC 2013


Package: aptitude
Version: 0.6.8.2-1
Severity: wishlist

Hi,

when sorting the package list (especially the flat package list) in
aptitude's TUI, you press Shift-S and then enter one of the following
four fields:

* installsize
* name
* priority
* version

More fields to sort by are requested:

* disk usage change (#676075)
* number of reverse dependencies (#233319)

Despite the first letter of the (currently implemented) fields would be
unambiguous, you still have to type the whole field name.

It would be cool to have some kind of tab-completion there. Currently
pressing tab switches the focus back from the input field to the package
list, which may be consequent, but is not very practical in that
situation.

Another option would be to accept any unambiguous substring of the valid
field names, e.g. "i" for "installsize". Currently this gives the
following error message: "E: Invalid sorting policy type 'i'"

-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20130110/37604911/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (900, 'testing'), (600, 'stable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.7-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  aptitude-common           0.6.8.2-1
ii  libapt-pkg4.12            0.9.7.7
ii  libboost-iostreams1.49.0  1.49.0-3.1
ii  libc6                     2.13-38
ii  libcwidget3               0.5.16-3.4
ii  libept1.4.12              1.0.9
ii  libgcc1                   1:4.7.2-5
ii  libncursesw5              5.9-10
ii  libsigc++-2.0-0c2a        2.2.10-0.2
ii  libsqlite3-0              3.7.15.1-1
ii  libstdc++6                4.7.2-5
ii  libtinfo5                 5.9-10
ii  libxapian22               1.2.12-2
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages aptitude recommends:
pn  apt-xapian-index                <none>
pn  aptitude-doc-en | aptitude-doc  <none>
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.7

Versions of packages aptitude suggests:
pn  debtags  <none>
pn  tasksel  <none>

-- no debconf information


More information about the Aptitude-devel mailing list