Subject: Re: Problem /usr/bin/vi in NetBSD-current/i386
To: None <kre@munnari.OZ.AU>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: current-users
Date: 10/19/2001 23:30:21
Hi,

       From: Robert Elz <kre@munnari.OZ.AU>
    Subject: Re: Problem /usr/bin/vi in NetBSD-current/i386
      Date : Fri, 19 Oct 2001 20:47:09 +0700
 Message-ID: <6900.1003499229@brandenburg.cs.mu.OZ.AU>

$ Try changing ex/ex_move.c as ...
$ 
$ --- ex/ex_move.c.ORIG	Sat Mar 31 18:37:50 2001
$ +++ ex/ex_move.c	Fri Oct 19 20:40:25 2001
$ @@ -56,7 +56,7 @@
$  	memset(&cb, 0, sizeof(cb));
$  	CIRCLEQ_INIT(&cb.textq);
$  	for (cnt = fm1.lno; cnt <= fm2.lno; ++cnt)
$ -		if (cut_line(sp, cnt, 0, 0, &cb)) {
$ +		if (cut_line(sp, cnt, 0, -1, &cb)) {
$  			rval = 1;
$  			goto err;
$  		}
$ 

It works fine.
Thanks!!
---
 Masanori Kanaoka	kanaoka@ann.hi-ho.ne.jp