Package: aptitude
Version: 0.4.4-1
Severity: wishlist

This is request for etch+1 :-)

"l" or "/" brings out dialogues to input aptitude regular expression.
Honestly, people need help button here instead of having its
documentation embedded deep in the manual which is available only from
the main help pull-down menu.

Also regular expression are best sorted by its types and functions
rather than its alphabetical order.  People read this document trying to
find right regular expressions for what they want to do rather than
deciphering someone else's regular expressions.  The order of
documentation in the current manual is only good as the design
specification of aptitude only.

In light of this, I suggest something along following document is
available from "l" or "/" dialogues.  Can you add [Help] button to them
which displays regular expression quick help as follows with scrollable
screen as manual for etch+1?  I think this is very easy to do

(Of course more complicated regular expression builder will be nice but
that may be too complicated with little benefits.)

(By the way, I have not figured out ~S yet.)

-------x8 snip ( taken from http://wiki.debian.org/DRAptitude)
aptitude regular expression is mutt-like ERE. 
Here are the aptitude specific extensions:

match all packages (true): ~T
match no packages (false): ~F
match essential packages: ~E
match new packages: ~N
match installed packages: ~i
match installed packages (by choice or by other active package) !~v!~g
match installed and A packages (automatically by other package): ~M
match installed and upgradable packages: ~U
match removed but not purged packages: ~c
match removed, purged or can-be-removed packages: ~g
match broken depends/predepends/conflict packages: ~b
match virtual packages: ~v
match origin: ~O{debian,...}
match archive: ~A{sarge,etch,sid}
match priority: ~p{extra,important,optional,required,standard}
match with pending action: ~a{install,upgrade,downgrade,remove,purge,hold,keep}
match with broken relation: 
~B{depends,predepends,recommends,suggests,conflicts,replaces}
match on package section: ~s<regex_section>
match on package name: ~n<regex_name>
match on package version: ~V<regex_version>
match on maintainer: ~M<regex_maintainer>
match on description: ~d<regex_description>
match on debtag: ~G<regex_debtag>
match on task name: ~t<regex_task>
match packages whose control file defines relation <type> to the <term> 
packages: ~D[<type>:]<term>
match packages whose control file defines broken relation <type> to the <term> 
packages: ~DB[<type>:]<term>
match packages to which the <term> packages define relation <type>: 
~R[<type>:]<term>
match packages to which the <term> packages define broken relation <type>: 
~RB[<type>:]<term>
match <term> package with filtered version: ~S filter <term>

Here,
    * relation <type> == 
{depends,predepends,recommends,suggests,conflicts,replaces,provides}
    * the default relation type == depends

Short cuts:
    * ~P<term> == ~Dprovides:<term>
    * ~C<term> == ~Dconflicts:<term>
    * ...~W term == (...|term)

(!) When <regex_pattern> is a null string, place "~T" immediately after the 
command. 
-------x8 snip

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3. 0.6.46.4    Advanced front-end for dpkg
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-20  GCC support library
ii  libncursesw5                 5.5-5       Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a           2.0.17-2    type-safe Signal Framework for C++
ii  libstdc++6                   4.1.1-20    The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.4-1    English manual for aptitude, a ter

-- no debconf information

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <[EMAIL PROTECTED]>  Yokohama Japan, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to