Package: bash
Version: 3.1dfsg-9
Severity: normal

Command line completion (in /etc/bash_completion) for the lvm2 suite of 
tools does not work very well and it would be better to remove it
altogether.

Examples of broken behaviour:
# lvextend --size <tab>

This only allows completion on the words in the list "g  G  k  K  m  M
t  T". However a number must also be entered before the the units and
then the units cannot be completed. This is of such marginal utility
that is should be removed (IMHO).

# lvextend --size +40G <tab>

The completes on the physical volumes, not the logical volumes as it
should. This is because it counts "+40G" as the logical volume (the
first non-option argument) and assumes that a physical volume path is
now needed.

I think there are a number of other situations when the completion
fails. I always seem to have to type a path to the logical volume
without tab completion available. It would be better if it did not try
any specific completion at all.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3-orthanc-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                4.0.3          Debian base system miscellaneous f
ii  debianutils               2.28.4         Miscellaneous utilities specific t
ii  libc6                     2.7-9          GNU C Library: Shared libraries
ii  libncurses5               5.6+20080203-1 Shared libraries for terminal hand

Versions of packages bash recommends:
pn  bash-completion               <none>     (no description available)

-- no debconf information



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

Reply via email to