Package: zsh
Version: 4.2.4-2
Severity: wishlist

Note: this is a linux-only wishlist; I hope this wouldn't be a problem
for upstream.

It is well-known that the Linux kernel has a limitation on the length
of the command line. A solution is to use xargs or zargs (probably
better with zsh), but when typing interactive commands in particular,
this is annoying.

So, what I wish, is:
  * a configurable command-based trap mechanism when the command line
    is too long;
  * default fallbacks distributed with the zsh package.

Here's an example: I type "rm **/*.foo". If the command line is not too
long, the rm command is executed as expected. Otherwise, an alternate
rm command (something like a builtin) is executed, using zargs. This
alternate command should be able to cope with the various rm options,
special filenames (e.g. starting with a '-') and error handling to hide
the unwanted side effects of the rm wrapper.

Ditto for the other common commands (mv, cp, etc.).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages zsh depends on:
ii  debconf                    1.4.30.11     Debian configuration management sy
ii  libc6                      2.3.2.ds1-20  GNU C Library: Shared libraries an
ii  libncurses5                5.4-4         Shared libraries for terminal hand
ii  passwd                     1:4.0.3-30.10 change and administer password and

-- debconf information:
* zsh/rcmove:


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

Reply via email to