Package: vim Version: 1:6.3-058+1 Severity: important When I start vim to edit a file that is already being edited, vim nicely shows me the "swap file already exists" prompt. If I press any "normal" (alphanumeric) key here, everything keeps working fine. However, if I press a cursor key on this screen, vim simple freezes and refuses to reacted to anything (including ^Z and ^C) except an external TERM signal.
My cursor keys return the usual \e[A, \e[B, \e[C, \e[D escape sequences. The problem seems locale-dependent. if I start vim with [EMAIL PROTECTED]/tmp> env -i LC_ALL=C vim test it works fine. If I set LC_ALL to en_US.UTF8 or nl_NL.UTF8 instead of C, the bug returns. With en_US or en_US.ISO-8859-15, the bug doesn't occur either. I've tries this using varying terminals (xterm, aterm, console). An strace of the frozen process shows | select(1, [0], NULL, [0], {0, 100000}) = 0 (Timeout) | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 | select(1, [0], NULL, [0], {0, 100000}) = 0 (Timeout) | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 | select(1, [0], NULL, [0], {0, 100000}) = 0 (Timeout) | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 etc. When I press a key, it says: | select(1, [0], NULL, [0], {0, 100000}) = 0 (Timeout) | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 | select(1, [0], NULL, [0], {0, 100000}) = 1 (in [0], left {0, 17000}) | select(1, [0], NULL, [0], NULL) = 1 (in [0]) | read(0, "q", 4096) = 1 | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 | select(1, [0], NULL, [0], {0, 100000}) = 0 (Timeout) | ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 (which shows vim does actually receives the key I typed) after which it returns to the select/ioctl loop. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.9-ac6 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages vim depends on: ii dpkg 1.10.26 Package maintenance system for Deb ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libgpmg1 1.19.6-19 General Purpose Mouse - shared lib ii libncurses5 5.4-4 Shared libraries for terminal hand ii vim-common 1:6.3-058+1 Vi IMproved - Common files -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]