Package: nvi
Version: 1.81.6-8.1
Severity: normal

When nvi is built with debian patch 27support_C_locale.dpatch included, the
command history doesn't work: 
:set cedit=^P
:%s/a/a
:^P
shows 
:^@^@^@s^@^@^@e^@^@^@t^@^@^@^@^@^@c^@^@^@e^@^@^@d^@^@^@i^@^@^@t^@^@^@=^@^@^@^P^@^@^@
:^@^@^@%^@^@^@s^@^@^@/^@^@^@a^@^@^@/^@^@^@a^@^@^@

instead of 
:set cedit=^P
:%s/a/a

The patch reads 
## 27support_C_locale.dpatch by  <he...@pool.math.tu-berlin.de>
##
## DP: Allow users to edit 8-bit files even under LC_CTYPE=C.

Don't know exactly what its purpose was (I believe there are other ways to
edit 8-bit characters in nvi, in the C locale), but it's harmful.  Please
remove it.

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvi depends on:
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libdb4.7                  4.7.25-9       Berkeley v4.7 Database Libraries [
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand

Versions of packages nvi recommends:
ii  nvi-doc                       1.81.6-8.1 4.4BSD re-implementation of vi - d

nvi suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to