Package: nvi
Version: 1.81.6-8.2

Nvi sometimes loses some japanese utf-8 chars on the next line
when joining lines with 'J' or ex j commnad.
Please examine with the atttached file.
(NOTE: it contais some japanese utf-8 chars.)
On the other hand, the force mode command "j!" has never lost.

My workaround is attached as a patch.
I guess that isblank() doesn't work.
It might be better to use iswblank() or
a simple code like
((ch) == ' ' || (ch) == '\t').

My environment is as follows:

-----
$ uname -a
Linux yaya 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 GNU/Linux
$ gcc --version
gcc (Debian 4.7.2-5) 4.7.2
.....
$ dpkg --status libc6
Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 8505
Maintainer: GNU Libc Maintainers <debian-gl...@lists.debian.org>
Architecture: i386
Multi-Arch: same
Source: eglibc
Version: 2.13-38+deb7u7
Replaces: libc6-i386
Provides: glibc-2.13-1
Depends: libc-bin (= 2.13-38+deb7u7), libgcc1
Recommends: libc6-i686
Suggests: glibc-doc, debconf | debconf-2.0, locales
Breaks: locales (<< 2.13), locales-all (<< 2.13), nscd (<< 2.13)
Conflicts: prelink (<= 0.0.20090311-1), tzdata (<< 2007k-1), tzdata-etch
Conffiles:
 /etc/ld.so.conf.d/i486-linux-gnu.conf de72af11e0f4e741c2cca3e0e87b7af4
Description: Embedded GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.
Homepage: http://www.eglibc.org
-----

koya
漢字の練習。
もももももそのその漢字の練習

Please issue 'J' command on the first line.

Attachment: patch
Description: Binary data

Reply via email to