Package: zsh
Version: 4.2.5-7
Severity: normal

Something is obviously wrong:

doubleeagle:~> bindkey | grep ' delete-char'
"^D" delete-char
"^[[3~" delete-char
doubleeagle:~> bindkey -M emacs "$terminfo[kdch1]" delete-char
doubleeagle:~> bindkey | grep ' delete-char'
"^D" delete-char
"^[[3~" delete-char
"^?" delete-char
doubleeagle:~> infocmp | grep kdch1
        kdch1=\E[3~, kend=\E[4~, kf1=\E[11~, kf10=\E[21~,
doubleeagle:~> printf "%s" "$terminfo[kdch1]" | od -txC
0000000 7f
0000001

As /etc/zsh/zshrc contains:

[[ -z "$terminfo[kdch1]" ]] || bindkey -M emacs "$terminfo[kdch1]" delete-char

and the BackSpace key corresponds to ^? here, this key doesn't work
as expected in zle.

Note: the stty settings are correct (erase = ^?).

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-11-amd64-k8-smp
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)

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

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR:fr:en_GB:en",
        LC_ALL = (unset),
        LC_COLLATE = "POSIX",
        LC_CTYPE = "en_US.ISO8859-1",
        LANG = "POSIX"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


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

Reply via email to