Subject: bin/10367: nvi bug
To: None <gnats-bugs@gnats.netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
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
>Closed-Date:
>Last-Modified:
>Originator:     Mason Loring Bliss
>Release:        2000.06.08
>Organization:
	
>Environment:
	
System: NetBSD acheron.middleboro.ma.us 1.4ZB NetBSD 1.4ZB (MLB) #18: Thu Jun 8 14:36:35 EDT 2000 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

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.

>How-To-Repeat:

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.

>Fix:

As yet unknown.

>Release-Note:
>Audit-Trail:
>Unformatted: