Package: nvi Version: 1.81.6-4 Severity: normal
The expansion of numbered backups is incorrect. The actual expansion that nvi produces is somewhat random. I get the weirdest results when editing from the linux console, logged in as root. The expansion of numbered backups used to work correctly with nvi 1.79 version. Here is a typescript that reproduces the this bug, # echo hi >xx # grep backup .nvirc " backup - create versioned backup `file.~N' before each write. set backup=N%..~ # nvi xx # ls -l xx* -rw-r--r-- 1 root root 9 Jun 26 14:00 xx -rw------- 1 root root 3 Jun 26 14:00 xxx.~1 note that in the above example, the ".." is expanded by nvi to ".", so that in this case I have discovered a workaround. However, sometimes the "..~" gets expanded to "tmp" or "etc", possibly related to the pathname of the file being edited, ie, the expansion of "%". Thanks, Jeffrey Sheinberg -- System Information: Debian Release: 5.0.2 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable') Architecture: i386 (i586) Kernel: Linux 2.6.26-2-486 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.7-18 GNU C Library: Shared libraries ii libdb4.2 4.2.52+dfsg-5 Berkeley v4.2 Database Libraries [ ii libncursesw5 5.7+20081213-1 shared libraries for terminal hand Versions of packages nvi recommends: ii nvi-doc 1.81.6-4 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