From Rcrh@bsdprd1.ais.msu.edu  Fri May 12 17:23:48 1995
Received: from bsdprd1.ais.msu.edu (bsdprd1.ais.msu.edu [35.8.113.20])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA15003
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 May 1995 17:23:46 -0700
Received: (from root@localhost) by bsdprd1.ais.msu.edu (8.6.11/8.6.9) id UAA21393; Fri, 12 May 1995 20:24:08 -0400
Message-Id: <199505130024.UAA21393@bsdprd1.ais.msu.edu>
Date: Fri, 12 May 1995 20:24:08 -0400
From: henrich@crh.cl.msu.edu
Reply-To: henrich@crh.cl.msu.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: VI broken?
X-Send-Pr-Version: 3.2

>Number:         398
>Category:       bin
>Synopsis:       VI doesnt do the correct thing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fenner
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 12 17:30:01 1995
>Closed-Date:    Mon Jan 13 15:43:41 PST 1997
>Last-Modified:  Mon Jan 13 15:44:29 PST 1997
>Originator:     Charles Henrich
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
Michigan State University
>Environment:

        remote xterm (vt102 mode) rloging into a freebsd box, with the term
        type set to vt100-am or vt100

	

>Description:

        When editing the following text (from man.c) if you place your cursor
	on the blank line between the int status and status =, then use the VI
        (o)pen line command, the status = line correctly drops one line, but
	the users cursor is then placed on the same line as the status =. 
	CTRL-L refreshes to the correct location.  Possibly a termcap bug?

char **
add_dir_to_mpath_list (mp, p)
     char **mp;
     char *p;
{
  int status;

  status = is_directory (p);

  if (status < 0)
    {
      fprintf (stderr, "Warning: couldn't stat file %s!\n", p);
    }
  else if (status == 0)
    {
      fprintf (stderr, "Warning: %s isn't a directory!\n", p);
    }
  else if (status == 1)
    {
      if (debug)
	fprintf (stderr, "adding %s to manpathlist\n", p);

      *mp++ = strdup (p);
    }
  return mp;
}
	

>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wosch 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Sun May 26 14:33:06 PDT 1996 
Responsible-Changed-Why:  
last person to brave this area...time to upgrade to a more recent version? 
Responsible-Changed-From-To: wosch->scrappy 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Mon May 27 00:03:46 PDT 1996 
Responsible-Changed-Why:  
I've been corrected...I'll look into it instead 
State-Changed-From-To: open->feedback 
State-Changed-By: fenner 
State-Changed-When: Sat Nov 9 17:54:07 PST 1996 
State-Changed-Why:  
Has the upgrade to nvi-1.79 fixed this problem? 


Responsible-Changed-From-To: scrappy->fenner 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Sat Nov 9 17:54:07 PST 1996 
Responsible-Changed-Why:  
State-Changed-From-To: feedback->closed 
State-Changed-By: scrappy 
State-Changed-When: Mon Jan 13 15:43:41 PST 1997 
State-Changed-Why:  
Originator confirmed closure...reports tha tit works now 
>Unformatted:


