Your message dated Wed, 31 Dec 2008 17:28:50 +0100
with message-id <[email protected]>
and subject line bug triage
has caused the Debian Bug report #383737,
regarding /etc/zsh/zshrc terminfo settings mispositions the cursor on
vi-up-line-or-history
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
383737: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383737
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zsh
Version: 4.3.2-14
Severity: normal
I use bindkey -v. When I use the terminfo lines that come in
/etc/zsh/zshrc, pressing the up cursor key causes me to cycle backwards
in the history (as expected), but puts the cursor in the first column.
Commenting out the lines inside the if != emacs block fixes the problem.
Also, the emacs key binding mode is not affected.
My /etc/zsh/zshrc is below.
# /etc/zsh/zshrc: system-wide .zshrc file for zsh(1).
#
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#
# Global Order: zshenv, zprofile, zshrc, zlogin
READNULLCMD=${PAGER:-/usr/bin/pager}
if [[ "$TERM" != emacs ]]; then
[[ -z "$terminfo[kdch1]" ]] || bindkey -M emacs "$terminfo[kdch1]" delete-char
[[ -z "$terminfo[khome]" ]] || bindkey -M emacs "$terminfo[khome]"
beginning-of-line
[[ -z "$terminfo[kend]" ]] || bindkey -M emacs "$terminfo[kend]" end-of-line
[[ -z "$terminfo[kich1]" ]] || bindkey -M emacs "$terminfo[kich1]"
overwrite-mode
[[ -z "$terminfo[kdch1]" ]] || bindkey -M vicmd "$terminfo[kdch1]"
vi-delete-char
[[ -z "$terminfo[khome]" ]] || bindkey -M vicmd "$terminfo[khome]"
vi-beginning-of-line
[[ -z "$terminfo[kend]" ]] || bindkey -M vicmd "$terminfo[kend]"
vi-end-of-line
[[ -z "$terminfo[kich1]" ]] || bindkey -M vicmd "$terminfo[kich1]"
overwrite-mode
[[ -z "$terminfo[cuu1]" ]] || bindkey -M viins "$terminfo[cuu1]"
vi-up-line-or-history
[[ -z "$terminfo[cuf1]" ]] || bindkey -M viins "$terminfo[cuf1]"
vi-forward-char
[[ -z "$terminfo[kcuu1]" ]] || bindkey -M viins "$terminfo[kcuu1]"
vi-up-line-or-history
[[ -z "$terminfo[kcud1]" ]] || bindkey -M viins "$terminfo[kcud1]"
vi-down-line-or-history
[[ -z "$terminfo[kcuf1]" ]] || bindkey -M viins "$terminfo[kcuf1]"
vi-forward-char
[[ -z "$terminfo[kcub1]" ]] || bindkey -M viins "$terminfo[kcub1]"
vi-backward-char
# ncurses fogyatekos
[[ "$terminfo[kcuu1]" == " O"* ]] && bindkey -M viins "${terminfo[kcuu1]/O/[}"
vi-up-line-or-history
[[ "$terminfo[kcud1]" == " O"* ]] && bindkey -M viins "${terminfo[kcud1]/O/[}"
vi-down-line-or-history
[[ "$terminfo[kcuf1]" == " O"* ]] && bindkey -M viins "${terminfo[kcuf1]/O/[}"
vi-forward-char
[[ "$terminfo[kcub1]" == " O"* ]] && bindkey -M viins "${terminfo[kcub1]/O/[}"
vi-backward-char
[[ "$terminfo[khome]" == " O"* ]] && bindkey -M viins "${terminfo[khome]/O/[}"
beginning-of-line
[[ "$terminfo[kend]" == " O"* ]] && bindkey -M viins "${terminfo[kend]/O/[}"
end-of-line
[[ "$terminfo[khome]" == " O"* ]] && bindkey -M emacs "${terminfo[khome]/O/[}"
beginning-of-line
[[ "$terminfo[kend]" == " O"* ]] && bindkey -M emacs "${terminfo[kend]/O/[}"
end-of-line
fi
zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \
/usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin
unalias run-help
autoload run-help
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages zsh depends on:
ii debconf [debconf-2.0] 1.5.3 Debian configuration management
sy
ii libc6 2.3.6-18 GNU C Library: Shared libraries
ii libncurses5 5.5-2 Shared libraries for terminal
hand
Versions of packages zsh recommends:
ii libcap1 1:1.10-14 support for getting/setting
POSIX.
ii libpcre3 6.4-2 Perl 5 Compatible Regular
Expressi
-- no debconf information
--- End Message ---
--- Begin Message ---
closed wontfix by clint
--- End Message ---