Package: zsh
Version: 4.3.2-25
Severity: normal

In the following demonstration, the first <TAB> keypress inserted the $'\300'
for me. The second <TAB> keypress, typed immediately after the asterisk,
should expand the glob into $'\300' also, but instead it just erases the
asterisk, replacing it with nothing at all. If Return is pressed after the
tab, the cat is executed with no arguments and reads from the tty.

% ls -b
\300
% cat <TAB>$'\300' 
This is the content of a file whose name is a single non-ASCII character
% cat *
This is the content of a file whose name is a single non-ASCII character
% cat *<TAB>

If any files are present whose names are ASCII-only, the glob expands into a
list of those, with the non-ASCII files excluded from the list.

Previous versions of zsh, for example the one in sarge, handle this situation
better. (The $'\300' construct isn't used; instead the non-ASCII character is
passed through as-is to the terminal, which is not ideal but better than
completely refusing to expand certain filenames.)

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.7-1      Perl 5 Compatible Regular Expressi

-- debconf-show failed


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

Reply via email to