Package: nvi
Version: 1.81.6-8.2
Severity: normal

The command "c%" (replace text to matching bracket) inserts new text in
the wrong place if the matching bracket is at the end of a different line.

To reproduce: start nvi with no .exrc.  Insert text "foo{", newline,
"}".  Position cursor on the "{".  Type "c%bar", ESC.  End result
is that the line contains "fobar " instead of the expected "foobar".
During the input of the "bar" text, the display reflects the loss of the
"o", and may also show some phantom character (whose identity varies)
following the spurious space.  The phantom character vanishes upon ESC,
but the space remains.

-zefram


-- 
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