Subject: bin/10367: nvi bug
To: None <>
From: Mason Loring Bliss <>
List: netbsd-bugs
Date: 06/14/2000 12:05:35
>Number:         10367
>Category:       bin
>Synopsis:       nvi dw acts weirdly near end of file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 14 12:06:01 PDT 2000
>Originator:     Mason Loring Bliss
>Release:        2000.06.08
System: NetBSD 1.4ZB NetBSD 1.4ZB (MLB) #18: Thu Jun 8 14:36:35 EDT 2000 i386


nvi "dw" command eats the entirety of a multi-word line in some cases.
Observed under NetBSD 1.3.3 and 1.4.2 on i386, and NetBSD 1.4ZB under i386,
pmax, and sparc.


Edit a file with (n)vi. Have multiple words on the last line, and no
trailing carriage return. Have blank line prior to that line. Move the
cursor to the blank line which is the second-to-the-last line of the
file. Type "dw" to delete the next word, and note that the entirety of
the last line disappears.


As yet unknown.